dpkg: error processing archive /var/cache/apt/archives/systemd_229-4ubuntu21_amd64.deb
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
click (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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/
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-
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-
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-
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_
Unpacking systemd (229-4ubuntu21) over (229-4ubuntu20) ...
dpkg: error processing archive /var/cache/
unable to stat './usr/
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/
E: Sub-process /usr/bin/dpkg returned an error code (1)
no one repeat?