我不小心删除了 apt-get python3。我试过 sudo apt-get install ubuntu-desktop
,但它显示
The following packages have unmet dependencies:
aptdaemon : Depends: python3-aptdaemon (= 1.1.1+bzr982-0ubuntu14.1) but 1.1.1+bzr982-0ubuntu14 is to be installed
无论我尝试什么解决方案,它都会显示上述错误。请有人帮帮我。
编辑
我试过了sudo -i python3-aptdaemon.deb
,但是它显示
/var/lib/dpkg/tmp.ci/prerm: 6: /var/lib/dpkg/tmp.ci/prerm: py3clean:
Too many levels of symbolic links dpkg: error processing archive
./python3-aptdaemon.gtk3widgets_1.1.1+bzr982-0ubuntu14_all.deb (-install): subprocess new pre-removal script returned error exit status 2
/var/lib/dpkg/info/python3-aptdaemon.gtk3widgets.postinst: 6:
/var/lib/dpkg/info/python3-aptdaemon.gtk3widgets.postinst: py3compile: Too
many levels of symbolic links
每当我尝试安装任何 .deb 文件时,它都会说
python3-all depends on python3 (= 3.5.1-3); however:
Package python3 is not configured yet.
答案1
更正:apt-get 不需要 python,因此您应该能够正常重新安装:
sudo apt-get install python3
sudo apt-get install python3-aptdaemon
适当的依赖:
依赖:adduser、gpgv | gpgv2 | gpgv1、ubuntu-keyring、libapt-pkg5.0(>= 1.7.0~alpha3~)、libc6(>= 2.15)、libgcc1(>= 1:3.0)、libgnutls30(>= 3.6.5)、libseccomp2(>= 1.0.1)、libstdc++6(>= 5.2)
python3-aptdaemon 依赖项:
依赖:python3:any(>= 3.2~)、aptdaemon、gir1.2-glib-2.0、gir1.2-packagekitglib-1.0(>= 1.1.1)、python3-apt(>= 0.8.5~ubuntu1)、python3-defer(>= 1.0.6)、python3-dbus、python3-gi、python3-pkg-resources、iso-codes 文件名:pool/main/a/aptdaemon/python3-aptdaemon_1.1.1+bzr982-0ubuntu21_all.deb