After a fresh 14.04.1 install I removed a few packages, disabled updates (because updating causes suspend/sleep not to work), ran apt-get update
and apt-get upgrade
(which of course printed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
), and finally tried installing packages with apt-get
, but I get this error message:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
clang-3.3 : Breaks: clang-3.4 but 1:3.4-1ubuntu3 is to be installed
clang-3.4 : Breaks: clang-3.3 but 1:3.3-16ubuntu1 is to be installed
clang-3.5 : Breaks: clang but 1:3.4-0ubuntu1 is to be installed
Breaks: clang-3.3 but 1:3.3-16ubuntu1 is to be installed
Breaks: clang-3.4 but 1:3.4-1ubuntu3 is to be installed
clang-format-3.3 : Breaks: clang-format-3.4 but 1:3.4-1ubuntu3 is to be installed
clang-format-3.4 : Breaks: clang-format-3.3 but 1:3.3-16ubuntu1 is to be installed
clang-format-3.5 : Breaks: clang-format-3.3 but 1:3.3-16ubuntu1 is to be installed
epiphany-browser : Depends: libwebkit2gtk-3.0-25 (>= 2.1.4) but it is not going to be installed
libreoffice : Depends: libreoffice-base but it is not going to be installed
Depends: libreoffice-core (= 1:4.2.3~rc3-0ubuntu2) but 1:4.2.4-0ubuntu2 is to be installed
Depends: libreoffice-report-builder-bin but it is not going to be installed
octave : Depends: default-jre-headless but it is not going to be installed
openshot : Depends: gtk2-engines-pixbuf but it is not going to be installed
python-clang-3.3 : Breaks: python-clang-3.4 but 1:3.4-1ubuntu3 is to be installed
python-clang-3.4 : Breaks: python-clang-3.3 but 1:3.3-16ubuntu1 is to be installed
Breaks: python-clang-3.5 but 1:3.5~svn201651-1ubuntu1 is to be installed
python-clang-3.5 : Breaks: python-clang-3.3 but 1:3.3-16ubuntu1 is to be installed
Breaks: python-clang-3.4 but 1:3.4-1ubuntu3 is to be installed
E: Unable to correct problems, you have held broken packages.
Both:
dpkg --get-selections | grep hold
And:
apt-mark showhold
Return nothing.
I suspect this is caused by the disabled update sources. If yes, then why cannot apt-get just install the versions from release time? Why does it want newer versions?
Are the original packages removed from the repositories in case of security updates? Are only updated versions of dependencies available?
$ cat /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse
deb cdrom:[Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release i386 (20140722.2)]/ trusty main restricted