Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4844

Troubleshooting • apt upgrade failing

$
0
0

Code:

~ $ sudo apt upgradeReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneYou might want to run 'apt --fix-broken install' to correct these.The following packages have unmet dependencies: libpam-systemd : Depends: systemd (= 252.31-1~deb12u1+rpi1) but 252.30-1~deb12u2+rpi1 is installed systemd : Depends: libsystemd-shared (= 252.30-1~deb12u2+rpi1) but 252.31-1~deb12u1+rpi1 is installed           Depends: libsystemd0 (= 252.30-1~deb12u2+rpi1)E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).~ $ sudo apt --fix-broken installReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneCorrecting dependencies... DoneThe following additional packages will be installed:  libudev1 systemd udevSuggested packages:  systemd-container systemd-homed systemd-userdbd systemd-boot systemd-resolved libqrencode4 libtss2-esys-3.0.2-0  libtss2-mu0 libtss2-rc0The following packages will be upgraded:  libudev1 systemd udev3 upgraded, 0 newly installed, 0 to remove and 37 not upgraded.10 not fully installed or removed.Need to get 0 B/4,624 kB of archives.After this operation, 9,216 B of additional disk space will be used.Do you want to continue? [Y/n] yReading changelogs... Done(Reading database ... 88899 files and directories currently installed.)Preparing to unpack .../systemd_252.31-1~deb12u1+rpi1_armhf.deb ...Unpacking systemd (252.31-1~deb12u1+rpi1) over (252.30-1~deb12u2+rpi1) ...dpkg: error processing archive /var/cache/apt/archives/systemd_252.31-1~deb12u1+rpi1_armhf.deb (--unpack): unable to stat './usr/share/locale/ca/LC_MESSAGES/systemd.mo' (which was about to be installed): Input/output errorErrors were encountered while processing: /var/cache/apt/archives/systemd_252.31-1~deb12u1+rpi1_armhf.debE: Sub-process /usr/bin/dpkg returned an error code (1)~ $ ls -lh /var/cache/apt/archives/systemd*-rw-r--r-- 1 root root 2.8M Nov 13 08:15 /var/cache/apt/archives/systemd_252.31-1~deb12u1+rpi1_armhf.deb-rw-r--r-- 1 root root  42K Nov 13 08:15 /var/cache/apt/archives/systemd-sysv_252.31-1~deb12u1+rpi1_armhf.deb-rw-r--r-- 1 root root  63K Nov 13 08:15 /var/cache/apt/archives/systemd-timesyncd_252.31-1~deb12u1+rpi1_armhf.deb~ $ uname -aLinux boiler 6.6.51+rpt-rpi-v6 #1 Raspbian 1:6.6.51-1+rpt3 (2024-10-08) armv6l GNU/Linux~ $
Options:
* Wipe SD and re-install from scratch
* ?

Statistics: Posted by rwb — Mon Nov 18, 2024 9:21 am



Viewing all articles
Browse latest Browse all 4844

Trending Articles