Skip to content
View in the app

A better way to browse. Learn more.

Learn more

It appears you may have corrupt packages. dpkg: unrecoverable fatal error, aborting:

Featured Replies

I have a problem on 2 rock-5b boards with emmc drives.

on both I am unable to update the distro immediately after the first boot.

 

On the firs SBC upon doing an apt upgrade I get:

Setting up perl-base (5.36.0-7+deb12u1) ...
(Reading database ... 27044 files and directories currently installed.)
Preparing to unpack .../0-perl-modules-5.36_5.36.0-7+deb12u1_all.deb ...
Unpacking perl-modules-5.36 (5.36.0-7+deb12u1) over (5.36.0-7) ...
dpkg: unrecoverable fatal error, aborting:
 unable to fsync updated status of 'perl-modules-5.36': Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - pkgDPkgPM::Go (30: Read-only file system)
E: Problem executing scripts DPkg::Post-Invoke '/usr/lib/armbian/armbian-apt-updates'
E: Sub-process returned an error code

 

 

On the second I just tried sudo armbianmonitor -v:

Starting package integrity check. This might take some time. Be patient please...

It appears you may have corrupt packages.

This is usually a symptom of filesystem corruption caused by SD cards or eMMC
dying or burning the OS image to the installation media went wrong.

The following changes from packaged state files were detected:

/usr/bin/tzselect
/usr/lib/chromium-browser/master_preferences.dpkg-dist
/usr/share/doc/base-files/changelog.gz

This is immediately after first boot and changing the root password.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.