Public bug reported: Hi Guys,
I found a mistake in my ubuntu, it is a "bash on windows" system. I try to upgrade my system today, but command failed,the log remind user "dpkg: error processing archive /var/cache/apt/archives/systemd_229-4ubuntu21_amd64.deb". Please check log as below. ~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.3 LTS Release: 16.04 Codename: xenial zran@DESKTOP-R0JSJ8R:~$ apt-fast upgrade Working... this may take a while. E: Unmet dependencies. Try using -f. No files to download. Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: libpam-systemd : Depends: systemd (= 229-4ubuntu21) but 229-4ubuntu20 is installed systemd : Depends: libsystemd0 (= 229-4ubuntu20) but 229-4ubuntu21 is installed E: Unmet dependencies. Try using -f. zran@DESKTOP-R0JSJ8R:~$ apt-fast upgrade -f Working... this may take a while. No files to download. Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: libisl10 snap-confine Use 'sudo apt autoremove' to remove them. The following packages have been kept back: aria2 The following packages will be upgraded: iproute2 libudev1 linux-libc-dev lshw mdadm python3-distupgrade python3-update-manager systemd ubuntu-release-upgrader-core udev update-manager-core 11 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1 not fully installed or removed. Need to get 0 B/6818 kB of archives. After this operation, 9216 B of additional disk space will be used. Do you want to continue? [Y/n] y Preconfiguring packages ... (Reading database ... 41997 files and directories currently installed.) Preparing to unpack .../systemd_229-4ubuntu21_amd64.deb ... Unpacking systemd (229-4ubuntu21) over (229-4ubuntu20) ... dpkg: error processing archive /var/cache/apt/archives/systemd_229-4ubuntu21_amd64.deb (--unpack): unable to stat './usr/share/lintian/overrides/systemd' (which I was about to install): Invalid argument dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) addgroup: The group `systemd-journal' already exists as a system group. Exiting. Operation failed: No such file or directory Processing triggers for man-db (2.7.5-1) ... Processing triggers for dbus (1.10.6-1ubuntu3.3) ... Errors were encountered while processing: /var/cache/apt/archives/systemd_229-4ubuntu21_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) ** Affects: click (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1730182 Title: dpkg: error processing archive /var/cache/apt/archives/systemd_229-4ubuntu21_amd64.deb To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/click/+bug/1730182/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs