0

I accidentally did apt-get remove python3. I tried sudo apt-get install ubuntu-desktop but it shows

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

Whatever solution i try it says the above error. Please someone help me.

EDIT I tried sudo -i python3-aptdaemon.deb.But it is showing

    /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

Whenever I try to install any .deb file it says

python3-all depends on python3 (= 3.5.1-3); however:
  Package python3 is not configured yet.

1 Answers1

0

Correction: apt-get does not require python, so you should be able to reinstall normally:

sudo apt-get install python3
sudo apt-get install python3-aptdaemon

apt dependencies:

Depends: 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 dependencies:

Depends: 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 Filename: pool/main/a/aptdaemon/python3-aptdaemon_1.1.1+bzr982-0ubuntu21_all.deb