Ubuntu软件更新的时候报错
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libpam-systemd : Depends: systemd (= 229-4ubuntu21.22) but 229-4ubuntu21.4 is installed
systemd : Depends: libsystemd0 (= 229-4ubuntu21.4) but 229-4ubuntu21.22 is installed
解决方法:
1 可通过删除systemd-sysv来解决
dpkg --force-all -P systemd-sysv
--force-all 选项用于忽略依赖
2 pt-get -f install
3 apt-get update
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)