Failed upgrade from 14.04 to 16.04. Succesful Chroot Broken apt-get

Asked by neuroStuff

Hi,

I recently attempted to upgrade the Ubuntu LTS distribution from 14.04 to 16.04. However the upgrade failed, (although from all external signs I thought I had succeeded). I can chroot into the file system after using an Ubuntu live USB and mounting the appropriate sda device. However I can't successfully fix apt-get such that I can complete the upgrade.

I found an appropriate list of commands to execute a post-mortem analysis of apt-get from
https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure

And I will paste the terminal output here.

I appreciate any help. Also a fresh install is undesirable in my circumstances, although I don't care particularly about retaining any of the old software. I am happy to reinstall texlive etc.

Actually the python errors that output from the command ubuntu-support-status are the last things that were printed during my failed upgrade log in session.

Additionally. To get more informative error messages I may have to complete additional steps, perhaps simply chrooting into the old system is not sufficient to get access to all of its directories etc.

Thanks again.
Russell

root@ubuntu:/# ubuntu-support-status
Traceback (most recent call last):
  File "/usr/bin/ubuntu-support-status", line 5, in <module>
    import apt
  File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
    import apt_pkg
ImportError: No module named 'apt_pkg'
root@ubuntu:/#
root@ubuntu:/# cat /etc/dpkg/dpkg.cfg.d/multiarch
cat: /etc/dpkg/dpkg.cfg.d/multiarch: No such file or directory
root@ubuntu:/#
root@ubuntu:/# dpkg --print-foreign-architectures
i386
root@ubuntu:/#
root@ubuntu:/# sudo grep -R proxy /etc/apt/*
sudo: unable to resolve host ubuntu
root@ubuntu:/#
root@ubuntu:/# grep proxy /etc/environment
root@ubuntu:/#
root@ubuntu:/# echo $http_proxy

root@ubuntu:/#
root@ubuntu:/# echo $ftp_proxy

root@ubuntu:/#
root@ubuntu:/# grep proxy /etc/bash.bashrc
root@ubuntu:/#
root@ubuntu:/# grep proxy ~/.bashrc
grep: /home/ubuntu/.bashrc: No such file or directory
root@ubuntu:/#
root@ubuntu:/# cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
root@ubuntu:/#
root@ubuntu:/# sudo fuser -vvv /var/lib/dpkg/lock
sudo: unable to resolve host ubuntu
Cannot open /proc/net/unix: No such file or directory
Cannot open /proc/mounts
root@ubuntu:/#
root@ubuntu:/# sudo fuser -vvv /var/cache/apt/archives/lock
sudo: unable to resolve host ubuntu
Cannot open /proc/net/unix: No such file or directory
Cannot open /proc/mounts
root@ubuntu:/#
root@ubuntu:/# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"
root@ubuntu:/#
root@ubuntu:/# uname -a
Linux ubuntu 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
root@ubuntu:/#
root@ubuntu:/# sudo rm /var/lib/apt/lists/lock
sudo: unable to resolve host ubuntu
root@ubuntu:/#
root@ubuntu:/# sudo rm /var/cache/apt/archives/lock
sudo: unable to resolve host ubuntu
root@ubuntu:/#
root@ubuntu:/# sudo rm /var/lib/dpkg/lock
sudo: unable to resolve host ubuntu
root@ubuntu:/#
root@ubuntu:/# sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo: unable to resolve host ubuntu
root@ubuntu:/#
root@ubuntu:/# sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
sudo: unable to resolve host ubuntu
root@ubuntu:/#
root@ubuntu:/# sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
sudo: unable to resolve host ubuntu
root@ubuntu:/#
root@ubuntu:/# sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
sudo: unable to resolve host ubuntu
root@ubuntu:/#
root@ubuntu:/# sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sudo: unable to resolve host ubuntu
root@ubuntu:/#
root@ubuntu:/# sudo rm -rf /var/lib/dpkg/updates/*
sudo: unable to resolve host ubuntu
root@ubuntu:/#
root@ubuntu:/# sudo rm -rf /var/lib/apt/lists
sudo: unable to resolve host ubuntu
root@ubuntu:/#
root@ubuntu:/# sudo rm /var/cache/apt/*.bin
sudo: unable to resolve host ubuntu
root@ubuntu:/#
root@ubuntu:/# sudo mkdir /var/lib/apt/lists
sudo: unable to resolve host ubuntu
root@ubuntu:/#
root@ubuntu:/# sudo mkdir /var/lib/apt/lists/partial
sudo: unable to resolve host ubuntu
root@ubuntu:/#
root@ubuntu:/# LANG=C;sudo apt-get clean
sudo: unable to resolve host ubuntu
root@ubuntu:/#
root@ubuntu:/# LANG=C;sudo apt-get autoclean
sudo: unable to resolve host ubuntu
Reading package lists... Done
Building dependency tree
Reading state information... Done
root@ubuntu:/#
root@ubuntu:/# sudo dpkg --configure -a
sudo: unable to resolve host ubuntu
Setting up tex-common (4.04) ...
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^(.*?)(\\)?\${ <-- HERE ([^{}]+)}(.*)$/ at /usr/share/perl5/Debconf/Question.pm line 72.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^}]+)}/ at /usr/share/perl5/Debconf/Config.pm line 30.
Running mktexlsr. This may take some time... done.
Running mtxrun --generate. This may take some time...
mtxrun --generate failed. Output has been stored in
/tmp/mtxrun.dGFjmGv1
Please include this file if you report a bug.

dpkg: error processing package tex-common (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 tex-common
root@ubuntu:/#
root@ubuntu:/# sudo dpkg --clear-avail
sudo: unable to resolve host ubuntu
root@ubuntu:/#
root@ubuntu:/# LANG=C;sudo apt-get -f install
sudo: unable to resolve host ubuntu
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
 accountsservice : Depends: libaccountsservice0 (= 0.6.35-0ubuntu7.2) but 0.6.40-2ubuntu11.1 is installed
 appmenu-qt5 : Depends: qtbase-abi-5-2-1 but it is not installable
 cheese : Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 context : Depends: luatex (>= 0.76) but it is not installable
           Recommends: fonts-freefont but it is not installable
 deja-dup : Depends: libgnome-control-center1 (>= 1:3.3.5) but it is not installable
 empathy : Depends: libcogl15 (>= 1.15.8) but it is not installable
           Recommends: gnome-contacts but it is not installable
 evolution-data-server-online-accounts : Depends: evolution-data-server-common (= 3.10.4-0ubuntu1.5) but 3.18.5-1ubuntu1 is installed
 gdm : Depends: libgdm1 (= 3.10.0.1-0ubuntu3.2) but 3.18.3-0ubuntu2 is installed
       Depends: gir1.2-gdm-1.0 (= 3.10.0.1-0ubuntu3.2) but 3.18.3-0ubuntu2 is installed
 gir1.2-cogl-1.0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 gir1.2-freedesktop : Depends: gir1.2-glib-2.0 (= 1.40.0-1ubuntu0.2) but 1.46.0-3ubuntu1 is installed
 gnome-bluetooth : Depends: gir1.2-gnomebluetooth-1.0 (= 3.8.2.1-0ubuntu4.2) but 3.18.2-1ubuntu2 is installed
 gnome-themes-standard : Depends: gnome-themes-standard-data (= 3.10.0-1ubuntu2) but 3.18.0-2ubuntu1 is installed
 gstreamer1.0-clutter : Depends: libcogl15 (>= 1.15.8) but it is not installable
 indicator-datetime : Depends: libical1 (>= 1.0) but it is not installable
 libalgorithm-diff-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 libapparmor-perl : Depends: perlapi-5.18.2 but it is not installable
 libapt-pkg-perl : Depends: perlapi-5.18.1 but it is not installable
 libarchive13 : Depends: libnettle4 (>= 2.3) but it is not installable
 libc-dev-bin : Depends: libc6 (< 2.20) but 2.23-0ubuntu3 is installed
 libc6-dbg : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libc6-dev : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libc6-i386 : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libcairo-perl : Depends: perlapi-5.18.1 but it is not installable
 libcheese-gtk23 : Depends: libcogl15 (>= 1.15.8) but it is not installable
                   Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 libcheese7 : Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 libclone-perl : Depends: perlapi-5.18.1 but it is not installable
 libclutter-gst-2.0-0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libclutter-gtk-1.0-0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libcogl-pango15 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libcommon-sense-perl : Depends: perl (< 5.18.3~) but 5.22.1-9 is installed
 libcupscgi1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsimage2 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsmime1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsppdc1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libdatetime-perl : Depends: perlapi-5.18.1 but it is not installable
 libecal-1.2-16 : Depends: libical1 (>= 1.0) but it is not installable
 libedata-cal-1.2-23 : Depends: libical1 (>= 1.0) but it is not installable
 libfile-fcntllock-perl : Depends: perlapi-5.18.1 but it is not installable
 libgail-3-0 : Depends: libgtk-3-0 (= 3.10.8-0ubuntu1.6) but 3.18.9-1ubuntu3.1 is installed
 libglib-perl : Depends: perlapi-5.18.1 but it is not installable
 libglib2.0-bin : Depends: libglib2.0-0 (= 2.40.2-0ubuntu1) but 2.48.1-1~ubuntu16.04.1 is installed
 libgmp-dev : Depends: libgmp10 (= 2:5.1.3+dfsg-1ubuntu1) but 2:6.1.0+dfsg-2 is installed
 libgoa-backend-1.0-1 : Depends: libgoa-1.0-common (= 3.10.3-0ubuntu1) but 3.18.3-1ubuntu2 is installed
 libgtk2-perl : Depends: perlapi-5.18.2 but it is not installable
 libhtml-parser-perl : Depends: perlapi-5.18.1 but it is not installable
 libio-pty-perl : Depends: perlapi-5.18.1 but it is not installable
 libjson-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 liblist-moreutils-perl : Depends: perlapi-5.18.1 but it is not installable
 liblocale-gettext-perl : PreDepends: perlapi-5.18.1 but it is not installable
 libncurses5 : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libncurses5-dev : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libnet-dns-perl : Depends: perlapi-5.18.1 but it is not installable
 libnet-libidn-perl : Depends: perlapi-5.18.1 but it is not installable
 libnet-ssleay-perl : Depends: perlapi-5.18.2 but it is not installable
 liboxideqt-qmlplugin : Depends: qtbase-abi-5-2-1 but it is not installable
 libpackage-stash-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 libpango-perl : Depends: perlapi-5.18.1 but it is not installable
 libpango1.0-0 : Depends: libpango-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
                 Depends: libpangocairo-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
                 Depends: libpangoft2-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
 libparams-classify-perl : Depends: perlapi-5.18.1 but it is not installable
 libparams-util-perl : Depends: perlapi-5.18.1 but it is not installable
 libparams-validate-perl : Depends: perlapi-5.18.1 but it is not installable
 libpci-dev : Depends: libpci3 (= 1:3.2.1-1ubuntu5.1) but 1:3.3.1-1.1ubuntu1 is installed
 libperl5.18 : Depends: perl-base (= 5.18.2-2ubuntu1.1) but 5.22.1-9 is installed
 libperlio-gzip-perl : Depends: perlapi-5.18.1 but it is not installable
 libpurple0 : Depends: perlapi-5.18.2 but it is not installable
 libqt5dbus5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5multimedia5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5network5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5opengl5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5organizer5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5positioning5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5printsupport5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5qml5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5quick5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sensors5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sql5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sql5-sqlite : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5svg5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5webkit5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5widgets5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5xml5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libreoffice-math : Depends: libreoffice-core (= 1:4.2.8-0ubuntu4) but 1:5.1.4-0ubuntu1 is installed
 libsocket6-perl : Depends: perlapi-5.18.2 but it is not installable
 libstreamanalyzer0 : Depends: libclucene-core1 (>= 2.3.3.4) but it is not installable
 libsub-identify-perl : Depends: perlapi-5.18.1 but it is not installable
 libsub-name-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-charwidth-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-iconv-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-soundex-perl : Depends: perlapi-5.18.1 but it is not installable
 libtinfo-dev : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libtotem0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libuuid-perl : Depends: perlapi-5.18.1 but it is not installable
 libxml-libxml-perl : Depends: perlapi-5.18.2 but it is not installable
 libxml-libxslt-perl : Depends: perlapi-5.18.1 but it is not installable
 libxml-parser-perl : Depends: perlapi-5.18.1 but it is not installable
 libzeromq-perl : Depends: perlapi-5.18.1 but it is not installable
 m-tx : Depends: luatex but it is not installable
        Recommends: musixlyr (>= 1.10-4)
 musixtex : Depends: luatex but it is not installable
 onboard : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 p11-kit-modules : Depends: libp11-kit0 (= 0.20.2-2ubuntu2) but 0.23.2-3 is installed
 pciutils : Depends: libpci3 (= 1:3.2.1-1ubuntu5.1) but 1:3.3.1-1.1ubuntu1 is installed
 pmx : Depends: luatex but it is not installable
 python-gi-cairo : Depends: python-gi (= 3.12.0-1ubuntu1) but 3.20.0-0ubuntu1 is installed
 python3-apt : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-brlapi : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-cairo : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-crypto : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-dbus : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-gdbm : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-gi-cairo : Depends: python3 (< 3.5) but 3.5.1-3 is installed
                    Depends: python3-gi (= 3.12.0-1ubuntu1) but 3.20.0-0ubuntu1 is installed
 python3-lxml : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-markupsafe : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-pkg-resources : Depends: python3:any (< 3.5)
 python3-pycurl : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-uno : Depends: libreoffice-core (= 1:4.2.8-0ubuntu4) but 1:5.1.4-0ubuntu1 is installed
 qtdeclarative5-dialogs-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 qtdeclarative5-privatewidgets-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 qtdeclarative5-ubuntu-ui-toolkit-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 rhythmbox : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 rhythmbox-plugins : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 texlive-base : Depends: luatex (>= 0.70.1) but it is not installable
 texlive-extra-utils : Depends: luatex but it is not installable
 texlive-full : Depends: texlive-bibtex-extra (>= 2013.20130512) but it is not installable
                Depends: texlive-latex-base-doc (>= 2013.20130512) but it is not installable
 texlive-lang-cjk : Depends: luatex but it is not installable
 texlive-latex-extra : Depends: luatex but it is not installable
 texlive-luatex : Depends: luatex (>= 0.70.1) but it is not installable
 texlive-music : Depends: luatex but it is not installable
 texlive-pictures : Depends: luatex but it is not installable
 totem : Depends: libcogl15 (>= 1.15.8) but it is not installable
 tth-common : Depends: texlive but it is not installable
 unity-settings-daemon : Depends: gnome-settings-daemon-schemas (< 3.10) but 3.18.2-0ubuntu3 is installed
 ure : Depends: uno-libs3 (= 4.2.8-0ubuntu4) but 5.1.4-0ubuntu1 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
root@ubuntu:/#
root@ubuntu:/# LANG=C;sudo apt-get --fix-missing install
sudo: unable to resolve host ubuntu
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:
 accountsservice : Depends: libaccountsservice0 (= 0.6.35-0ubuntu7.2) but 0.6.40-2ubuntu11.1 is installed
 appmenu-qt5 : Depends: qtbase-abi-5-2-1 but it is not installable
 cheese : Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 context : Depends: luatex (>= 0.76) but it is not installable
           Recommends: fonts-freefont but it is not installable
 deja-dup : Depends: libgnome-control-center1 (>= 1:3.3.5) but it is not installable
 empathy : Depends: libcogl15 (>= 1.15.8) but it is not installable
           Recommends: gnome-contacts but it is not installable
 evolution-data-server-online-accounts : Depends: evolution-data-server-common (= 3.10.4-0ubuntu1.5) but 3.18.5-1ubuntu1 is installed
 gdm : Depends: libgdm1 (= 3.10.0.1-0ubuntu3.2) but 3.18.3-0ubuntu2 is installed
       Depends: gir1.2-gdm-1.0 (= 3.10.0.1-0ubuntu3.2) but 3.18.3-0ubuntu2 is installed
 gir1.2-cogl-1.0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 gir1.2-freedesktop : Depends: gir1.2-glib-2.0 (= 1.40.0-1ubuntu0.2) but 1.46.0-3ubuntu1 is installed
 gnome-bluetooth : Depends: gir1.2-gnomebluetooth-1.0 (= 3.8.2.1-0ubuntu4.2) but 3.18.2-1ubuntu2 is installed
 gnome-themes-standard : Depends: gnome-themes-standard-data (= 3.10.0-1ubuntu2) but 3.18.0-2ubuntu1 is installed
 gstreamer1.0-clutter : Depends: libcogl15 (>= 1.15.8) but it is not installable
 indicator-datetime : Depends: libical1 (>= 1.0) but it is not installable
 libalgorithm-diff-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 libapparmor-perl : Depends: perlapi-5.18.2 but it is not installable
 libapt-pkg-perl : Depends: perlapi-5.18.1 but it is not installable
 libarchive13 : Depends: libnettle4 (>= 2.3) but it is not installable
 libc-dev-bin : Depends: libc6 (< 2.20) but 2.23-0ubuntu3 is installed
 libc6-dbg : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libc6-dev : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libc6-i386 : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libcairo-perl : Depends: perlapi-5.18.1 but it is not installable
 libcheese-gtk23 : Depends: libcogl15 (>= 1.15.8) but it is not installable
                   Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 libcheese7 : Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 libclone-perl : Depends: perlapi-5.18.1 but it is not installable
 libclutter-gst-2.0-0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libclutter-gtk-1.0-0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libcogl-pango15 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libcommon-sense-perl : Depends: perl (< 5.18.3~) but 5.22.1-9 is installed
 libcupscgi1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsimage2 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsmime1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsppdc1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libdatetime-perl : Depends: perlapi-5.18.1 but it is not installable
 libecal-1.2-16 : Depends: libical1 (>= 1.0) but it is not installable
 libedata-cal-1.2-23 : Depends: libical1 (>= 1.0) but it is not installable
 libfile-fcntllock-perl : Depends: perlapi-5.18.1 but it is not installable
 libgail-3-0 : Depends: libgtk-3-0 (= 3.10.8-0ubuntu1.6) but 3.18.9-1ubuntu3.1 is installed
 libglib-perl : Depends: perlapi-5.18.1 but it is not installable
 libglib2.0-bin : Depends: libglib2.0-0 (= 2.40.2-0ubuntu1) but 2.48.1-1~ubuntu16.04.1 is installed
 libgmp-dev : Depends: libgmp10 (= 2:5.1.3+dfsg-1ubuntu1) but 2:6.1.0+dfsg-2 is installed
 libgoa-backend-1.0-1 : Depends: libgoa-1.0-common (= 3.10.3-0ubuntu1) but 3.18.3-1ubuntu2 is installed
 libgtk2-perl : Depends: perlapi-5.18.2 but it is not installable
 libhtml-parser-perl : Depends: perlapi-5.18.1 but it is not installable
 libio-pty-perl : Depends: perlapi-5.18.1 but it is not installable
 libjson-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 liblist-moreutils-perl : Depends: perlapi-5.18.1 but it is not installable
 liblocale-gettext-perl : PreDepends: perlapi-5.18.1 but it is not installable
 libncurses5 : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libncurses5-dev : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libnet-dns-perl : Depends: perlapi-5.18.1 but it is not installable
 libnet-libidn-perl : Depends: perlapi-5.18.1 but it is not installable
 libnet-ssleay-perl : Depends: perlapi-5.18.2 but it is not installable
 liboxideqt-qmlplugin : Depends: qtbase-abi-5-2-1 but it is not installable
 libpackage-stash-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 libpango-perl : Depends: perlapi-5.18.1 but it is not installable
 libpango1.0-0 : Depends: libpango-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
                 Depends: libpangocairo-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
                 Depends: libpangoft2-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
 libparams-classify-perl : Depends: perlapi-5.18.1 but it is not installable
 libparams-util-perl : Depends: perlapi-5.18.1 but it is not installable
 libparams-validate-perl : Depends: perlapi-5.18.1 but it is not installable
 libpci-dev : Depends: libpci3 (= 1:3.2.1-1ubuntu5.1) but 1:3.3.1-1.1ubuntu1 is installed
 libperl5.18 : Depends: perl-base (= 5.18.2-2ubuntu1.1) but 5.22.1-9 is installed
 libperlio-gzip-perl : Depends: perlapi-5.18.1 but it is not installable
 libpurple0 : Depends: perlapi-5.18.2 but it is not installable
 libqt5dbus5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5multimedia5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5network5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5opengl5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5organizer5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5positioning5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5printsupport5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5qml5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5quick5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sensors5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sql5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sql5-sqlite : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5svg5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5webkit5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5widgets5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5xml5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libreoffice-math : Depends: libreoffice-core (= 1:4.2.8-0ubuntu4) but 1:5.1.4-0ubuntu1 is installed
 libsocket6-perl : Depends: perlapi-5.18.2 but it is not installable
 libstreamanalyzer0 : Depends: libclucene-core1 (>= 2.3.3.4) but it is not installable
 libsub-identify-perl : Depends: perlapi-5.18.1 but it is not installable
 libsub-name-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-charwidth-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-iconv-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-soundex-perl : Depends: perlapi-5.18.1 but it is not installable
 libtinfo-dev : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libtotem0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libuuid-perl : Depends: perlapi-5.18.1 but it is not installable
 libxml-libxml-perl : Depends: perlapi-5.18.2 but it is not installable
 libxml-libxslt-perl : Depends: perlapi-5.18.1 but it is not installable
 libxml-parser-perl : Depends: perlapi-5.18.1 but it is not installable
 libzeromq-perl : Depends: perlapi-5.18.1 but it is not installable
 m-tx : Depends: luatex but it is not installable
        Recommends: musixlyr (>= 1.10-4)
 musixtex : Depends: luatex but it is not installable
 onboard : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 p11-kit-modules : Depends: libp11-kit0 (= 0.20.2-2ubuntu2) but 0.23.2-3 is installed
 pciutils : Depends: libpci3 (= 1:3.2.1-1ubuntu5.1) but 1:3.3.1-1.1ubuntu1 is installed
 pmx : Depends: luatex but it is not installable
 python-gi-cairo : Depends: python-gi (= 3.12.0-1ubuntu1) but 3.20.0-0ubuntu1 is installed
 python3-apt : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-brlapi : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-cairo : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-crypto : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-dbus : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-gdbm : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-gi-cairo : Depends: python3 (< 3.5) but 3.5.1-3 is installed
                    Depends: python3-gi (= 3.12.0-1ubuntu1) but 3.20.0-0ubuntu1 is installed
 python3-lxml : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-markupsafe : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-pkg-resources : Depends: python3:any (< 3.5)
 python3-pycurl : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-uno : Depends: libreoffice-core (= 1:4.2.8-0ubuntu4) but 1:5.1.4-0ubuntu1 is installed
 qtdeclarative5-dialogs-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 qtdeclarative5-privatewidgets-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 qtdeclarative5-ubuntu-ui-toolkit-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 rhythmbox : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 rhythmbox-plugins : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 texlive-base : Depends: luatex (>= 0.70.1) but it is not installable
 texlive-extra-utils : Depends: luatex but it is not installable
 texlive-full : Depends: texlive-bibtex-extra (>= 2013.20130512) but it is not installable
                Depends: texlive-latex-base-doc (>= 2013.20130512) but it is not installable
 texlive-lang-cjk : Depends: luatex but it is not installable
 texlive-latex-extra : Depends: luatex but it is not installable
 texlive-luatex : Depends: luatex (>= 0.70.1) but it is not installable
 texlive-music : Depends: luatex but it is not installable
 texlive-pictures : Depends: luatex but it is not installable
 totem : Depends: libcogl15 (>= 1.15.8) but it is not installable
 tth-common : Depends: texlive but it is not installable
 unity-settings-daemon : Depends: gnome-settings-daemon-schemas (< 3.10) but 3.18.2-0ubuntu3 is installed
 ure : Depends: uno-libs3 (= 4.2.8-0ubuntu4) but 5.1.4-0ubuntu1 is installed
E: Unmet dependencies. Try using -f.
root@ubuntu:/#
root@ubuntu:/# LANG=C;sudo apt-get --purge autoremove
sudo: unable to resolve host ubuntu
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:
 accountsservice : Depends: libaccountsservice0 (= 0.6.35-0ubuntu7.2) but 0.6.40-2ubuntu11.1 is installed
 appmenu-qt5 : Depends: qtbase-abi-5-2-1 but it is not installable
 cheese : Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 context : Depends: luatex (>= 0.76) but it is not installable
           Recommends: fonts-freefont but it is not installable
 deja-dup : Depends: libgnome-control-center1 (>= 1:3.3.5) but it is not installable
 empathy : Depends: libcogl15 (>= 1.15.8) but it is not installable
           Recommends: gnome-contacts but it is not installable
 evolution-data-server-online-accounts : Depends: evolution-data-server-common (= 3.10.4-0ubuntu1.5) but 3.18.5-1ubuntu1 is installed
 gdm : Depends: libgdm1 (= 3.10.0.1-0ubuntu3.2) but 3.18.3-0ubuntu2 is installed
       Depends: gir1.2-gdm-1.0 (= 3.10.0.1-0ubuntu3.2) but 3.18.3-0ubuntu2 is installed
 gir1.2-cogl-1.0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 gir1.2-freedesktop : Depends: gir1.2-glib-2.0 (= 1.40.0-1ubuntu0.2) but 1.46.0-3ubuntu1 is installed
 gnome-bluetooth : Depends: gir1.2-gnomebluetooth-1.0 (= 3.8.2.1-0ubuntu4.2) but 3.18.2-1ubuntu2 is installed
 gnome-themes-standard : Depends: gnome-themes-standard-data (= 3.10.0-1ubuntu2) but 3.18.0-2ubuntu1 is installed
 gstreamer1.0-clutter : Depends: libcogl15 (>= 1.15.8) but it is not installable
 indicator-datetime : Depends: libical1 (>= 1.0) but it is not installable
 libalgorithm-diff-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 libapparmor-perl : Depends: perlapi-5.18.2 but it is not installable
 libapt-pkg-perl : Depends: perlapi-5.18.1 but it is not installable
 libarchive13 : Depends: libnettle4 (>= 2.3) but it is not installable
 libc-dev-bin : Depends: libc6 (< 2.20) but 2.23-0ubuntu3 is installed
 libc6-dbg : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libc6-dev : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libc6-i386 : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libcairo-perl : Depends: perlapi-5.18.1 but it is not installable
 libcheese-gtk23 : Depends: libcogl15 (>= 1.15.8) but it is not installable
                   Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 libcheese7 : Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 libclone-perl : Depends: perlapi-5.18.1 but it is not installable
 libclutter-gst-2.0-0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libclutter-gtk-1.0-0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libcogl-pango15 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libcommon-sense-perl : Depends: perl (< 5.18.3~) but 5.22.1-9 is installed
 libcupscgi1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsimage2 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsmime1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsppdc1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libdatetime-perl : Depends: perlapi-5.18.1 but it is not installable
 libecal-1.2-16 : Depends: libical1 (>= 1.0) but it is not installable
 libedata-cal-1.2-23 : Depends: libical1 (>= 1.0) but it is not installable
 libfile-fcntllock-perl : Depends: perlapi-5.18.1 but it is not installable
 libgail-3-0 : Depends: libgtk-3-0 (= 3.10.8-0ubuntu1.6) but 3.18.9-1ubuntu3.1 is installed
 libglib-perl : Depends: perlapi-5.18.1 but it is not installable
 libglib2.0-bin : Depends: libglib2.0-0 (= 2.40.2-0ubuntu1) but 2.48.1-1~ubuntu16.04.1 is installed
 libgmp-dev : Depends: libgmp10 (= 2:5.1.3+dfsg-1ubuntu1) but 2:6.1.0+dfsg-2 is installed
 libgoa-backend-1.0-1 : Depends: libgoa-1.0-common (= 3.10.3-0ubuntu1) but 3.18.3-1ubuntu2 is installed
 libgtk2-perl : Depends: perlapi-5.18.2 but it is not installable
 libhtml-parser-perl : Depends: perlapi-5.18.1 but it is not installable
 libio-pty-perl : Depends: perlapi-5.18.1 but it is not installable
 libjson-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 liblist-moreutils-perl : Depends: perlapi-5.18.1 but it is not installable
 liblocale-gettext-perl : PreDepends: perlapi-5.18.1 but it is not installable
 libncurses5 : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libncurses5-dev : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libnet-dns-perl : Depends: perlapi-5.18.1 but it is not installable
 libnet-libidn-perl : Depends: perlapi-5.18.1 but it is not installable
 libnet-ssleay-perl : Depends: perlapi-5.18.2 but it is not installable
 liboxideqt-qmlplugin : Depends: qtbase-abi-5-2-1 but it is not installable
 libpackage-stash-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 libpango-perl : Depends: perlapi-5.18.1 but it is not installable
 libpango1.0-0 : Depends: libpango-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
                 Depends: libpangocairo-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
                 Depends: libpangoft2-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
 libparams-classify-perl : Depends: perlapi-5.18.1 but it is not installable
 libparams-util-perl : Depends: perlapi-5.18.1 but it is not installable
 libparams-validate-perl : Depends: perlapi-5.18.1 but it is not installable
 libpci-dev : Depends: libpci3 (= 1:3.2.1-1ubuntu5.1) but 1:3.3.1-1.1ubuntu1 is installed
 libperl5.18 : Depends: perl-base (= 5.18.2-2ubuntu1.1) but 5.22.1-9 is installed
 libperlio-gzip-perl : Depends: perlapi-5.18.1 but it is not installable
 libpurple0 : Depends: perlapi-5.18.2 but it is not installable
 libqt5dbus5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5multimedia5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5network5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5opengl5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5organizer5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5positioning5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5printsupport5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5qml5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5quick5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sensors5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sql5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sql5-sqlite : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5svg5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5webkit5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5widgets5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5xml5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libreoffice-math : Depends: libreoffice-core (= 1:4.2.8-0ubuntu4) but 1:5.1.4-0ubuntu1 is installed
 libsocket6-perl : Depends: perlapi-5.18.2 but it is not installable
 libstreamanalyzer0 : Depends: libclucene-core1 (>= 2.3.3.4) but it is not installable
 libsub-identify-perl : Depends: perlapi-5.18.1 but it is not installable
 libsub-name-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-charwidth-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-iconv-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-soundex-perl : Depends: perlapi-5.18.1 but it is not installable
 libtinfo-dev : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libtotem0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libuuid-perl : Depends: perlapi-5.18.1 but it is not installable
 libxml-libxml-perl : Depends: perlapi-5.18.2 but it is not installable
 libxml-libxslt-perl : Depends: perlapi-5.18.1 but it is not installable
 libxml-parser-perl : Depends: perlapi-5.18.1 but it is not installable
 libzeromq-perl : Depends: perlapi-5.18.1 but it is not installable
 m-tx : Depends: luatex but it is not installable
        Recommends: musixlyr (>= 1.10-4)
 musixtex : Depends: luatex but it is not installable
 onboard : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 p11-kit-modules : Depends: libp11-kit0 (= 0.20.2-2ubuntu2) but 0.23.2-3 is installed
 pciutils : Depends: libpci3 (= 1:3.2.1-1ubuntu5.1) but 1:3.3.1-1.1ubuntu1 is installed
 pmx : Depends: luatex but it is not installable
 python-gi-cairo : Depends: python-gi (= 3.12.0-1ubuntu1) but 3.20.0-0ubuntu1 is installed
 python3-apt : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-brlapi : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-cairo : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-crypto : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-dbus : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-gdbm : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-gi-cairo : Depends: python3 (< 3.5) but 3.5.1-3 is installed
                    Depends: python3-gi (= 3.12.0-1ubuntu1) but 3.20.0-0ubuntu1 is installed
 python3-lxml : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-markupsafe : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-pkg-resources : Depends: python3:any (< 3.5)
 python3-pycurl : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-uno : Depends: libreoffice-core (= 1:4.2.8-0ubuntu4) but 1:5.1.4-0ubuntu1 is installed
 qtdeclarative5-dialogs-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 qtdeclarative5-privatewidgets-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 qtdeclarative5-ubuntu-ui-toolkit-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 rhythmbox : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 rhythmbox-plugins : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 texlive-base : Depends: luatex (>= 0.70.1) but it is not installable
 texlive-extra-utils : Depends: luatex but it is not installable
 texlive-full : Depends: texlive-bibtex-extra (>= 2013.20130512) but it is not installable
                Depends: texlive-latex-base-doc (>= 2013.20130512) but it is not installable
 texlive-lang-cjk : Depends: luatex but it is not installable
 texlive-latex-extra : Depends: luatex but it is not installable
 texlive-luatex : Depends: luatex (>= 0.70.1) but it is not installable
 texlive-music : Depends: luatex but it is not installable
 texlive-pictures : Depends: luatex but it is not installable
 totem : Depends: libcogl15 (>= 1.15.8) but it is not installable
 tth-common : Depends: texlive but it is not installable
 unity-settings-daemon : Depends: gnome-settings-daemon-schemas (< 3.10) but 3.18.2-0ubuntu3 is installed
 ure : Depends: uno-libs3 (= 4.2.8-0ubuntu4) but 5.1.4-0ubuntu1 is installed
E: Unmet dependencies. Try using -f.
root@ubuntu:/#
root@ubuntu:/# LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
sudo: unable to resolve host ubuntu
Err http://security.ubuntu.com xenial-security InRelease

Err http://archive.canonical.com xenial InRelease

Err http://archive.canonical.com xenial InRelease

Err http://au.archive.ubuntu.com xenial InRelease

Err http://archive.ubuntu.com xenial InRelease

Err http://security.ubuntu.com xenial-security Release.gpg
  Temporary failure resolving 'security.ubuntu.com'
Err http://au.archive.ubuntu.com xenial-updates InRelease

Err http://archive.canonical.com xenial Release.gpg
  Temporary failure resolving 'archive.canonical.com'
Err http://archive.canonical.com xenial Release.gpg
  Temporary failure resolving 'archive.canonical.com'
Err http://archive.ubuntu.com xenial Release.gpg
  Temporary failure resolving 'archive.ubuntu.com'
Err http://au.archive.ubuntu.com xenial Release.gpg
  Temporary failure resolving 'au.archive.ubuntu.com'
Err http://au.archive.ubuntu.com xenial-updates Release.gpg
  Temporary failure resolving 'au.archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/xenial/InRelease

W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/InRelease

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/xenial/InRelease

W: Failed to fetch http://archive.canonical.com/dists/xenial/InRelease

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/InRelease

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/Release.gpg Temporary failure resolving 'security.ubuntu.com'

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/xenial/Release.gpg Temporary failure resolving 'archive.canonical.com'

W: Failed to fetch http://archive.canonical.com/dists/xenial/Release.gpg Temporary failure resolving 'archive.canonical.com'

W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/xenial/Release.gpg Temporary failure resolving 'au.archive.ubuntu.com'

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/Release.gpg Temporary failure resolving 'archive.ubuntu.com'

W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/xenial-updates/Release.gpg Temporary failure resolving 'au.archive.ubuntu.com'

W: Some index files failed to download. They have been ignored, or old ones used instead.
root@ubuntu:/#
root@ubuntu:/# LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
sudo: unable to resolve host ubuntu
Err http://au.archive.ubuntu.com xenial InRelease

Err http://security.ubuntu.com xenial-security InRelease

Err http://archive.canonical.com xenial InRelease

Err http://archive.ubuntu.com xenial InRelease

Err http://au.archive.ubuntu.com xenial-updates InRelease

Err http://archive.canonical.com xenial InRelease

Err http://security.ubuntu.com xenial-security Release.gpg
  Temporary failure resolving 'security.ubuntu.com'
Err http://archive.ubuntu.com xenial Release.gpg
  Temporary failure resolving 'archive.ubuntu.com'
Err http://au.archive.ubuntu.com xenial Release.gpg
  Temporary failure resolving 'au.archive.ubuntu.com'
Err http://archive.canonical.com xenial Release.gpg
  Temporary failure resolving 'archive.canonical.com'
Err http://au.archive.ubuntu.com xenial-updates Release.gpg
  Temporary failure resolving 'au.archive.ubuntu.com'
Err http://archive.canonical.com xenial Release.gpg
  Temporary failure resolving 'archive.canonical.com'
Reading package lists... Done
W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/xenial/InRelease

W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/InRelease

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/xenial/InRelease

W: Failed to fetch http://archive.canonical.com/dists/xenial/InRelease

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/InRelease

W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/xenial/Release.gpg Temporary failure resolving 'au.archive.ubuntu.com'

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/Release.gpg Temporary failure resolving 'security.ubuntu.com'

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/xenial/Release.gpg Temporary failure resolving 'archive.canonical.com'

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/Release.gpg Temporary failure resolving 'archive.ubuntu.com'

W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/xenial-updates/Release.gpg Temporary failure resolving 'au.archive.ubuntu.com'

W: Failed to fetch http://archive.canonical.com/dists/xenial/Release.gpg Temporary failure resolving 'archive.canonical.com'

W: Some index files failed to download. They have been ignored, or old ones used instead.
sudo: unable to resolve host ubuntu
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:
 accountsservice : Depends: libaccountsservice0 (= 0.6.35-0ubuntu7.2) but 0.6.40-2ubuntu11.1 is installed
 appmenu-qt5 : Depends: qtbase-abi-5-2-1 but it is not installable
 cheese : Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 context : Depends: luatex (>= 0.76) but it is not installable
           Recommends: fonts-freefont but it is not installable
 deja-dup : Depends: libgnome-control-center1 (>= 1:3.3.5) but it is not installable
 empathy : Depends: libcogl15 (>= 1.15.8) but it is not installable
           Recommends: gnome-contacts but it is not installable
 evolution-data-server-online-accounts : Depends: evolution-data-server-common (= 3.10.4-0ubuntu1.5) but 3.18.5-1ubuntu1 is installed
 gdm : Depends: libgdm1 (= 3.10.0.1-0ubuntu3.2) but 3.18.3-0ubuntu2 is installed
       Depends: gir1.2-gdm-1.0 (= 3.10.0.1-0ubuntu3.2) but 3.18.3-0ubuntu2 is installed
 gir1.2-cogl-1.0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 gir1.2-freedesktop : Depends: gir1.2-glib-2.0 (= 1.40.0-1ubuntu0.2) but 1.46.0-3ubuntu1 is installed
 gnome-bluetooth : Depends: gir1.2-gnomebluetooth-1.0 (= 3.8.2.1-0ubuntu4.2) but 3.18.2-1ubuntu2 is installed
 gnome-themes-standard : Depends: gnome-themes-standard-data (= 3.10.0-1ubuntu2) but 3.18.0-2ubuntu1 is installed
 gstreamer1.0-clutter : Depends: libcogl15 (>= 1.15.8) but it is not installable
 indicator-datetime : Depends: libical1 (>= 1.0) but it is not installable
 libalgorithm-diff-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 libapparmor-perl : Depends: perlapi-5.18.2 but it is not installable
 libapt-pkg-perl : Depends: perlapi-5.18.1 but it is not installable
 libarchive13 : Depends: libnettle4 (>= 2.3) but it is not installable
 libc-dev-bin : Depends: libc6 (< 2.20) but 2.23-0ubuntu3 is installed
 libc6-dbg : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libc6-dev : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libc6-i386 : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libcairo-perl : Depends: perlapi-5.18.1 but it is not installable
 libcheese-gtk23 : Depends: libcogl15 (>= 1.15.8) but it is not installable
                   Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 libcheese7 : Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 libclone-perl : Depends: perlapi-5.18.1 but it is not installable
 libclutter-gst-2.0-0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libclutter-gtk-1.0-0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libcogl-pango15 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libcommon-sense-perl : Depends: perl (< 5.18.3~) but 5.22.1-9 is installed
 libcupscgi1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsimage2 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsmime1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsppdc1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libdatetime-perl : Depends: perlapi-5.18.1 but it is not installable
 libecal-1.2-16 : Depends: libical1 (>= 1.0) but it is not installable
 libedata-cal-1.2-23 : Depends: libical1 (>= 1.0) but it is not installable
 libfile-fcntllock-perl : Depends: perlapi-5.18.1 but it is not installable
 libgail-3-0 : Depends: libgtk-3-0 (= 3.10.8-0ubuntu1.6) but 3.18.9-1ubuntu3.1 is installed
 libglib-perl : Depends: perlapi-5.18.1 but it is not installable
 libglib2.0-bin : Depends: libglib2.0-0 (= 2.40.2-0ubuntu1) but 2.48.1-1~ubuntu16.04.1 is installed
 libgmp-dev : Depends: libgmp10 (= 2:5.1.3+dfsg-1ubuntu1) but 2:6.1.0+dfsg-2 is installed
 libgoa-backend-1.0-1 : Depends: libgoa-1.0-common (= 3.10.3-0ubuntu1) but 3.18.3-1ubuntu2 is installed
 libgtk2-perl : Depends: perlapi-5.18.2 but it is not installable
 libhtml-parser-perl : Depends: perlapi-5.18.1 but it is not installable
 libio-pty-perl : Depends: perlapi-5.18.1 but it is not installable
 libjson-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 liblist-moreutils-perl : Depends: perlapi-5.18.1 but it is not installable
 liblocale-gettext-perl : PreDepends: perlapi-5.18.1 but it is not installable
 libncurses5 : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libncurses5-dev : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libnet-dns-perl : Depends: perlapi-5.18.1 but it is not installable
 libnet-libidn-perl : Depends: perlapi-5.18.1 but it is not installable
 libnet-ssleay-perl : Depends: perlapi-5.18.2 but it is not installable
 liboxideqt-qmlplugin : Depends: qtbase-abi-5-2-1 but it is not installable
 libpackage-stash-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 libpango-perl : Depends: perlapi-5.18.1 but it is not installable
 libpango1.0-0 : Depends: libpango-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
                 Depends: libpangocairo-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
                 Depends: libpangoft2-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
 libparams-classify-perl : Depends: perlapi-5.18.1 but it is not installable
 libparams-util-perl : Depends: perlapi-5.18.1 but it is not installable
 libparams-validate-perl : Depends: perlapi-5.18.1 but it is not installable
 libpci-dev : Depends: libpci3 (= 1:3.2.1-1ubuntu5.1) but 1:3.3.1-1.1ubuntu1 is installed
 libperl5.18 : Depends: perl-base (= 5.18.2-2ubuntu1.1) but 5.22.1-9 is installed
 libperlio-gzip-perl : Depends: perlapi-5.18.1 but it is not installable
 libpurple0 : Depends: perlapi-5.18.2 but it is not installable
 libqt5dbus5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5multimedia5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5network5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5opengl5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5organizer5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5positioning5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5printsupport5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5qml5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5quick5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sensors5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sql5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sql5-sqlite : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5svg5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5webkit5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5widgets5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5xml5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libreoffice-math : Depends: libreoffice-core (= 1:4.2.8-0ubuntu4) but 1:5.1.4-0ubuntu1 is installed
 libsocket6-perl : Depends: perlapi-5.18.2 but it is not installable
 libstreamanalyzer0 : Depends: libclucene-core1 (>= 2.3.3.4) but it is not installable
 libsub-identify-perl : Depends: perlapi-5.18.1 but it is not installable
 libsub-name-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-charwidth-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-iconv-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-soundex-perl : Depends: perlapi-5.18.1 but it is not installable
 libtinfo-dev : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libtotem0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libuuid-perl : Depends: perlapi-5.18.1 but it is not installable
 libxml-libxml-perl : Depends: perlapi-5.18.2 but it is not installable
 libxml-libxslt-perl : Depends: perlapi-5.18.1 but it is not installable
 libxml-parser-perl : Depends: perlapi-5.18.1 but it is not installable
 libzeromq-perl : Depends: perlapi-5.18.1 but it is not installable
 m-tx : Depends: luatex but it is not installable
        Recommends: musixlyr (>= 1.10-4)
 musixtex : Depends: luatex but it is not installable
 onboard : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 p11-kit-modules : Depends: libp11-kit0 (= 0.20.2-2ubuntu2) but 0.23.2-3 is installed
 pciutils : Depends: libpci3 (= 1:3.2.1-1ubuntu5.1) but 1:3.3.1-1.1ubuntu1 is installed
 pmx : Depends: luatex but it is not installable
 python-gi-cairo : Depends: python-gi (= 3.12.0-1ubuntu1) but 3.20.0-0ubuntu1 is installed
 python3-apt : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-brlapi : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-cairo : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-crypto : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-dbus : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-gdbm : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-gi-cairo : Depends: python3 (< 3.5) but 3.5.1-3 is installed
                    Depends: python3-gi (= 3.12.0-1ubuntu1) but 3.20.0-0ubuntu1 is installed
 python3-lxml : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-markupsafe : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-pkg-resources : Depends: python3:any (< 3.5)
 python3-pycurl : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-uno : Depends: libreoffice-core (= 1:4.2.8-0ubuntu4) but 1:5.1.4-0ubuntu1 is installed
 qtdeclarative5-dialogs-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 qtdeclarative5-privatewidgets-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 qtdeclarative5-ubuntu-ui-toolkit-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 rhythmbox : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 rhythmbox-plugins : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 texlive-base : Depends: luatex (>= 0.70.1) but it is not installable
 texlive-extra-utils : Depends: luatex but it is not installable
 texlive-full : Depends: texlive-bibtex-extra (>= 2013.20130512) but it is not installable
                Depends: texlive-latex-base-doc (>= 2013.20130512) but it is not installable
 texlive-lang-cjk : Depends: luatex but it is not installable
 texlive-latex-extra : Depends: luatex but it is not installable
 texlive-luatex : Depends: luatex (>= 0.70.1) but it is not installable
 texlive-music : Depends: luatex but it is not installable
 texlive-pictures : Depends: luatex but it is not installable
 totem : Depends: libcogl15 (>= 1.15.8) but it is not installable
 tth-common : Depends: texlive but it is not installable
 unity-settings-daemon : Depends: gnome-settings-daemon-schemas (< 3.10) but 3.18.2-0ubuntu3 is installed
 ure : Depends: uno-libs3 (= 4.2.8-0ubuntu4) but 5.1.4-0ubuntu1 is installed
E: Unmet dependencies. Try using -f.
root@ubuntu:/#
root@ubuntu:/# find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list.d/neurodebian.sources.list

     1 # deb http://mirror.aarnet.edu.au/pub/neurodebian data main contrib non-free # disabled on upgrade to xenial
     2 # deb-src http://mirror.aarnet.edu.au/pub/neurodebian data main contrib non-free
     3 # deb http://mirror.aarnet.edu.au/pub/neurodebian lucid main contrib non-free # disabled on upgrade to xenial
     4 # deb-src http://mirror.aarnet.edu.au/pub/neurodebian lucid main contrib non-free

/etc/apt/sources.list.d/webupd8team-sublime-text-3-trusty.list

     1 # deb http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial main # disabled on upgrade to xenial
     2 # deb-src http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu trusty main

/etc/apt/sources.list.d/mendeleydesktop.list

     1 # This file lists the repositories for Mendeley Desktop.
     2 #
     3 # These repositories should work with most recent Debian/Ubuntu-based Linux
     4 # distributions.
     5 #
     6 # If you have any problems with Mendeley's Debian/Ubuntu repositories,
     7 # you can let us know at http://feedback.mendeley.com
     8 #
     9 # The distribution name sets the release channel you want to use,
    10 # which can be either "stable" or "preview"
    11
    12 # deb http://desktop-download.mendeley.com/download/apt preview main # disabled on upgrade to xenial

/etc/apt/sources.list.d/vikoadi-ppa-trusty.list

     1 # deb http://ppa.launchpad.net/vikoadi/ppa/ubuntu xenial main # disabled on upgrade to xenial
     2 # deb-src http://ppa.launchpad.net/vikoadi/ppa/ubuntu trusty main
     3 # deb-src http://ppa.launchpad.net/vikoadi/ppa/ubuntu trusty main

/etc/apt/sources.list.d/yannubuntu-boot-repair-trusty.list

     1 # deb-src http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu trusty main

/etc/apt/sources.list.d/slack.list

     1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2 # You may comment out this entry, but any other modifications may be lost.
     3 # deb https://packagecloud.io/slacktechnologies/slack/debian/ jessie main # disabled on upgrade to xenial

/etc/apt/sources.list.d/google-talkplugin.list

     1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2 # You may comment out this entry, but any other modifications may be lost.
     3 # deb http://dl.google.com/linux/talkplugin/deb/ stable main # disabled on upgrade to xenial

/etc/apt/sources.list.d/atareao-atareao-trusty.list

     1 # deb http://ppa.launchpad.net/atareao/atareao/ubuntu xenial main # disabled on upgrade to xenial
     2 # deb-src http://ppa.launchpad.net/atareao/atareao/ubuntu trusty main

/etc/apt/sources.list.d/nodesource.list

     1 # deb https://deb.nodesource.com/node xenial main # disabled on upgrade to xenial
     2 # deb-src https://deb.nodesource.com/node xenial main # disabled on upgrade to xenial

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.2)]/ trusty main restricted
     2
     3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4 # newer versions of the distribution.
     5 deb http://au.archive.ubuntu.com/ubuntu/ xenial main restricted
     6 deb-src http://au.archive.ubuntu.com/ubuntu/ xenial main restricted
     7
     8
     9 # I added this will it break
    10 # deb http://ftp2.de.debian.org/debian/ squeeze main non-free contrib
    11
    12 ## Major bug fix updates produced after the final release of the
    13 ## distribution.
    14 deb http://au.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
    15 deb-src http://au.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
    16
    17 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    18 ## team. Also, please note that software in universe WILL NOT receive any
    19 ## review or updates from the Ubuntu security team.
    20 deb http://au.archive.ubuntu.com/ubuntu/ xenial universe
    21 deb-src http://au.archive.ubuntu.com/ubuntu/ xenial universe
    22 deb http://au.archive.ubuntu.com/ubuntu/ xenial-updates universe
    23 deb-src http://au.archive.ubuntu.com/ubuntu/ xenial-updates universe
    24
    25 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    26 ## team, and may not be under a free licence. Please satisfy yourself as to
    27 ## your rights to use the software. Also, please note that software in
    28 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    29 ## security team.
    30 deb http://au.archive.ubuntu.com/ubuntu/ xenial multiverse
    31 deb-src http://au.archive.ubuntu.com/ubuntu/ xenial multiverse
    32 deb http://au.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
    33 deb-src http://au.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
    34
    35 ## N.B. software from this repository may not have been tested as
    36 ## extensively as that contained in the main release, although it includes
    37 ## newer versions of some applications which may provide useful features.
    38 ## Also, please note that software in backports WILL NOT receive any review
    39 ## or updates from the Ubuntu security team.
    40
    41 deb http://security.ubuntu.com/ubuntu xenial-security main restricted
    42 deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
    43 deb http://security.ubuntu.com/ubuntu xenial-security universe
    44 deb-src http://security.ubuntu.com/ubuntu xenial-security universe
    45 deb http://security.ubuntu.com/ubuntu xenial-security multiverse
    46 deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
    47
    48 ## Uncomment the following two lines to add software from Canonical's
    49 ## 'partner' repository.
    50 ## This software is not part of Ubuntu, but is offered by Canonical and the
    51 ## respective vendors as a service to Ubuntu users.
    52 deb http://archive.canonical.com/ubuntu xenial partner
    53 deb-src http://archive.canonical.com/ubuntu xenial partner
    54
    55 deb http://archive.canonical.com/ xenial partner
    56 # deb-src http://archive.canonical.com/ trusty partner
    57 deb http://archive.ubuntu.com/ubuntu xenial main universe restricted multiverse
root@ubuntu:/#
root@ubuntu:/# sudo dpkg --audit
sudo: unable to resolve host ubuntu
The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
 tex-common common infrastructure for building and installing TeX

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

1. What happens if you try booting normally?

2. To be able to repair the broken packages you probably need internet connection.
see steps 10 and 11 in http://askubuntu.com/a/166010/91549 for commands that might helps setting up network connection

If this provides you with a working network connection, try the commands
sudo apt-get update
sudo apt-get install -f
sudo apt-get dist-upgrade

Revision history for this message
neuroStuff (colouredstatic) said :
#2

Hi Manfred,

Okay great. Sorry I had plugged in ethernet, but I couldn't get the network manager to acknowledge the presence of the ethernet connection.

I will re-do and try again. Logging in normally dropped me at some kind of shell. Maybe grub, I can't remember. I think it complained that it could not find a binary, and then quit and left at the shell. I will record the exact output at the shell and get back to you.

Russell.

Revision history for this message
neuroStuff (colouredstatic) said :
#3

Hi Manfred and others,

I have had time now to properly address the question. What happens if you try to boot normally:

The final two statements are:
Begin: Running /scripts/local-bottom ... done

Begin: Running /scripts/init-bottom ... done

Target file system doesn't have requested /sbin/init

It drops me at a shell root prompt which is not grub, I don't think.

From # I try: #startx

and the final output is:
xinit: giving up
xauth: some error.

Now I am switching contexts back to when I chroot into the file-system via persistent Ubuntu live USB. The persistent Ubuntu live OS has ethernet. However when I chroot, the chrooted file system is unable to access the same network connection. When I run $ifconfig after chrooting it gives:

root@ubuntu:/# ifconfig
Warning: cannot open /proc/net/dev (No such file or directory). Limited output.

Thus explaining why the outputs of commands like

$sudo apt-get update etc. Tell of no internet connection (see below).

Does anyone know how I can give the chrooted OS access to the network connection from the live persistent host? Actually come to think of it. I am accessing this web page from the same persistant live distribution, so I am unsure why I can access the web through the browser and not through the shell.

Thanks again for any help.

root@ubuntu:/# sudo apt-get update
sudo: unable to resolve host ubuntu
Err http://archive.canonical.com xenial InRelease

Err http://archive.ubuntu.com xenial InRelease

Err http://archive.canonical.com xenial InRelease

Err http://au.archive.ubuntu.com xenial InRelease

Err http://security.ubuntu.com xenial-security InRelease

Err http://archive.ubuntu.com xenial Release.gpg
  Temporary failure resolving 'archive.ubuntu.com'
Err http://archive.canonical.com xenial Release.gpg
  Temporary failure resolving 'archive.canonical.com'
Err http://au.archive.ubuntu.com xenial-updates InRelease

Err http://security.ubuntu.com xenial-security Release.gpg
  Temporary failure resolving 'security.ubuntu.com'
Err http://archive.canonical.com xenial Release.gpg
  Temporary failure resolving 'archive.canonical.com'
Err http://au.archive.ubuntu.com xenial Release.gpg
  Temporary failure resolving 'au.archive.ubuntu.com'
Err http://au.archive.ubuntu.com xenial-updates Release.gpg
  Temporary failure resolving 'au.archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/xenial/InRelease

W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/InRelease

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/xenial/InRelease

W: Failed to fetch http://archive.canonical.com/dists/xenial/InRelease

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/InRelease

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/xenial/Release.gpg Temporary failure resolving 'archive.canonical.com'

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/Release.gpg Temporary failure resolving 'archive.ubuntu.com'

W: Failed to fetch http://archive.canonical.com/dists/xenial/Release.gpg Temporary failure resolving 'archive.canonical.com'

W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/xenial/Release.gpg Temporary failure resolving 'au.archive.ubuntu.com'

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/Release.gpg Temporary failure resolving 'security.ubuntu.com'

W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/xenial-updates/Release.gpg Temporary failure resolving 'au.archive.ubuntu.com'

W: Some index files failed to download. They have been ignored, or old ones used instead.
root@ubuntu:/# sudo apt-get install -f
sudo: unable to resolve host ubuntu
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
 accountsservice : Depends: libaccountsservice0 (= 0.6.35-0ubuntu7.2) but 0.6.40-2ubuntu11.1 is installed
 appmenu-qt5 : Depends: qtbase-abi-5-2-1 but it is not installable
 cheese : Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 context : Depends: luatex (>= 0.76) but it is not installable
           Recommends: fonts-freefont but it is not installable
 deja-dup : Depends: libgnome-control-center1 (>= 1:3.3.5) but it is not installable
 empathy : Depends: libcogl15 (>= 1.15.8) but it is not installable
           Recommends: gnome-contacts but it is not installable
 evolution-data-server-online-accounts : Depends: evolution-data-server-common (= 3.10.4-0ubuntu1.5) but 3.18.5-1ubuntu1 is installed
 gdm : Depends: libgdm1 (= 3.10.0.1-0ubuntu3.2) but 3.18.3-0ubuntu2 is installed
       Depends: gir1.2-gdm-1.0 (= 3.10.0.1-0ubuntu3.2) but 3.18.3-0ubuntu2 is installed
 gir1.2-cogl-1.0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 gir1.2-freedesktop : Depends: gir1.2-glib-2.0 (= 1.40.0-1ubuntu0.2) but 1.46.0-3ubuntu1 is installed
 gnome-bluetooth : Depends: gir1.2-gnomebluetooth-1.0 (= 3.8.2.1-0ubuntu4.2) but 3.18.2-1ubuntu2 is installed
 gnome-themes-standard : Depends: gnome-themes-standard-data (= 3.10.0-1ubuntu2) but 3.18.0-2ubuntu1 is installed
 gstreamer1.0-clutter : Depends: libcogl15 (>= 1.15.8) but it is not installable
 indicator-datetime : Depends: libical1 (>= 1.0) but it is not installable
 libalgorithm-diff-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 libapparmor-perl : Depends: perlapi-5.18.2 but it is not installable
 libapt-pkg-perl : Depends: perlapi-5.18.1 but it is not installable
 libarchive13 : Depends: libnettle4 (>= 2.3) but it is not installable
 libc-dev-bin : Depends: libc6 (< 2.20) but 2.23-0ubuntu3 is installed
 libc6-dbg : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libc6-dev : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libc6-i386 : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libcairo-perl : Depends: perlapi-5.18.1 but it is not installable
 libcheese-gtk23 : Depends: libcogl15 (>= 1.15.8) but it is not installable
                   Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 libcheese7 : Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 libclone-perl : Depends: perlapi-5.18.1 but it is not installable
 libclutter-gst-2.0-0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libclutter-gtk-1.0-0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libcogl-pango15 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libcommon-sense-perl : Depends: perl (< 5.18.3~) but 5.22.1-9 is installed
 libcupscgi1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsimage2 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsmime1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsppdc1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libdatetime-perl : Depends: perlapi-5.18.1 but it is not installable
 libecal-1.2-16 : Depends: libical1 (>= 1.0) but it is not installable
 libedata-cal-1.2-23 : Depends: libical1 (>= 1.0) but it is not installable
 libfile-fcntllock-perl : Depends: perlapi-5.18.1 but it is not installable
 libgail-3-0 : Depends: libgtk-3-0 (= 3.10.8-0ubuntu1.6) but 3.18.9-1ubuntu3.1 is installed
 libglib-perl : Depends: perlapi-5.18.1 but it is not installable
 libglib2.0-bin : Depends: libglib2.0-0 (= 2.40.2-0ubuntu1) but 2.48.1-1~ubuntu16.04.1 is installed
 libgmp-dev : Depends: libgmp10 (= 2:5.1.3+dfsg-1ubuntu1) but 2:6.1.0+dfsg-2 is installed
 libgoa-backend-1.0-1 : Depends: libgoa-1.0-common (= 3.10.3-0ubuntu1) but 3.18.3-1ubuntu2 is installed
 libgtk2-perl : Depends: perlapi-5.18.2 but it is not installable
 libhtml-parser-perl : Depends: perlapi-5.18.1 but it is not installable
 libio-pty-perl : Depends: perlapi-5.18.1 but it is not installable
 libjson-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 liblist-moreutils-perl : Depends: perlapi-5.18.1 but it is not installable
 liblocale-gettext-perl : PreDepends: perlapi-5.18.1 but it is not installable
 libncurses5 : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libncurses5-dev : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libnet-dns-perl : Depends: perlapi-5.18.1 but it is not installable
 libnet-libidn-perl : Depends: perlapi-5.18.1 but it is not installable
 libnet-ssleay-perl : Depends: perlapi-5.18.2 but it is not installable
 liboxideqt-qmlplugin : Depends: qtbase-abi-5-2-1 but it is not installable
 libpackage-stash-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 libpango-perl : Depends: perlapi-5.18.1 but it is not installable
 libpango1.0-0 : Depends: libpango-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
                 Depends: libpangocairo-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
                 Depends: libpangoft2-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
 libparams-classify-perl : Depends: perlapi-5.18.1 but it is not installable
 libparams-util-perl : Depends: perlapi-5.18.1 but it is not installable
 libparams-validate-perl : Depends: perlapi-5.18.1 but it is not installable
 libpci-dev : Depends: libpci3 (= 1:3.2.1-1ubuntu5.1) but 1:3.3.1-1.1ubuntu1 is installed
 libperl5.18 : Depends: perl-base (= 5.18.2-2ubuntu1.1) but 5.22.1-9 is installed
 libperlio-gzip-perl : Depends: perlapi-5.18.1 but it is not installable
 libpurple0 : Depends: perlapi-5.18.2 but it is not installable
 libqt5dbus5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5multimedia5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5network5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5opengl5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5organizer5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5positioning5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5printsupport5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5qml5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5quick5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sensors5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sql5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sql5-sqlite : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5svg5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5webkit5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5widgets5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5xml5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libreoffice-math : Depends: libreoffice-core (= 1:4.2.8-0ubuntu4) but 1:5.1.4-0ubuntu1 is installed
 libsocket6-perl : Depends: perlapi-5.18.2 but it is not installable
 libstreamanalyzer0 : Depends: libclucene-core1 (>= 2.3.3.4) but it is not installable
 libsub-identify-perl : Depends: perlapi-5.18.1 but it is not installable
 libsub-name-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-charwidth-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-iconv-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-soundex-perl : Depends: perlapi-5.18.1 but it is not installable
 libtinfo-dev : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libtotem0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libuuid-perl : Depends: perlapi-5.18.1 but it is not installable
 libxml-libxml-perl : Depends: perlapi-5.18.2 but it is not installable
 libxml-libxslt-perl : Depends: perlapi-5.18.1 but it is not installable
 libxml-parser-perl : Depends: perlapi-5.18.1 but it is not installable
 libzeromq-perl : Depends: perlapi-5.18.1 but it is not installable
 m-tx : Depends: luatex but it is not installable
        Recommends: musixlyr (>= 1.10-4)
 musixtex : Depends: luatex but it is not installable
 onboard : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 p11-kit-modules : Depends: libp11-kit0 (= 0.20.2-2ubuntu2) but 0.23.2-3 is installed
 pciutils : Depends: libpci3 (= 1:3.2.1-1ubuntu5.1) but 1:3.3.1-1.1ubuntu1 is installed
 pmx : Depends: luatex but it is not installable
 python-gi-cairo : Depends: python-gi (= 3.12.0-1ubuntu1) but 3.20.0-0ubuntu1 is installed
 python3-apt : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-brlapi : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-cairo : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-crypto : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-dbus : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-gdbm : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-gi-cairo : Depends: python3 (< 3.5) but 3.5.1-3 is installed
                    Depends: python3-gi (= 3.12.0-1ubuntu1) but 3.20.0-0ubuntu1 is installed
 python3-lxml : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-markupsafe : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-pkg-resources : Depends: python3:any (< 3.5)
 python3-pycurl : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-uno : Depends: libreoffice-core (= 1:4.2.8-0ubuntu4) but 1:5.1.4-0ubuntu1 is installed
 qtdeclarative5-dialogs-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 qtdeclarative5-privatewidgets-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 qtdeclarative5-ubuntu-ui-toolkit-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 rhythmbox : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 rhythmbox-plugins : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 texlive-base : Depends: luatex (>= 0.70.1) but it is not installable
 texlive-extra-utils : Depends: luatex but it is not installable
 texlive-full : Depends: texlive-bibtex-extra (>= 2013.20130512) but it is not installable
                Depends: texlive-latex-base-doc (>= 2013.20130512) but it is not installable
 texlive-lang-cjk : Depends: luatex but it is not installable
 texlive-latex-extra : Depends: luatex but it is not installable
 texlive-luatex : Depends: luatex (>= 0.70.1) but it is not installable
 texlive-music : Depends: luatex but it is not installable
 texlive-pictures : Depends: luatex but it is not installable
 totem : Depends: libcogl15 (>= 1.15.8) but it is not installable
 tth-common : Depends: texlive but it is not installable
 unity-settings-daemon : Depends: gnome-settings-daemon-schemas (< 3.10) but 3.18.2-0ubuntu3 is installed
 ure : Depends: uno-libs3 (= 4.2.8-0ubuntu4) but 5.1.4-0ubuntu1 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

Eliah Kagan has written instructions how to set up a chroot environment in http://askubuntu.com/a/166010/91549
Steps 9 and 10 address the issue of networking.

I hope that helps.

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

Oops, not steps 9 and 10, but 10 and 11 of course.

Revision history for this message
neuroStuff (colouredstatic) said :
#6

Hi Manfred,

Thanks for your help. I have finally found the time to address your above suggestions.

So below, I have chrooted into the effected file system for the failed upgrade.

I used steps 10-11 on copying over etc/hosts and etc/resolv.conf etc.

I obtained an ethernet connection due to this step.

Then I ran all of the commands from:

https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure

And the result is a very sick apt-get.

Note also I can't run synaptics, because it depends on a graphical environment which I cannot yet provide.

Also down the very bottom I have pasted some python-3 errors, which I believe are more fundamental than the apt-get errors.

Any suggestions on how to proceed will be greatly appreciated, thanks.

Russelll.

root@ubuntu:/# lsb_release -r
Release: 16.04
root@ubuntu:/# ubuntu-support-status
Traceback (most recent call last):
  File "/usr/bin/ubuntu-support-status", line 5, in <module>
    import apt
  File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
    import apt_pkg
ImportError: No module named 'apt_pkg'
root@ubuntu:/#
root@ubuntu:/# cat /etc/dpkg/dpkg.cfg.d/multiarch
cat: /etc/dpkg/dpkg.cfg.d/multiarch: No such file or directory
root@ubuntu:/#
root@ubuntu:/# dpkg --print-foreign-architectures
i386
root@ubuntu:/#
root@ubuntu:/# sudo grep -R proxy /etc/apt/*
root@ubuntu:/#
root@ubuntu:/# grep proxy /etc/environment
root@ubuntu:/#
root@ubuntu:/# echo $http_proxy

root@ubuntu:/#
root@ubuntu:/# echo $ftp_proxy

root@ubuntu:/#
root@ubuntu:/# grep proxy /etc/bash.bashrc
root@ubuntu:/#
root@ubuntu:/# grep proxy ~/.bashrc
root@ubuntu:/#
root@ubuntu:/# cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
root@ubuntu:/#
root@ubuntu:/# sudo fuser -vvv /var/lib/dpkg/lock
root@ubuntu:/#
root@ubuntu:/# sudo fuser -vvv /var/cache/apt/archives/lock
root@ubuntu:/#
root@ubuntu:/# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"
root@ubuntu:/#
root@ubuntu:/# uname -a
Linux ubuntu 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
root@ubuntu:/#
root@ubuntu:/# sudo rm /var/lib/apt/lists/lock
root@ubuntu:/#
root@ubuntu:/# sudo rm /var/cache/apt/archives/lock
root@ubuntu:/#
root@ubuntu:/# sudo rm /var/lib/dpkg/lock
root@ubuntu:/#
root@ubuntu:/# sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
root@ubuntu:/#
root@ubuntu:/# sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
root@ubuntu:/#
root@ubuntu:/# sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
root@ubuntu:/#
root@ubuntu:/# sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
root@ubuntu:/#
root@ubuntu:/# sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
root@ubuntu:/#
root@ubuntu:/# sudo rm -rf /var/lib/dpkg/updates/*
root@ubuntu:/#
root@ubuntu:/# sudo rm -rf /var/lib/apt/lists
root@ubuntu:/#
root@ubuntu:/# sudo rm /var/cache/apt/*.bin
root@ubuntu:/#
root@ubuntu:/# sudo mkdir /var/lib/apt/lists
root@ubuntu:/#
root@ubuntu:/# sudo mkdir /var/lib/apt/lists/partial
root@ubuntu:/#
root@ubuntu:/# LANG=C;sudo apt-get clean
root@ubuntu:/#
root@ubuntu:/# LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
root@ubuntu:/#
root@ubuntu:/# sudo dpkg --configure -a
Setting up tex-common (4.04) ...
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^(.*?)(\\)?\${ <-- HERE ([^{}]+)}(.*)$/ at /usr/share/perl5/Debconf/Question.pm line 72.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^}]+)}/ at /usr/share/perl5/Debconf/Config.pm line 30.
Running mktexlsr. This may take some time... done.
Running mtxrun --generate. This may take some time...
mtxrun --generate failed. Output has been stored in
/tmp/mtxrun.IbPcUnhl
Please include this file if you report a bug.

dpkg: error processing package tex-common (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 tex-common
root@ubuntu:/#
root@ubuntu:/# sudo dpkg --clear-avail
root@ubuntu:/#
root@ubuntu:/# LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
 accountsservice : Depends: libaccountsservice0 (= 0.6.35-0ubuntu7.2) but 0.6.40-2ubuntu11.1 is installed
 appmenu-qt5 : Depends: qtbase-abi-5-2-1 but it is not installable
 cheese : Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 context : Depends: luatex (>= 0.76) but it is not installable
           Recommends: fonts-freefont but it is not installable
 deja-dup : Depends: libgnome-control-center1 (>= 1:3.3.5) but it is not installable
 empathy : Depends: libcogl15 (>= 1.15.8) but it is not installable
           Recommends: gnome-contacts but it is not installable
 evolution-data-server-online-accounts : Depends: evolution-data-server-common (= 3.10.4-0ubuntu1.5) but 3.18.5-1ubuntu1 is installed
 gdm : Depends: libgdm1 (= 3.10.0.1-0ubuntu3.2) but 3.18.3-0ubuntu2 is installed
       Depends: gir1.2-gdm-1.0 (= 3.10.0.1-0ubuntu3.2) but 3.18.3-0ubuntu2 is installed
 gir1.2-cogl-1.0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 gir1.2-freedesktop : Depends: gir1.2-glib-2.0 (= 1.40.0-1ubuntu0.2) but 1.46.0-3ubuntu1 is installed
 gnome-bluetooth : Depends: gir1.2-gnomebluetooth-1.0 (= 3.8.2.1-0ubuntu4.2) but 3.18.2-1ubuntu2 is installed
 gnome-themes-standard : Depends: gnome-themes-standard-data (= 3.10.0-1ubuntu2) but 3.18.0-2ubuntu1 is installed
 gstreamer1.0-clutter : Depends: libcogl15 (>= 1.15.8) but it is not installable
 indicator-datetime : Depends: libical1 (>= 1.0) but it is not installable
 libalgorithm-diff-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 libapparmor-perl : Depends: perlapi-5.18.2 but it is not installable
 libapt-pkg-perl : Depends: perlapi-5.18.1 but it is not installable
 libarchive13 : Depends: libnettle4 (>= 2.3) but it is not installable
 libc-dev-bin : Depends: libc6 (< 2.20) but 2.23-0ubuntu3 is installed
 libc6-dbg : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libc6-dev : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libc6-i386 : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libcairo-perl : Depends: perlapi-5.18.1 but it is not installable
 libcheese-gtk23 : Depends: libcogl15 (>= 1.15.8) but it is not installable
                   Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 libcheese7 : Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 libclone-perl : Depends: perlapi-5.18.1 but it is not installable
 libclutter-gst-2.0-0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libclutter-gtk-1.0-0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libcogl-pango15 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libcommon-sense-perl : Depends: perl (< 5.18.3~) but 5.22.1-9 is installed
 libcupscgi1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsimage2 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsmime1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsppdc1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libdatetime-perl : Depends: perlapi-5.18.1 but it is not installable
 libecal-1.2-16 : Depends: libical1 (>= 1.0) but it is not installable
 libedata-cal-1.2-23 : Depends: libical1 (>= 1.0) but it is not installable
 libfile-fcntllock-perl : Depends: perlapi-5.18.1 but it is not installable
 libgail-3-0 : Depends: libgtk-3-0 (= 3.10.8-0ubuntu1.6) but 3.18.9-1ubuntu3.1 is installed
 libglib-perl : Depends: perlapi-5.18.1 but it is not installable
 libglib2.0-bin : Depends: libglib2.0-0 (= 2.40.2-0ubuntu1) but 2.48.1-1~ubuntu16.04.1 is installed
 libgmp-dev : Depends: libgmp10 (= 2:5.1.3+dfsg-1ubuntu1) but 2:6.1.0+dfsg-2 is installed
 libgoa-backend-1.0-1 : Depends: libgoa-1.0-common (= 3.10.3-0ubuntu1) but 3.18.3-1ubuntu2 is installed
 libgtk2-perl : Depends: perlapi-5.18.2 but it is not installable
 libhtml-parser-perl : Depends: perlapi-5.18.1 but it is not installable
 libio-pty-perl : Depends: perlapi-5.18.1 but it is not installable
 libjson-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 liblist-moreutils-perl : Depends: perlapi-5.18.1 but it is not installable
 liblocale-gettext-perl : PreDepends: perlapi-5.18.1 but it is not installable
 libncurses5 : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libncurses5-dev : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libnet-dns-perl : Depends: perlapi-5.18.1 but it is not installable
 libnet-libidn-perl : Depends: perlapi-5.18.1 but it is not installable
 libnet-ssleay-perl : Depends: perlapi-5.18.2 but it is not installable
 liboxideqt-qmlplugin : Depends: qtbase-abi-5-2-1 but it is not installable
 libpackage-stash-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 libpango-perl : Depends: perlapi-5.18.1 but it is not installable
 libpango1.0-0 : Depends: libpango-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
                 Depends: libpangocairo-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
                 Depends: libpangoft2-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
 libparams-classify-perl : Depends: perlapi-5.18.1 but it is not installable
 libparams-util-perl : Depends: perlapi-5.18.1 but it is not installable
 libparams-validate-perl : Depends: perlapi-5.18.1 but it is not installable
 libpci-dev : Depends: libpci3 (= 1:3.2.1-1ubuntu5.1) but 1:3.3.1-1.1ubuntu1 is installed
 libperl5.18 : Depends: perl-base (= 5.18.2-2ubuntu1.1) but 5.22.1-9 is installed
 libperlio-gzip-perl : Depends: perlapi-5.18.1 but it is not installable
 libpurple0 : Depends: perlapi-5.18.2 but it is not installable
 libqt5dbus5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5multimedia5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5network5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5opengl5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5organizer5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5positioning5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5printsupport5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5qml5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5quick5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sensors5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sql5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sql5-sqlite : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5svg5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5webkit5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5widgets5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5xml5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libreoffice-math : Depends: libreoffice-core (= 1:4.2.8-0ubuntu4) but 1:5.1.4-0ubuntu1 is installed
 libsocket6-perl : Depends: perlapi-5.18.2 but it is not installable
 libstreamanalyzer0 : Depends: libclucene-core1 (>= 2.3.3.4) but it is not installable
 libsub-identify-perl : Depends: perlapi-5.18.1 but it is not installable
 libsub-name-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-charwidth-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-iconv-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-soundex-perl : Depends: perlapi-5.18.1 but it is not installable
 libtinfo-dev : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libtotem0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libuuid-perl : Depends: perlapi-5.18.1 but it is not installable
 libxml-libxml-perl : Depends: perlapi-5.18.2 but it is not installable
 libxml-libxslt-perl : Depends: perlapi-5.18.1 but it is not installable
 libxml-parser-perl : Depends: perlapi-5.18.1 but it is not installable
 libzeromq-perl : Depends: perlapi-5.18.1 but it is not installable
 m-tx : Depends: luatex but it is not installable
        Recommends: musixlyr (>= 1.10-4)
 musixtex : Depends: luatex but it is not installable
 onboard : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 p11-kit-modules : Depends: libp11-kit0 (= 0.20.2-2ubuntu2) but 0.23.2-3 is installed
 pciutils : Depends: libpci3 (= 1:3.2.1-1ubuntu5.1) but 1:3.3.1-1.1ubuntu1 is installed
 pmx : Depends: luatex but it is not installable
 python-gi-cairo : Depends: python-gi (= 3.12.0-1ubuntu1) but 3.20.0-0ubuntu1 is installed
 python3-apt : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-brlapi : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-cairo : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-crypto : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-dbus : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-gdbm : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-gi-cairo : Depends: python3 (< 3.5) but 3.5.1-3 is installed
                    Depends: python3-gi (= 3.12.0-1ubuntu1) but 3.20.0-0ubuntu1 is installed
 python3-lxml : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-markupsafe : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-pkg-resources : Depends: python3:any (< 3.5)
 python3-pycurl : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-uno : Depends: libreoffice-core (= 1:4.2.8-0ubuntu4) but 1:5.1.4-0ubuntu1 is installed
 qtdeclarative5-dialogs-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 qtdeclarative5-privatewidgets-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 qtdeclarative5-ubuntu-ui-toolkit-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 rhythmbox : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 rhythmbox-plugins : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 texlive-base : Depends: luatex (>= 0.70.1) but it is not installable
 texlive-extra-utils : Depends: luatex but it is not installable
 texlive-full : Depends: texlive-bibtex-extra (>= 2013.20130512) but it is not installable
                Depends: texlive-latex-base-doc (>= 2013.20130512) but it is not installable
 texlive-lang-cjk : Depends: luatex but it is not installable
 texlive-latex-extra : Depends: luatex but it is not installable
 texlive-luatex : Depends: luatex (>= 0.70.1) but it is not installable
 texlive-music : Depends: luatex but it is not installable
 texlive-pictures : Depends: luatex but it is not installable
 totem : Depends: libcogl15 (>= 1.15.8) but it is not installable
 tth-common : Depends: texlive but it is not installable
 unity-settings-daemon : Depends: gnome-settings-daemon-schemas (< 3.10) but 3.18.2-0ubuntu3 is installed
 ure : Depends: uno-libs3 (= 4.2.8-0ubuntu4) but 5.1.4-0ubuntu1 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
root@ubuntu:/#
root@ubuntu:/# LANG=C;sudo apt-get --fix-missing install
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:
 accountsservice : Depends: libaccountsservice0 (= 0.6.35-0ubuntu7.2) but 0.6.40-2ubuntu11.1 is installed
 appmenu-qt5 : Depends: qtbase-abi-5-2-1 but it is not installable
 cheese : Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 context : Depends: luatex (>= 0.76) but it is not installable
           Recommends: fonts-freefont but it is not installable
 deja-dup : Depends: libgnome-control-center1 (>= 1:3.3.5) but it is not installable
 empathy : Depends: libcogl15 (>= 1.15.8) but it is not installable
           Recommends: gnome-contacts but it is not installable
 evolution-data-server-online-accounts : Depends: evolution-data-server-common (= 3.10.4-0ubuntu1.5) but 3.18.5-1ubuntu1 is installed
 gdm : Depends: libgdm1 (= 3.10.0.1-0ubuntu3.2) but 3.18.3-0ubuntu2 is installed
       Depends: gir1.2-gdm-1.0 (= 3.10.0.1-0ubuntu3.2) but 3.18.3-0ubuntu2 is installed
 gir1.2-cogl-1.0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 gir1.2-freedesktop : Depends: gir1.2-glib-2.0 (= 1.40.0-1ubuntu0.2) but 1.46.0-3ubuntu1 is installed
 gnome-bluetooth : Depends: gir1.2-gnomebluetooth-1.0 (= 3.8.2.1-0ubuntu4.2) but 3.18.2-1ubuntu2 is installed
 gnome-themes-standard : Depends: gnome-themes-standard-data (= 3.10.0-1ubuntu2) but 3.18.0-2ubuntu1 is installed
 gstreamer1.0-clutter : Depends: libcogl15 (>= 1.15.8) but it is not installable
 indicator-datetime : Depends: libical1 (>= 1.0) but it is not installable
 libalgorithm-diff-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 libapparmor-perl : Depends: perlapi-5.18.2 but it is not installable
 libapt-pkg-perl : Depends: perlapi-5.18.1 but it is not installable
 libarchive13 : Depends: libnettle4 (>= 2.3) but it is not installable
 libc-dev-bin : Depends: libc6 (< 2.20) but 2.23-0ubuntu3 is installed
 libc6-dbg : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libc6-dev : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libc6-i386 : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libcairo-perl : Depends: perlapi-5.18.1 but it is not installable
 libcheese-gtk23 : Depends: libcogl15 (>= 1.15.8) but it is not installable
                   Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 libcheese7 : Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 libclone-perl : Depends: perlapi-5.18.1 but it is not installable
 libclutter-gst-2.0-0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libclutter-gtk-1.0-0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libcogl-pango15 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libcommon-sense-perl : Depends: perl (< 5.18.3~) but 5.22.1-9 is installed
 libcupscgi1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsimage2 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsmime1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsppdc1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libdatetime-perl : Depends: perlapi-5.18.1 but it is not installable
 libecal-1.2-16 : Depends: libical1 (>= 1.0) but it is not installable
 libedata-cal-1.2-23 : Depends: libical1 (>= 1.0) but it is not installable
 libfile-fcntllock-perl : Depends: perlapi-5.18.1 but it is not installable
 libgail-3-0 : Depends: libgtk-3-0 (= 3.10.8-0ubuntu1.6) but 3.18.9-1ubuntu3.1 is installed
 libglib-perl : Depends: perlapi-5.18.1 but it is not installable
 libglib2.0-bin : Depends: libglib2.0-0 (= 2.40.2-0ubuntu1) but 2.48.1-1~ubuntu16.04.1 is installed
 libgmp-dev : Depends: libgmp10 (= 2:5.1.3+dfsg-1ubuntu1) but 2:6.1.0+dfsg-2 is installed
 libgoa-backend-1.0-1 : Depends: libgoa-1.0-common (= 3.10.3-0ubuntu1) but 3.18.3-1ubuntu2 is installed
 libgtk2-perl : Depends: perlapi-5.18.2 but it is not installable
 libhtml-parser-perl : Depends: perlapi-5.18.1 but it is not installable
 libio-pty-perl : Depends: perlapi-5.18.1 but it is not installable
 libjson-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 liblist-moreutils-perl : Depends: perlapi-5.18.1 but it is not installable
 liblocale-gettext-perl : PreDepends: perlapi-5.18.1 but it is not installable
 libncurses5 : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libncurses5-dev : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libnet-dns-perl : Depends: perlapi-5.18.1 but it is not installable
 libnet-libidn-perl : Depends: perlapi-5.18.1 but it is not installable
 libnet-ssleay-perl : Depends: perlapi-5.18.2 but it is not installable
 liboxideqt-qmlplugin : Depends: qtbase-abi-5-2-1 but it is not installable
 libpackage-stash-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 libpango-perl : Depends: perlapi-5.18.1 but it is not installable
 libpango1.0-0 : Depends: libpango-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
                 Depends: libpangocairo-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
                 Depends: libpangoft2-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
 libparams-classify-perl : Depends: perlapi-5.18.1 but it is not installable
 libparams-util-perl : Depends: perlapi-5.18.1 but it is not installable
 libparams-validate-perl : Depends: perlapi-5.18.1 but it is not installable
 libpci-dev : Depends: libpci3 (= 1:3.2.1-1ubuntu5.1) but 1:3.3.1-1.1ubuntu1 is installed
 libperl5.18 : Depends: perl-base (= 5.18.2-2ubuntu1.1) but 5.22.1-9 is installed
 libperlio-gzip-perl : Depends: perlapi-5.18.1 but it is not installable
 libpurple0 : Depends: perlapi-5.18.2 but it is not installable
 libqt5dbus5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5multimedia5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5network5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5opengl5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5organizer5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5positioning5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5printsupport5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5qml5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5quick5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sensors5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sql5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sql5-sqlite : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5svg5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5webkit5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5widgets5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5xml5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libreoffice-math : Depends: libreoffice-core (= 1:4.2.8-0ubuntu4) but 1:5.1.4-0ubuntu1 is installed
 libsocket6-perl : Depends: perlapi-5.18.2 but it is not installable
 libstreamanalyzer0 : Depends: libclucene-core1 (>= 2.3.3.4) but it is not installable
 libsub-identify-perl : Depends: perlapi-5.18.1 but it is not installable
 libsub-name-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-charwidth-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-iconv-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-soundex-perl : Depends: perlapi-5.18.1 but it is not installable
 libtinfo-dev : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libtotem0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libuuid-perl : Depends: perlapi-5.18.1 but it is not installable
 libxml-libxml-perl : Depends: perlapi-5.18.2 but it is not installable
 libxml-libxslt-perl : Depends: perlapi-5.18.1 but it is not installable
 libxml-parser-perl : Depends: perlapi-5.18.1 but it is not installable
 libzeromq-perl : Depends: perlapi-5.18.1 but it is not installable
 m-tx : Depends: luatex but it is not installable
        Recommends: musixlyr (>= 1.10-4)
 musixtex : Depends: luatex but it is not installable
 onboard : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 p11-kit-modules : Depends: libp11-kit0 (= 0.20.2-2ubuntu2) but 0.23.2-3 is installed
 pciutils : Depends: libpci3 (= 1:3.2.1-1ubuntu5.1) but 1:3.3.1-1.1ubuntu1 is installed
 pmx : Depends: luatex but it is not installable
 python-gi-cairo : Depends: python-gi (= 3.12.0-1ubuntu1) but 3.20.0-0ubuntu1 is installed
 python3-apt : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-brlapi : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-cairo : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-crypto : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-dbus : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-gdbm : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-gi-cairo : Depends: python3 (< 3.5) but 3.5.1-3 is installed
                    Depends: python3-gi (= 3.12.0-1ubuntu1) but 3.20.0-0ubuntu1 is installed
 python3-lxml : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-markupsafe : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-pkg-resources : Depends: python3:any (< 3.5)
 python3-pycurl : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-uno : Depends: libreoffice-core (= 1:4.2.8-0ubuntu4) but 1:5.1.4-0ubuntu1 is installed
 qtdeclarative5-dialogs-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 qtdeclarative5-privatewidgets-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 qtdeclarative5-ubuntu-ui-toolkit-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 rhythmbox : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 rhythmbox-plugins : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 texlive-base : Depends: luatex (>= 0.70.1) but it is not installable
 texlive-extra-utils : Depends: luatex but it is not installable
 texlive-full : Depends: texlive-bibtex-extra (>= 2013.20130512) but it is not installable
                Depends: texlive-latex-base-doc (>= 2013.20130512) but it is not installable
 texlive-lang-cjk : Depends: luatex but it is not installable
 texlive-latex-extra : Depends: luatex but it is not installable
 texlive-luatex : Depends: luatex (>= 0.70.1) but it is not installable
 texlive-music : Depends: luatex but it is not installable
 texlive-pictures : Depends: luatex but it is not installable
 totem : Depends: libcogl15 (>= 1.15.8) but it is not installable
 tth-common : Depends: texlive but it is not installable
 unity-settings-daemon : Depends: gnome-settings-daemon-schemas (< 3.10) but 3.18.2-0ubuntu3 is installed
 ure : Depends: uno-libs3 (= 4.2.8-0ubuntu4) but 5.1.4-0ubuntu1 is installed
E: Unmet dependencies. Try using -f.
root@ubuntu:/#
root@ubuntu:/# LANG=C;sudo apt-get --purge autoremove
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:
 accountsservice : Depends: libaccountsservice0 (= 0.6.35-0ubuntu7.2) but 0.6.40-2ubuntu11.1 is installed
 appmenu-qt5 : Depends: qtbase-abi-5-2-1 but it is not installable
 cheese : Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 context : Depends: luatex (>= 0.76) but it is not installable
           Recommends: fonts-freefont but it is not installable
 deja-dup : Depends: libgnome-control-center1 (>= 1:3.3.5) but it is not installable
 empathy : Depends: libcogl15 (>= 1.15.8) but it is not installable
           Recommends: gnome-contacts but it is not installable
 evolution-data-server-online-accounts : Depends: evolution-data-server-common (= 3.10.4-0ubuntu1.5) but 3.18.5-1ubuntu1 is installed
 gdm : Depends: libgdm1 (= 3.10.0.1-0ubuntu3.2) but 3.18.3-0ubuntu2 is installed
       Depends: gir1.2-gdm-1.0 (= 3.10.0.1-0ubuntu3.2) but 3.18.3-0ubuntu2 is installed
 gir1.2-cogl-1.0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 gir1.2-freedesktop : Depends: gir1.2-glib-2.0 (= 1.40.0-1ubuntu0.2) but 1.46.0-3ubuntu1 is installed
 gnome-bluetooth : Depends: gir1.2-gnomebluetooth-1.0 (= 3.8.2.1-0ubuntu4.2) but 3.18.2-1ubuntu2 is installed
 gnome-themes-standard : Depends: gnome-themes-standard-data (= 3.10.0-1ubuntu2) but 3.18.0-2ubuntu1 is installed
 gstreamer1.0-clutter : Depends: libcogl15 (>= 1.15.8) but it is not installable
 indicator-datetime : Depends: libical1 (>= 1.0) but it is not installable
 libalgorithm-diff-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 libapparmor-perl : Depends: perlapi-5.18.2 but it is not installable
 libapt-pkg-perl : Depends: perlapi-5.18.1 but it is not installable
 libarchive13 : Depends: libnettle4 (>= 2.3) but it is not installable
 libc-dev-bin : Depends: libc6 (< 2.20) but 2.23-0ubuntu3 is installed
 libc6-dbg : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libc6-dev : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libc6-i386 : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libcairo-perl : Depends: perlapi-5.18.1 but it is not installable
 libcheese-gtk23 : Depends: libcogl15 (>= 1.15.8) but it is not installable
                   Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 libcheese7 : Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 libclone-perl : Depends: perlapi-5.18.1 but it is not installable
 libclutter-gst-2.0-0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libclutter-gtk-1.0-0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libcogl-pango15 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libcommon-sense-perl : Depends: perl (< 5.18.3~) but 5.22.1-9 is installed
 libcupscgi1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsimage2 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsmime1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsppdc1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libdatetime-perl : Depends: perlapi-5.18.1 but it is not installable
 libecal-1.2-16 : Depends: libical1 (>= 1.0) but it is not installable
 libedata-cal-1.2-23 : Depends: libical1 (>= 1.0) but it is not installable
 libfile-fcntllock-perl : Depends: perlapi-5.18.1 but it is not installable
 libgail-3-0 : Depends: libgtk-3-0 (= 3.10.8-0ubuntu1.6) but 3.18.9-1ubuntu3.1 is installed
 libglib-perl : Depends: perlapi-5.18.1 but it is not installable
 libglib2.0-bin : Depends: libglib2.0-0 (= 2.40.2-0ubuntu1) but 2.48.1-1~ubuntu16.04.1 is installed
 libgmp-dev : Depends: libgmp10 (= 2:5.1.3+dfsg-1ubuntu1) but 2:6.1.0+dfsg-2 is installed
 libgoa-backend-1.0-1 : Depends: libgoa-1.0-common (= 3.10.3-0ubuntu1) but 3.18.3-1ubuntu2 is installed
 libgtk2-perl : Depends: perlapi-5.18.2 but it is not installable
 libhtml-parser-perl : Depends: perlapi-5.18.1 but it is not installable
 libio-pty-perl : Depends: perlapi-5.18.1 but it is not installable
 libjson-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 liblist-moreutils-perl : Depends: perlapi-5.18.1 but it is not installable
 liblocale-gettext-perl : PreDepends: perlapi-5.18.1 but it is not installable
 libncurses5 : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libncurses5-dev : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libnet-dns-perl : Depends: perlapi-5.18.1 but it is not installable
 libnet-libidn-perl : Depends: perlapi-5.18.1 but it is not installable
 libnet-ssleay-perl : Depends: perlapi-5.18.2 but it is not installable
 liboxideqt-qmlplugin : Depends: qtbase-abi-5-2-1 but it is not installable
 libpackage-stash-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 libpango-perl : Depends: perlapi-5.18.1 but it is not installable
 libpango1.0-0 : Depends: libpango-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
                 Depends: libpangocairo-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
                 Depends: libpangoft2-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
 libparams-classify-perl : Depends: perlapi-5.18.1 but it is not installable
 libparams-util-perl : Depends: perlapi-5.18.1 but it is not installable
 libparams-validate-perl : Depends: perlapi-5.18.1 but it is not installable
 libpci-dev : Depends: libpci3 (= 1:3.2.1-1ubuntu5.1) but 1:3.3.1-1.1ubuntu1 is installed
 libperl5.18 : Depends: perl-base (= 5.18.2-2ubuntu1.1) but 5.22.1-9 is installed
 libperlio-gzip-perl : Depends: perlapi-5.18.1 but it is not installable
 libpurple0 : Depends: perlapi-5.18.2 but it is not installable
 libqt5dbus5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5multimedia5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5network5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5opengl5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5organizer5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5positioning5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5printsupport5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5qml5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5quick5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sensors5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sql5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sql5-sqlite : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5svg5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5webkit5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5widgets5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5xml5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libreoffice-math : Depends: libreoffice-core (= 1:4.2.8-0ubuntu4) but 1:5.1.4-0ubuntu1 is installed
 libsocket6-perl : Depends: perlapi-5.18.2 but it is not installable
 libstreamanalyzer0 : Depends: libclucene-core1 (>= 2.3.3.4) but it is not installable
 libsub-identify-perl : Depends: perlapi-5.18.1 but it is not installable
 libsub-name-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-charwidth-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-iconv-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-soundex-perl : Depends: perlapi-5.18.1 but it is not installable
 libtinfo-dev : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libtotem0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libuuid-perl : Depends: perlapi-5.18.1 but it is not installable
 libxml-libxml-perl : Depends: perlapi-5.18.2 but it is not installable
 libxml-libxslt-perl : Depends: perlapi-5.18.1 but it is not installable
 libxml-parser-perl : Depends: perlapi-5.18.1 but it is not installable
 libzeromq-perl : Depends: perlapi-5.18.1 but it is not installable
 m-tx : Depends: luatex but it is not installable
        Recommends: musixlyr (>= 1.10-4)
 musixtex : Depends: luatex but it is not installable
 onboard : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 p11-kit-modules : Depends: libp11-kit0 (= 0.20.2-2ubuntu2) but 0.23.2-3 is installed
 pciutils : Depends: libpci3 (= 1:3.2.1-1ubuntu5.1) but 1:3.3.1-1.1ubuntu1 is installed
 pmx : Depends: luatex but it is not installable
 python-gi-cairo : Depends: python-gi (= 3.12.0-1ubuntu1) but 3.20.0-0ubuntu1 is installed
 python3-apt : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-brlapi : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-cairo : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-crypto : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-dbus : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-gdbm : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-gi-cairo : Depends: python3 (< 3.5) but 3.5.1-3 is installed
                    Depends: python3-gi (= 3.12.0-1ubuntu1) but 3.20.0-0ubuntu1 is installed
 python3-lxml : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-markupsafe : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-pkg-resources : Depends: python3:any (< 3.5)
 python3-pycurl : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-uno : Depends: libreoffice-core (= 1:4.2.8-0ubuntu4) but 1:5.1.4-0ubuntu1 is installed
 qtdeclarative5-dialogs-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 qtdeclarative5-privatewidgets-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 qtdeclarative5-ubuntu-ui-toolkit-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 rhythmbox : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 rhythmbox-plugins : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 texlive-base : Depends: luatex (>= 0.70.1) but it is not installable
 texlive-extra-utils : Depends: luatex but it is not installable
 texlive-full : Depends: texlive-bibtex-extra (>= 2013.20130512) but it is not installable
                Depends: texlive-latex-base-doc (>= 2013.20130512) but it is not installable
 texlive-lang-cjk : Depends: luatex but it is not installable
 texlive-latex-extra : Depends: luatex but it is not installable
 texlive-luatex : Depends: luatex (>= 0.70.1) but it is not installable
 texlive-music : Depends: luatex but it is not installable
 texlive-pictures : Depends: luatex but it is not installable
 totem : Depends: libcogl15 (>= 1.15.8) but it is not installable
 tth-common : Depends: texlive but it is not installable
 unity-settings-daemon : Depends: gnome-settings-daemon-schemas (< 3.10) but 3.18.2-0ubuntu3 is installed
 ure : Depends: uno-libs3 (= 4.2.8-0ubuntu4) but 5.1.4-0ubuntu1 is installed
E: Unmet dependencies. Try using -f.
root@ubuntu:/#
root@ubuntu:/# LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Get:1 http://security.ubuntu.com xenial-security InRelease [94.5 kB]
Get:2 http://archive.canonical.com xenial InRelease [11.5 kB]
Get:3 http://archive.ubuntu.com xenial InRelease [247 kB]
Get:4 http://security.ubuntu.com xenial-security/main Sources [36.8 kB]
Get:5 http://archive.canonical.com xenial InRelease [11.5 kB]
Get:6 http://security.ubuntu.com xenial-security/restricted Sources [64 B]
Get:7 http://security.ubuntu.com xenial-security/universe Sources [8944 B]
Get:8 http://archive.canonical.com xenial/partner Sources [2232 B]
Get:9 http://security.ubuntu.com xenial-security/multiverse Sources [728 B]
Get:10 http://security.ubuntu.com xenial-security/main amd64 Packages [134 kB]
Get:11 http://archive.canonical.com xenial/partner amd64 Packages [2712 B]
Get:12 http://au.archive.ubuntu.com xenial InRelease [247 kB]
Get:13 http://security.ubuntu.com xenial-security/restricted amd64 Packages [64 B]
Get:14 http://archive.canonical.com xenial/partner i386 Packages [3016 B]
Get:15 http://security.ubuntu.com xenial-security/universe amd64 Packages [40.3 kB]
Get:16 http://security.ubuntu.com xenial-security/multiverse amd64 Packages [1176 B]
Get:17 http://archive.canonical.com xenial/partner Translation-en [1424 B]
Get:18 http://security.ubuntu.com xenial-security/main i386 Packages [130 kB]
Get:19 http://security.ubuntu.com xenial-security/restricted i386 Packages [64 B]
Get:20 http://archive.canonical.com xenial/partner amd64 Packages [2712 B]
Get:21 http://archive.ubuntu.com xenial/main amd64 Packages [1201 kB]
Get:22 http://security.ubuntu.com xenial-security/universe i386 Packages [40.2 kB]
Get:23 http://security.ubuntu.com xenial-security/multiverse i386 Packages [1344 B]
Get:24 http://archive.canonical.com xenial/partner i386 Packages [3016 B]
Get:25 http://security.ubuntu.com xenial-security/main Translation-en [54.9 kB]
Get:26 http://security.ubuntu.com xenial-security/multiverse Translation-en [628 B]
Get:27 http://archive.canonical.com xenial/partner Translation-en [1424 B]
Get:28 http://security.ubuntu.com xenial-security/restricted Translation-en [64 B]
Get:29 http://security.ubuntu.com xenial-security/universe Translation-en [24.3 kB]
Get:30 http://archive.ubuntu.com xenial/universe amd64 Packages [7532 kB]
Get:31 http://au.archive.ubuntu.com xenial-updates InRelease [95.7 kB]
Get:32 http://au.archive.ubuntu.com xenial/main Sources [868 kB]
Get:33 http://au.archive.ubuntu.com xenial/restricted Sources [4808 B]
Get:34 http://au.archive.ubuntu.com xenial/universe Sources [7728 kB]
Get:35 http://archive.ubuntu.com xenial/restricted amd64 Packages [8344 B]
Get:36 http://archive.ubuntu.com xenial/multiverse amd64 Packages [144 kB]
Get:37 http://archive.ubuntu.com xenial/main i386 Packages [1196 kB]
Get:38 http://archive.ubuntu.com xenial/universe i386 Packages [7512 kB]
Get:39 http://archive.ubuntu.com xenial/restricted i386 Packages [8684 B]
Get:40 http://archive.ubuntu.com xenial/multiverse i386 Packages [140 kB]
Get:41 http://archive.ubuntu.com xenial/main Translation-en [568 kB]
Get:42 http://archive.ubuntu.com xenial/multiverse Translation-en [106 kB]
Get:43 http://archive.ubuntu.com xenial/restricted Translation-en [2908 B]
Get:44 http://archive.ubuntu.com xenial/universe Translation-en [4354 kB]
Get:45 http://au.archive.ubuntu.com xenial/multiverse Sources [179 kB]
Get:46 http://au.archive.ubuntu.com xenial/main amd64 Packages [1201 kB]
Get:47 http://au.archive.ubuntu.com xenial/restricted amd64 Packages [8344 B]
Get:48 http://au.archive.ubuntu.com xenial/universe amd64 Packages [7532 kB]
Get:49 http://au.archive.ubuntu.com xenial/multiverse amd64 Packages [144 kB]
Get:50 http://au.archive.ubuntu.com xenial/main i386 Packages [1196 kB]
Get:51 http://au.archive.ubuntu.com xenial/restricted i386 Packages [8684 B]
Get:52 http://au.archive.ubuntu.com xenial/universe i386 Packages [7512 kB]
Get:53 http://au.archive.ubuntu.com xenial/multiverse i386 Packages [140 kB]
Get:54 http://au.archive.ubuntu.com xenial/main Translation-en [568 kB]
Get:55 http://au.archive.ubuntu.com xenial/multiverse Translation-en [106 kB]
Get:56 http://au.archive.ubuntu.com xenial/restricted Translation-en [2908 B]
Get:57 http://au.archive.ubuntu.com xenial/universe Translation-en [4354 kB]
Get:58 http://au.archive.ubuntu.com xenial-updates/main Sources [180 kB]
Get:59 http://au.archive.ubuntu.com xenial-updates/restricted Sources [64 B]
Get:60 http://au.archive.ubuntu.com xenial-updates/universe Sources [89.9 kB]
Get:61 http://au.archive.ubuntu.com xenial-updates/multiverse Sources [3220 B]
Get:62 http://au.archive.ubuntu.com xenial-updates/main amd64 Packages [373 kB]
Get:63 http://au.archive.ubuntu.com xenial-updates/restricted amd64 Packages [64 B]
Get:64 http://au.archive.ubuntu.com xenial-updates/universe amd64 Packages [319 kB]
Get:65 http://au.archive.ubuntu.com xenial-updates/multiverse amd64 Packages [5488 B]
Get:66 http://au.archive.ubuntu.com xenial-updates/main i386 Packages [368 kB]
Get:67 http://au.archive.ubuntu.com xenial-updates/restricted i386 Packages [64 B]
Get:68 http://au.archive.ubuntu.com xenial-updates/universe i386 Packages [316 kB]
Get:69 http://au.archive.ubuntu.com xenial-updates/multiverse i386 Packages [4280 B]
Get:70 http://au.archive.ubuntu.com xenial-updates/main Translation-en [140 kB]
Get:71 http://au.archive.ubuntu.com xenial-updates/multiverse Translation-en [2428 B]
Get:72 http://au.archive.ubuntu.com xenial-updates/restricted Translation-en [64 B]
Get:73 http://au.archive.ubuntu.com xenial-updates/universe Translation-en [109 kB]
Fetched 57.4 MB in 1min 15s (763 kB/s)
Reading package lists... Done
W: Unknown Multi-Arch type 'no' for package 'compiz-core'
W: Unknown Multi-Arch type 'no' for package 'compiz-gnome'
W: Unknown Multi-Arch type 'no' for package 'libxapian-dev'
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
W: Unknown Multi-Arch type 'no' for package 'kwin'
W: Unknown Multi-Arch type 'no' for package 'kwin-dev'
W: Unknown Multi-Arch type 'no' for package 'kwin-wayland'
W: Unknown Multi-Arch type 'no' for package 'kwin-x11'
W: Unknown Multi-Arch type 'no' for package 'libkf5sysguard-dev'
W: Ignoring Provides line with DepCompareOp for package php-psr-http-message-implementation
W: Ignoring Provides line with DepCompareOp for package php-psr-log-implementation
W: Ignoring Provides line with DepCompareOp for package php-seclib
W: Ignoring Provides line with DepCompareOp for package php-sabre-http
W: Ignoring Provides line with DepCompareOp for package php-math-biginteger
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: Unknown Multi-Arch type 'no' for package 'compiz-core'
W: Unknown Multi-Arch type 'no' for package 'compiz-gnome'
W: Unknown Multi-Arch type 'no' for package 'libxapian-dev'
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
W: Unknown Multi-Arch type 'no' for package 'kwin-dev'
W: Unknown Multi-Arch type 'no' for package 'kwin-wayland'
W: Unknown Multi-Arch type 'no' for package 'kwin-x11'
W: Unknown Multi-Arch type 'no' for package 'libkf5sysguard-dev'
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: Unknown Multi-Arch type 'no' for package 'compiz-core'
W: Unknown Multi-Arch type 'no' for package 'compiz-gnome'
W: Ignoring Provides line with DepCompareOp for package php-math-biginteger
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: Unknown Multi-Arch type 'no' for package 'compiz-core'
W: Unknown Multi-Arch type 'no' for package 'compiz-gnome'
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: You may want to run apt-get update to correct these problems
root@ubuntu:/#
root@ubuntu:/# LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Hit http://archive.canonical.com xenial InRelease
Hit http://security.ubuntu.com xenial-security InRelease
Hit http://archive.ubuntu.com xenial InRelease
Hit http://au.archive.ubuntu.com xenial InRelease
Hit http://archive.canonical.com xenial InRelease
Hit http://security.ubuntu.com xenial-security/main Sources
Hit http://archive.ubuntu.com xenial/main amd64 Packages
Hit http://archive.canonical.com xenial/partner Sources
Hit http://au.archive.ubuntu.com xenial-updates InRelease
Hit http://security.ubuntu.com xenial-security/restricted Sources
Hit http://archive.ubuntu.com xenial/universe amd64 Packages
Hit http://archive.canonical.com xenial/partner amd64 Packages
Hit http://security.ubuntu.com xenial-security/universe Sources
Hit http://archive.ubuntu.com xenial/restricted amd64 Packages
Hit http://au.archive.ubuntu.com xenial/main Sources
Hit http://archive.canonical.com xenial/partner i386 Packages
Hit http://security.ubuntu.com xenial-security/multiverse Sources
Hit http://archive.canonical.com xenial/partner Translation-en
Hit http://archive.ubuntu.com xenial/multiverse amd64 Packages
Hit http://au.archive.ubuntu.com xenial/restricted Sources
Hit http://archive.canonical.com xenial/partner amd64 Packages
Hit http://security.ubuntu.com xenial-security/main amd64 Packages
Hit http://archive.ubuntu.com xenial/main i386 Packages
Hit http://au.archive.ubuntu.com xenial/universe Sources
Hit http://archive.canonical.com xenial/partner i386 Packages
Hit http://security.ubuntu.com xenial-security/restricted amd64 Packages
Hit http://archive.ubuntu.com xenial/universe i386 Packages
Hit http://archive.canonical.com xenial/partner Translation-en
Hit http://security.ubuntu.com xenial-security/universe amd64 Packages
Hit http://au.archive.ubuntu.com xenial/multiverse Sources
Hit http://archive.ubuntu.com xenial/restricted i386 Packages
Hit http://security.ubuntu.com xenial-security/multiverse amd64 Packages
Hit http://archive.ubuntu.com xenial/multiverse i386 Packages
Hit http://au.archive.ubuntu.com xenial/main amd64 Packages
Hit http://security.ubuntu.com xenial-security/main i386 Packages
Hit http://archive.ubuntu.com xenial/main Translation-en
Hit http://au.archive.ubuntu.com xenial/restricted amd64 Packages
Hit http://security.ubuntu.com xenial-security/restricted i386 Packages
Hit http://archive.ubuntu.com xenial/multiverse Translation-en
Hit http://security.ubuntu.com xenial-security/universe i386 Packages
Hit http://archive.ubuntu.com xenial/restricted Translation-en
Hit http://au.archive.ubuntu.com xenial/universe amd64 Packages
Hit http://security.ubuntu.com xenial-security/multiverse i386 Packages
Hit http://archive.ubuntu.com xenial/universe Translation-en
Hit http://au.archive.ubuntu.com xenial/multiverse amd64 Packages
Hit http://security.ubuntu.com xenial-security/main Translation-en
Hit http://au.archive.ubuntu.com xenial/main i386 Packages
Hit http://security.ubuntu.com xenial-security/multiverse Translation-en
Hit http://security.ubuntu.com xenial-security/restricted Translation-en
Hit http://au.archive.ubuntu.com xenial/restricted i386 Packages
Hit http://security.ubuntu.com xenial-security/universe Translation-en
Hit http://au.archive.ubuntu.com xenial/universe i386 Packages
Hit http://au.archive.ubuntu.com xenial/multiverse i386 Packages
Hit http://au.archive.ubuntu.com xenial/main Translation-en
Hit http://au.archive.ubuntu.com xenial/multiverse Translation-en
Hit http://au.archive.ubuntu.com xenial/restricted Translation-en
Hit http://au.archive.ubuntu.com xenial/universe Translation-en
Hit http://au.archive.ubuntu.com xenial-updates/main Sources
Hit http://au.archive.ubuntu.com xenial-updates/restricted Sources
Hit http://au.archive.ubuntu.com xenial-updates/universe Sources
Hit http://au.archive.ubuntu.com xenial-updates/multiverse Sources
Hit http://au.archive.ubuntu.com xenial-updates/main amd64 Packages
Hit http://au.archive.ubuntu.com xenial-updates/restricted amd64 Packages
Hit http://au.archive.ubuntu.com xenial-updates/universe amd64 Packages
Hit http://au.archive.ubuntu.com xenial-updates/multiverse amd64 Packages
Hit http://au.archive.ubuntu.com xenial-updates/main i386 Packages
Hit http://au.archive.ubuntu.com xenial-updates/restricted i386 Packages
Hit http://au.archive.ubuntu.com xenial-updates/universe i386 Packages
Hit http://au.archive.ubuntu.com xenial-updates/multiverse i386 Packages
Hit http://au.archive.ubuntu.com xenial-updates/main Translation-en
Hit http://au.archive.ubuntu.com xenial-updates/multiverse Translation-en
Hit http://au.archive.ubuntu.com xenial-updates/restricted Translation-en
Hit http://au.archive.ubuntu.com xenial-updates/universe Translation-en
Reading package lists... Done
W: Unknown Multi-Arch type 'no' for package 'compiz-core'
W: Unknown Multi-Arch type 'no' for package 'compiz-gnome'
W: Unknown Multi-Arch type 'no' for package 'libxapian-dev'
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
W: Unknown Multi-Arch type 'no' for package 'kwin'
W: Unknown Multi-Arch type 'no' for package 'kwin-dev'
W: Unknown Multi-Arch type 'no' for package 'kwin-wayland'
W: Unknown Multi-Arch type 'no' for package 'kwin-x11'
W: Unknown Multi-Arch type 'no' for package 'libkf5sysguard-dev'
W: Ignoring Provides line with DepCompareOp for package php-psr-http-message-implementation
W: Ignoring Provides line with DepCompareOp for package php-psr-log-implementation
W: Ignoring Provides line with DepCompareOp for package php-seclib
W: Ignoring Provides line with DepCompareOp for package php-sabre-http
W: Ignoring Provides line with DepCompareOp for package php-math-biginteger
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: Unknown Multi-Arch type 'no' for package 'compiz-core'
W: Unknown Multi-Arch type 'no' for package 'compiz-gnome'
W: Unknown Multi-Arch type 'no' for package 'libxapian-dev'
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
W: Unknown Multi-Arch type 'no' for package 'kwin-dev'
W: Unknown Multi-Arch type 'no' for package 'kwin-wayland'
W: Unknown Multi-Arch type 'no' for package 'kwin-x11'
W: Unknown Multi-Arch type 'no' for package 'libkf5sysguard-dev'
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: Unknown Multi-Arch type 'no' for package 'compiz-core'
W: Unknown Multi-Arch type 'no' for package 'compiz-gnome'
W: Ignoring Provides line with DepCompareOp for package php-math-biginteger
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: Unknown Multi-Arch type 'no' for package 'compiz-core'
W: Unknown Multi-Arch type 'no' for package 'compiz-gnome'
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: You may want to run apt-get update to correct these problems
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:
 accountsservice : Depends: libaccountsservice0 (= 0.6.35-0ubuntu7.2) but 0.6.40-2ubuntu11.1 is installed
 appmenu-qt5 : Depends: qtbase-abi-5-2-1 but it is not installable
 cheese : Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 context : Depends: luatex (>= 0.76)
           Recommends: fonts-freefont but it is not installable
 deja-dup : Depends: libgnome-control-center1 (>= 1:3.3.5) but it is not installable
 empathy : Depends: libcogl15 (>= 1.15.8) but it is not installable
           Recommends: gnome-contacts but it is not installed
 evolution-data-server-online-accounts : Depends: evolution-data-server-common (= 3.10.4-0ubuntu1.5) but 3.18.5-1ubuntu1 is installed
 gdm : Depends: libgdm1 (= 3.10.0.1-0ubuntu3.2) but 3.18.3-0ubuntu2 is installed
       Depends: gir1.2-gdm-1.0 (= 3.10.0.1-0ubuntu3.2) but 3.18.3-0ubuntu2 is installed
 gir1.2-cogl-1.0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 gir1.2-freedesktop : Depends: gir1.2-glib-2.0 (= 1.40.0-1ubuntu0.2) but 1.46.0-3ubuntu1 is installed
 gnome-bluetooth : Depends: gir1.2-gnomebluetooth-1.0 (= 3.8.2.1-0ubuntu4.2) but 3.18.2-1ubuntu2 is installed
 gnome-themes-standard : Depends: gnome-themes-standard-data (= 3.10.0-1ubuntu2) but 3.18.0-2ubuntu1 is installed
 gstreamer1.0-clutter : Depends: libcogl15 (>= 1.15.8) but it is not installable
 indicator-datetime : Depends: libical1 (>= 1.0) but it is not installable
 libalgorithm-diff-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 libapparmor-perl : Depends: perlapi-5.18.2 but it is not installable
 libapt-pkg-perl : Depends: perlapi-5.18.1 but it is not installable
 libarchive13 : Depends: libnettle4 (>= 2.3) but it is not installable
 libc-dev-bin : Depends: libc6 (< 2.20) but 2.23-0ubuntu3 is installed
 libc6-dbg : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libc6-dev : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libc6-i386 : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libcairo-perl : Depends: perlapi-5.18.1 but it is not installable
 libcheese-gtk23 : Depends: libcogl15 (>= 1.15.8) but it is not installable
                   Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 libcheese7 : Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 libclone-perl : Depends: perlapi-5.18.1 but it is not installable
 libclutter-gst-2.0-0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libclutter-gtk-1.0-0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libcogl-pango15 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libcommon-sense-perl : Depends: perl (< 5.18.3~) but 5.22.1-9 is installed
 libcupscgi1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsimage2 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsmime1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsppdc1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libdatetime-perl : Depends: perlapi-5.18.1 but it is not installable
 libecal-1.2-16 : Depends: libical1 (>= 1.0) but it is not installable
 libedata-cal-1.2-23 : Depends: libical1 (>= 1.0) but it is not installable
 libfile-fcntllock-perl : Depends: perlapi-5.18.1 but it is not installable
 libgail-3-0 : Depends: libgtk-3-0 (= 3.10.8-0ubuntu1.6) but 3.18.9-1ubuntu3.1 is installed
 libglib-perl : Depends: perlapi-5.18.1 but it is not installable
 libglib2.0-bin : Depends: libglib2.0-0 (= 2.40.2-0ubuntu1) but 2.48.1-1~ubuntu16.04.1 is installed
 libgmp-dev : Depends: libgmp10 (= 2:5.1.3+dfsg-1ubuntu1) but 2:6.1.0+dfsg-2 is installed
 libgoa-backend-1.0-1 : Depends: libgoa-1.0-common (= 3.10.3-0ubuntu1) but 3.18.3-1ubuntu2 is installed
 libgtk2-perl : Depends: perlapi-5.18.2 but it is not installable
 libhtml-parser-perl : Depends: perlapi-5.18.1 but it is not installable
 libio-pty-perl : Depends: perlapi-5.18.1 but it is not installable
 libjson-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 liblist-moreutils-perl : Depends: perlapi-5.18.1 but it is not installable
 liblocale-gettext-perl : PreDepends: perlapi-5.18.1 but it is not installable
 libncurses5 : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libncurses5-dev : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libnet-dns-perl : Depends: perlapi-5.18.1 but it is not installable
 libnet-libidn-perl : Depends: perlapi-5.18.1 but it is not installable
 libnet-ssleay-perl : Depends: perlapi-5.18.2 but it is not installable
 liboxideqt-qmlplugin : Depends: qtbase-abi-5-2-1 but it is not installable
 libpackage-stash-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 libpango-perl : Depends: perlapi-5.18.1 but it is not installable
 libpango1.0-0 : Depends: libpango-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
                 Depends: libpangocairo-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
                 Depends: libpangoft2-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
 libparams-classify-perl : Depends: perlapi-5.18.1 but it is not installable
 libparams-util-perl : Depends: perlapi-5.18.1 but it is not installable
 libparams-validate-perl : Depends: perlapi-5.18.1 but it is not installable
 libpci-dev : Depends: libpci3 (= 1:3.2.1-1ubuntu5.1) but 1:3.3.1-1.1ubuntu1 is installed
 libperl5.18 : Depends: perl-base (= 5.18.2-2ubuntu1.1) but 5.22.1-9 is installed
 libperlio-gzip-perl : Depends: perlapi-5.18.1 but it is not installable
 libpurple0 : Depends: perlapi-5.18.2 but it is not installable
 libqt5dbus5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5multimedia5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5network5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5opengl5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5organizer5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5positioning5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5printsupport5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5qml5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5quick5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sensors5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sql5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sql5-sqlite : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5svg5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5webkit5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5widgets5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5xml5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libreoffice-math : Depends: libreoffice-core (= 1:4.2.8-0ubuntu4) but 1:5.1.4-0ubuntu1 is installed
 libsocket6-perl : Depends: perlapi-5.18.2 but it is not installable
 libstreamanalyzer0 : Depends: libclucene-core1 (>= 2.3.3.4) but it is not installable
 libsub-identify-perl : Depends: perlapi-5.18.1 but it is not installable
 libsub-name-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-charwidth-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-iconv-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-soundex-perl : Depends: perlapi-5.18.1 but it is not installable
 libtinfo-dev : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libtotem0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libuuid-perl : Depends: perlapi-5.18.1 but it is not installable
 libxml-libxml-perl : Depends: perlapi-5.18.2 but it is not installable
 libxml-libxslt-perl : Depends: perlapi-5.18.1 but it is not installable
 libxml-parser-perl : Depends: perlapi-5.18.1 but it is not installable
 libzeromq-perl : Depends: perlapi-5.18.1 but it is not installable
 m-tx : Depends: luatex
        Recommends: musixlyr (>= 1.10-4)
 musixtex : Depends: luatex
 onboard : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 p11-kit-modules : Depends: libp11-kit0 (= 0.20.2-2ubuntu2) but 0.23.2-3 is installed
 pciutils : Depends: libpci3 (= 1:3.2.1-1ubuntu5.1) but 1:3.3.1-1.1ubuntu1 is installed
 pmx : Depends: luatex
 python-gi-cairo : Depends: python-gi (= 3.12.0-1ubuntu1) but 3.20.0-0ubuntu1 is installed
 python3-apt : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-brlapi : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-cairo : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-crypto : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-dbus : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-gdbm : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-gi-cairo : Depends: python3 (< 3.5) but 3.5.1-3 is installed
                    Depends: python3-gi (= 3.12.0-1ubuntu1) but 3.20.0-0ubuntu1 is installed
 python3-lxml : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-markupsafe : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-pkg-resources : Depends: python3:any (< 3.5)
 python3-pycurl : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-uno : Depends: libreoffice-core (= 1:4.2.8-0ubuntu4) but 1:5.1.4-0ubuntu1 is installed
 qtdeclarative5-dialogs-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 qtdeclarative5-privatewidgets-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 qtdeclarative5-ubuntu-ui-toolkit-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 rhythmbox : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 rhythmbox-plugins : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 texlive-base : Depends: luatex (>= 0.70.1)
 texlive-extra-utils : Depends: luatex
 texlive-full : Depends: texlive-bibtex-extra (>= 2013.20130512) but it is not installed
                Depends: texlive-latex-base-doc (>= 2013.20130512) but it is not installed
 texlive-lang-cjk : Depends: luatex
 texlive-latex-extra : Depends: luatex
 texlive-luatex : Depends: luatex (>= 0.70.1)
 texlive-music : Depends: luatex
 texlive-pictures : Depends: luatex
 totem : Depends: libcogl15 (>= 1.15.8) but it is not installable
 tth-common : Depends: texlive but it is not installed
 unity-settings-daemon : Depends: gnome-settings-daemon-schemas (< 3.10) but 3.18.2-0ubuntu3 is installed
 ure : Depends: uno-libs3 (= 4.2.8-0ubuntu4) but 5.1.4-0ubuntu1 is installed
E: Unmet dependencies. Try using -f.
root@ubuntu:/#
root@ubuntu:/# find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list.d/neurodebian.sources.list

     1 # deb http://mirror.aarnet.edu.au/pub/neurodebian data main contrib non-free # disabled on upgrade to xenial
     2 # deb-src http://mirror.aarnet.edu.au/pub/neurodebian data main contrib non-free
     3 # deb http://mirror.aarnet.edu.au/pub/neurodebian lucid main contrib non-free # disabled on upgrade to xenial
     4 # deb-src http://mirror.aarnet.edu.au/pub/neurodebian lucid main contrib non-free

/etc/apt/sources.list.d/webupd8team-sublime-text-3-trusty.list

     1 # deb http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial main # disabled on upgrade to xenial
     2 # deb-src http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu trusty main

/etc/apt/sources.list.d/mendeleydesktop.list

     1 # This file lists the repositories for Mendeley Desktop.
     2 #
     3 # These repositories should work with most recent Debian/Ubuntu-based Linux
     4 # distributions.
     5 #
     6 # If you have any problems with Mendeley's Debian/Ubuntu repositories,
     7 # you can let us know at http://feedback.mendeley.com
     8 #
     9 # The distribution name sets the release channel you want to use,
    10 # which can be either "stable" or "preview"
    11
    12 # deb http://desktop-download.mendeley.com/download/apt preview main # disabled on upgrade to xenial

/etc/apt/sources.list.d/vikoadi-ppa-trusty.list

     1 # deb http://ppa.launchpad.net/vikoadi/ppa/ubuntu xenial main # disabled on upgrade to xenial
     2 # deb-src http://ppa.launchpad.net/vikoadi/ppa/ubuntu trusty main
     3 # deb-src http://ppa.launchpad.net/vikoadi/ppa/ubuntu trusty main

/etc/apt/sources.list.d/yannubuntu-boot-repair-trusty.list

     1 # deb-src http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu trusty main

/etc/apt/sources.list.d/slack.list

     1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2 # You may comment out this entry, but any other modifications may be lost.
     3 # deb https://packagecloud.io/slacktechnologies/slack/debian/ jessie main # disabled on upgrade to xenial

/etc/apt/sources.list.d/google-talkplugin.list

     1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2 # You may comment out this entry, but any other modifications may be lost.
     3 # deb http://dl.google.com/linux/talkplugin/deb/ stable main # disabled on upgrade to xenial

/etc/apt/sources.list.d/atareao-atareao-trusty.list

     1 # deb http://ppa.launchpad.net/atareao/atareao/ubuntu xenial main # disabled on upgrade to xenial
     2 # deb-src http://ppa.launchpad.net/atareao/atareao/ubuntu trusty main

/etc/apt/sources.list.d/nodesource.list

     1 # deb https://deb.nodesource.com/node xenial main # disabled on upgrade to xenial
     2 # deb-src https://deb.nodesource.com/node xenial main # disabled on upgrade to xenial

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.2)]/ trusty main restricted
     2
     3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4 # newer versions of the distribution.
     5 deb http://au.archive.ubuntu.com/ubuntu/ xenial main restricted
     6 deb-src http://au.archive.ubuntu.com/ubuntu/ xenial main restricted
     7
     8
     9 # I added this will it break
    10 # deb http://ftp2.de.debian.org/debian/ squeeze main non-free contrib
    11
    12 ## Major bug fix updates produced after the final release of the
    13 ## distribution.
    14 deb http://au.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
    15 deb-src http://au.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
    16
    17 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    18 ## team. Also, please note that software in universe WILL NOT receive any
    19 ## review or updates from the Ubuntu security team.
    20 deb http://au.archive.ubuntu.com/ubuntu/ xenial universe
    21 deb-src http://au.archive.ubuntu.com/ubuntu/ xenial universe
    22 deb http://au.archive.ubuntu.com/ubuntu/ xenial-updates universe
    23 deb-src http://au.archive.ubuntu.com/ubuntu/ xenial-updates universe
    24
    25 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    26 ## team, and may not be under a free licence. Please satisfy yourself as to
    27 ## your rights to use the software. Also, please note that software in
    28 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    29 ## security team.
    30 deb http://au.archive.ubuntu.com/ubuntu/ xenial multiverse
    31 deb-src http://au.archive.ubuntu.com/ubuntu/ xenial multiverse
    32 deb http://au.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
    33 deb-src http://au.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
    34
    35 ## N.B. software from this repository may not have been tested as
    36 ## extensively as that contained in the main release, although it includes
    37 ## newer versions of some applications which may provide useful features.
    38 ## Also, please note that software in backports WILL NOT receive any review
    39 ## or updates from the Ubuntu security team.
    40
    41 deb http://security.ubuntu.com/ubuntu xenial-security main restricted
    42 deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
    43 deb http://security.ubuntu.com/ubuntu xenial-security universe
    44 deb-src http://security.ubuntu.com/ubuntu xenial-security universe
    45 deb http://security.ubuntu.com/ubuntu xenial-security multiverse
    46 deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
    47
    48 ## Uncomment the following two lines to add software from Canonical's
    49 ## 'partner' repository.
    50 ## This software is not part of Ubuntu, but is offered by Canonical and the
    51 ## respective vendors as a service to Ubuntu users.
    52 deb http://archive.canonical.com/ubuntu xenial partner
    53 deb-src http://archive.canonical.com/ubuntu xenial partner
    54
    55 deb http://archive.canonical.com/ xenial partner
    56 # deb-src http://archive.canonical.com/ trusty partner
    57 deb http://archive.ubuntu.com/ubuntu xenial main universe restricted multiverse
root@ubuntu:/#
root@ubuntu:/# sudo dpkg --audit
The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
 tex-common common infrastructure for building and installing TeX

root@ubuntu:/# dpkg --configure tex-live
dpkg: error processing package tex-live (--configure):
 no package named 'tex-live' is installed, cannot configure
Errors were encountered while processing:
 tex-live
root@ubuntu:/# dpkg --configure texlive
dpkg: error processing package texlive (--configure):
 no package named 'texlive' is installed, cannot configure
Errors were encountered while processing:
 texlive
root@ubuntu:/# dpkg --configure tex-common
Setting up tex-common (4.04) ...
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^(.*?)(\\)?\${ <-- HERE ([^{}]+)}(.*)$/ at /usr/share/perl5/Debconf/Question.pm line 72.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^}]+)}/ at /usr/share/perl5/Debconf/Config.pm line 30.
Running mktexlsr. This may take some time... done.
Running mtxrun --generate. This may take some time...
mtxrun --generate failed. Output has been stored in
/tmp/mtxrun.2Pc3YSw3
Please include this file if you report a bug.

dpkg: error processing package tex-common (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 tex-common
root@ubuntu:/# cat /tmp/mtxrun.2Pc3YSw3
/usr/bin/env: texlua: No such file or directory

root@ubuntu:/# ubuntu-support-status
Traceback (most recent call last):
  File "/usr/bin/ubuntu-support-status", line 5, in <module>
    import apt
  File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
    import apt_pkg
ImportError: No module named 'apt_pkg'
root@ubuntu:/# sudo pip install apt_pkg
Downloading/unpacking apt-pkg
  Could not find any downloads that satisfy the requirement apt-pkg
Cleaning up...
No distributions at all found for apt-pkg
Storing debug log for failure in /root/.pip/pip.log
root@ubuntu:/# pip3
Traceback (most recent call last):
  File "/usr/lib/python3.5/dbm/gnu.py", line 4, in <module>
    from _gdbm import *
ImportError: No module named '_gdbm'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 7, in <module>
    import dbm.gnu as gdbm
  File "/usr/lib/python3.5/dbm/gnu.py", line 6, in <module>
    raise ImportError(str(msg) + ', please install the python3-gdbm package')
ImportError: No module named '_gdbm', please install the python3-gdbm package

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/command-not-found", line 27, in <module>
    from CommandNotFound.util import crash_guard
  File "/usr/lib/python3/dist-packages/CommandNotFound/__init__.py", line 3, in <module>
    from CommandNotFound.CommandNotFound import CommandNotFound
  File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 9, in <module>
    import gdbm
ImportError: No module named 'gdbm'
root@ubuntu:/# sudo pip3 install apt_pkg
sudo: pip3: command not found
root@ubuntu:/# synaptics
Traceback (most recent call last):
  File "/usr/lib/python3.5/dbm/gnu.py", line 4, in <module>
    from _gdbm import *
ImportError: No module named '_gdbm'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 7, in <module>
    import dbm.gnu as gdbm
  File "/usr/lib/python3.5/dbm/gnu.py", line 6, in <module>
    raise ImportError(str(msg) + ', please install the python3-gdbm package')
ImportError: No module named '_gdbm', please install the python3-gdbm package

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/command-not-found", line 27, in <module>
    from CommandNotFound.util import crash_guard
  File "/usr/lib/python3/dist-packages/CommandNotFound/__init__.py", line 3, in <module>
    from CommandNotFound.CommandNotFound import CommandNotFound
  File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 9, in <module>
    import gdbm
ImportError: No module named 'gdbm'
root@ubuntu:/# synaptics
Traceback (most recent call last):
  File "/usr/lib/python3.5/dbm/gnu.py", line 4, in <module>
    from _gdbm import *
ImportError: No module named '_gdbm'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 7, in <module>
    import dbm.gnu as gdbm
  File "/usr/lib/python3.5/dbm/gnu.py", line 6, in <module>
    raise ImportError(str(msg) + ', please install the python3-gdbm package')
ImportError: No module named '_gdbm', please install the python3-gdbm package

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/command-not-found", line 27, in <module>
    from CommandNotFound.util import crash_guard
  File "/usr/lib/python3/dist-packages/CommandNotFound/__init__.py", line 3, in <module>
    from CommandNotFound.CommandNotFound import CommandNotFound
  File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 9, in <module>
    import gdbm
ImportError: No module named 'gdbm'

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

What result do you get for

sudo apt-get install -f

Revision history for this message
neuroStuff (colouredstatic) said :
#8

Hi Manfred,

This is the output from sudo apt-get install -f

root@ubuntu:/# sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
 accountsservice : Depends: libaccountsservice0 (= 0.6.35-0ubuntu7.2) but 0.6.40-2ubuntu11.1 is installed
 appmenu-qt5 : Depends: qtbase-abi-5-2-1 but it is not installable
 cheese : Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 context : Depends: luatex (>= 0.76)
           Recommends: fonts-freefont but it is not installable
 deja-dup : Depends: libgnome-control-center1 (>= 1:3.3.5) but it is not installable
 empathy : Depends: libcogl15 (>= 1.15.8) but it is not installable
           Recommends: gnome-contacts but it is not installed
 evolution-data-server-online-accounts : Depends: evolution-data-server-common (= 3.10.4-0ubuntu1.5) but 3.18.5-1ubuntu1 is installed
 gdm : Depends: libgdm1 (= 3.10.0.1-0ubuntu3.2) but 3.18.3-0ubuntu2 is installed
       Depends: gir1.2-gdm-1.0 (= 3.10.0.1-0ubuntu3.2) but 3.18.3-0ubuntu2 is installed
 gir1.2-cogl-1.0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 gir1.2-freedesktop : Depends: gir1.2-glib-2.0 (= 1.40.0-1ubuntu0.2) but 1.46.0-3ubuntu1 is installed
 gnome-bluetooth : Depends: gir1.2-gnomebluetooth-1.0 (= 3.8.2.1-0ubuntu4.2) but 3.18.2-1ubuntu2 is installed
 gnome-themes-standard : Depends: gnome-themes-standard-data (= 3.10.0-1ubuntu2) but 3.18.0-2ubuntu1 is installed
 gstreamer1.0-clutter : Depends: libcogl15 (>= 1.15.8) but it is not installable
 indicator-datetime : Depends: libical1 (>= 1.0) but it is not installable
 libalgorithm-diff-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 libapparmor-perl : Depends: perlapi-5.18.2 but it is not installable
 libapt-pkg-perl : Depends: perlapi-5.18.1 but it is not installable
 libarchive13 : Depends: libnettle4 (>= 2.3) but it is not installable
 libc-dev-bin : Depends: libc6 (< 2.20) but 2.23-0ubuntu3 is installed
 libc6-dbg : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libc6-dev : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libc6-i386 : Depends: libc6 (= 2.19-0ubuntu6.9) but 2.23-0ubuntu3 is installed
 libcairo-perl : Depends: perlapi-5.18.1 but it is not installable
 libcheese-gtk23 : Depends: libcogl15 (>= 1.15.8) but it is not installable
                   Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 libcheese7 : Depends: cheese-common (= 3.10.2-0ubuntu2) but 3.18.1-2ubuntu3 is installed
 libclone-perl : Depends: perlapi-5.18.1 but it is not installable
 libclutter-gst-2.0-0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libclutter-gtk-1.0-0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libcogl-pango15 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libcommon-sense-perl : Depends: perl (< 5.18.3~) but 5.22.1-9 is installed
 libcupscgi1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsimage2 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsmime1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libcupsppdc1 : Depends: libcups2 (= 1.7.2-0ubuntu1.7) but 2.1.3-4 is installed
 libdatetime-perl : Depends: perlapi-5.18.1 but it is not installable
 libecal-1.2-16 : Depends: libical1 (>= 1.0) but it is not installable
 libedata-cal-1.2-23 : Depends: libical1 (>= 1.0) but it is not installable
 libfile-fcntllock-perl : Depends: perlapi-5.18.1 but it is not installable
 libgail-3-0 : Depends: libgtk-3-0 (= 3.10.8-0ubuntu1.6) but 3.18.9-1ubuntu3.1 is installed
 libglib-perl : Depends: perlapi-5.18.1 but it is not installable
 libglib2.0-bin : Depends: libglib2.0-0 (= 2.40.2-0ubuntu1) but 2.48.1-1~ubuntu16.04.1 is installed
 libgmp-dev : Depends: libgmp10 (= 2:5.1.3+dfsg-1ubuntu1) but 2:6.1.0+dfsg-2 is installed
 libgoa-backend-1.0-1 : Depends: libgoa-1.0-common (= 3.10.3-0ubuntu1) but 3.18.3-1ubuntu2 is installed
 libgtk2-perl : Depends: perlapi-5.18.2 but it is not installable
 libhtml-parser-perl : Depends: perlapi-5.18.1 but it is not installable
 libio-pty-perl : Depends: perlapi-5.18.1 but it is not installable
 libjson-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 liblist-moreutils-perl : Depends: perlapi-5.18.1 but it is not installable
 liblocale-gettext-perl : PreDepends: perlapi-5.18.1 but it is not installable
 libncurses5 : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libncurses5-dev : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libnet-dns-perl : Depends: perlapi-5.18.1 but it is not installable
 libnet-libidn-perl : Depends: perlapi-5.18.1 but it is not installable
 libnet-ssleay-perl : Depends: perlapi-5.18.2 but it is not installable
 liboxideqt-qmlplugin : Depends: qtbase-abi-5-2-1 but it is not installable
 libpackage-stash-xs-perl : Depends: perlapi-5.18.1 but it is not installable
 libpango-perl : Depends: perlapi-5.18.1 but it is not installable
 libpango1.0-0 : Depends: libpango-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
                 Depends: libpangocairo-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
                 Depends: libpangoft2-1.0-0 (= 1.36.3-1ubuntu1.1) but 1.38.1-1 is installed
 libparams-classify-perl : Depends: perlapi-5.18.1 but it is not installable
 libparams-util-perl : Depends: perlapi-5.18.1 but it is not installable
 libparams-validate-perl : Depends: perlapi-5.18.1 but it is not installable
 libpci-dev : Depends: libpci3 (= 1:3.2.1-1ubuntu5.1) but 1:3.3.1-1.1ubuntu1 is installed
 libperl5.18 : Depends: perl-base (= 5.18.2-2ubuntu1.1) but 5.22.1-9 is installed
 libperlio-gzip-perl : Depends: perlapi-5.18.1 but it is not installable
 libpurple0 : Depends: perlapi-5.18.2 but it is not installable
 libqt5dbus5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5multimedia5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5network5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5opengl5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5organizer5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5positioning5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5printsupport5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5qml5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5quick5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sensors5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sql5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5sql5-sqlite : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5svg5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5webkit5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5widgets5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libqt5xml5 : Depends: qtbase-abi-5-2-1 but it is not installable
 libreoffice-math : Depends: libreoffice-core (= 1:4.2.8-0ubuntu4) but 1:5.1.4-0ubuntu1 is installed
 libsocket6-perl : Depends: perlapi-5.18.2 but it is not installable
 libstreamanalyzer0 : Depends: libclucene-core1 (>= 2.3.3.4) but it is not installable
 libsub-identify-perl : Depends: perlapi-5.18.1 but it is not installable
 libsub-name-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-charwidth-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-iconv-perl : Depends: perlapi-5.18.1 but it is not installable
 libtext-soundex-perl : Depends: perlapi-5.18.1 but it is not installable
 libtinfo-dev : Depends: libtinfo5 (= 5.9+20140118-1ubuntu1) but 6.0+20160213-1ubuntu1 is installed
 libtotem0 : Depends: libcogl15 (>= 1.15.8) but it is not installable
 libuuid-perl : Depends: perlapi-5.18.1 but it is not installable
 libxml-libxml-perl : Depends: perlapi-5.18.2 but it is not installable
 libxml-libxslt-perl : Depends: perlapi-5.18.1 but it is not installable
 libxml-parser-perl : Depends: perlapi-5.18.1 but it is not installable
 libzeromq-perl : Depends: perlapi-5.18.1 but it is not installable
 m-tx : Depends: luatex
        Recommends: musixlyr (>= 1.10-4)
 musixtex : Depends: luatex
 onboard : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 p11-kit-modules : Depends: libp11-kit0 (= 0.20.2-2ubuntu2) but 0.23.2-3 is installed
 pciutils : Depends: libpci3 (= 1:3.2.1-1ubuntu5.1) but 1:3.3.1-1.1ubuntu1 is installed
 pmx : Depends: luatex
 python-gi-cairo : Depends: python-gi (= 3.12.0-1ubuntu1) but 3.20.0-0ubuntu1 is installed
 python3-apt : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-brlapi : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-cairo : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-crypto : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-dbus : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-gdbm : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-gi-cairo : Depends: python3 (< 3.5) but 3.5.1-3 is installed
                    Depends: python3-gi (= 3.12.0-1ubuntu1) but 3.20.0-0ubuntu1 is installed
 python3-lxml : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-markupsafe : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-pkg-resources : Depends: python3:any (< 3.5)
 python3-pycurl : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 python3-uno : Depends: libreoffice-core (= 1:4.2.8-0ubuntu4) but 1:5.1.4-0ubuntu1 is installed
 qtdeclarative5-dialogs-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 qtdeclarative5-privatewidgets-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 qtdeclarative5-ubuntu-ui-toolkit-plugin : Depends: qtbase-abi-5-2-1 but it is not installable
 rhythmbox : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 rhythmbox-plugins : Depends: python3 (< 3.5) but 3.5.1-3 is installed
 texlive-base : Depends: luatex (>= 0.70.1)
 texlive-extra-utils : Depends: luatex
 texlive-full : Depends: texlive-bibtex-extra (>= 2013.20130512) but it is not installed
                Depends: texlive-latex-base-doc (>= 2013.20130512) but it is not installed
 texlive-lang-cjk : Depends: luatex
 texlive-latex-extra : Depends: luatex
 texlive-luatex : Depends: luatex (>= 0.70.1)
 texlive-music : Depends: luatex
 texlive-pictures : Depends: luatex
 totem : Depends: libcogl15 (>= 1.15.8) but it is not installable
 tth-common : Depends: texlive but it is not installed
 unity-settings-daemon : Depends: gnome-settings-daemon-schemas (< 3.10) but 3.18.2-0ubuntu3 is installed
 ure : Depends: uno-libs3 (= 4.2.8-0ubuntu4) but 5.1.4-0ubuntu1 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

This does not look good. There are several broken dependencies, even for core packages.

What is the output of

apt-cache policy libc6 libc-dev-bin libc6-dbg libc6-dev libc6-i386

Revision history for this message
neuroStuff (colouredstatic) said :
#10

Good morning Manfred,

Thanks again for your help. Output is below.

ubuntu@ubuntu:~$ sudo mount /dev/sda7 /mnt
ubuntu@ubuntu:~$ chroot /mnt
ubuntu@ubuntu:~$ sudo chroot /mnt
root@ubuntu:/# apt-cache policy libc6 libc-dev-bin libc6-dbg libc6-dev libc6-i386
libc6:
  Installed: 2.23-0ubuntu3
  Candidate: 2.23-0ubuntu3
  Version table:
 *** 2.23-0ubuntu3 0
        500 http://au.archive.ubuntu.com/ubuntu/ xenial/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu/ xenial/main amd64 Packages
        100 /var/lib/dpkg/status
libc-dev-bin:
  Installed: 2.19-0ubuntu6.9
  Candidate: 2.23-0ubuntu3
  Version table:
     2.23-0ubuntu3 0
        500 http://au.archive.ubuntu.com/ubuntu/ xenial/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu/ xenial/main amd64 Packages
 *** 2.19-0ubuntu6.9 0
        100 /var/lib/dpkg/status
libc6-dbg:
  Installed: 2.19-0ubuntu6.9
  Candidate: 2.23-0ubuntu3
  Version table:
     2.23-0ubuntu3 0
        500 http://au.archive.ubuntu.com/ubuntu/ xenial/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu/ xenial/main amd64 Packages
 *** 2.19-0ubuntu6.9 0
        100 /var/lib/dpkg/status
libc6-dev:
  Installed: 2.19-0ubuntu6.9
  Candidate: 2.23-0ubuntu3
  Version table:
     2.23-0ubuntu3 0
        500 http://au.archive.ubuntu.com/ubuntu/ xenial/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu/ xenial/main amd64 Packages
 *** 2.19-0ubuntu6.9 0
        100 /var/lib/dpkg/status
libc6-i386:
  Installed: 2.19-0ubuntu6.9
  Candidate: 2.23-0ubuntu3
  Version table:
     2.23-0ubuntu3 0
        500 http://au.archive.ubuntu.com/ubuntu/ xenial/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu/ xenial/main amd64 Packages
 *** 2.19-0ubuntu6.9 0
        100 /var/lib/dpkg/status
root@ubuntu:/# sudo apt-cache policy libc6 libc-dev-bin libc6-dbg libc6-dev libc6-i386
libc6:
  Installed: 2.23-0ubuntu3
  Candidate: 2.23-0ubuntu3
  Version table:
 *** 2.23-0ubuntu3 0
        500 http://au.archive.ubuntu.com/ubuntu/ xenial/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu/ xenial/main amd64 Packages
        100 /var/lib/dpkg/status
libc-dev-bin:
  Installed: 2.19-0ubuntu6.9
  Candidate: 2.23-0ubuntu3
  Version table:
     2.23-0ubuntu3 0
        500 http://au.archive.ubuntu.com/ubuntu/ xenial/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu/ xenial/main amd64 Packages
 *** 2.19-0ubuntu6.9 0
        100 /var/lib/dpkg/status
libc6-dbg:
  Installed: 2.19-0ubuntu6.9
  Candidate: 2.23-0ubuntu3
  Version table:
     2.23-0ubuntu3 0
        500 http://au.archive.ubuntu.com/ubuntu/ xenial/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu/ xenial/main amd64 Packages
 *** 2.19-0ubuntu6.9 0
        100 /var/lib/dpkg/status
libc6-dev:
  Installed: 2.19-0ubuntu6.9
  Candidate: 2.23-0ubuntu3
  Version table:
     2.23-0ubuntu3 0
        500 http://au.archive.ubuntu.com/ubuntu/ xenial/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu/ xenial/main amd64 Packages
 *** 2.19-0ubuntu6.9 0
        100 /var/lib/dpkg/status
libc6-i386:
  Installed: 2.19-0ubuntu6.9
  Candidate: 2.23-0ubuntu3
  Version table:
     2.23-0ubuntu3 0
        500 http://au.archive.ubuntu.com/ubuntu/ xenial/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu/ xenial/main amd64 Packages
 *** 2.19-0ubuntu6.9 0
        100 /var/lib/dpkg/status
root@ubuntu:/#

Revision history for this message
Manfred Hampl (m-hampl) said :
#11

This does not look good.
I assume the quickest way to recover is a new installation.

If you still want to try repairing the current installation, my proposal would be to go through the list of broken packages in a block-wise fashion. First block probably has to be tex (because the tex-common package is not configured). Next one could be libc6 and related packages, then python3 and so on.

What output do you get for the command

sudo apt-get install texlive-base texlive-binaries texlive-extra-utils texlive-full texlive-bibtex-extra texlive-latex-base-doc texlive-lang-cjk texlive-latex-extra texlive-luatex texlive-music texlive-pictures -f

Revision history for this message
Launchpad Janitor (janitor) said :
#12

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.