[Bug 1322382] Re: apt-get says that there are 'held broken' packages when there are no held packages
Mohamed Samy
mohamed.samy.k at gmail.com
Fri Jun 10 21:31:50 UTC 2016
I had the same error, and I solved it by checking the first two items in
the screenshot. You can open it by opening system settings ====>
software & updates =====> updates tab. After closing the window, type
'sudo apt-get update' in the terminal.
** Attachment added: "Screenshot from 2016-06-10 23:25:30.png"
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1322382/+attachment/4681298/+files/Screenshot%20from%202016-06-10%2023%3A25%3A30.png
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1322382
Title:
apt-get says that there are 'held broken' packages when there are no
held packages
Status in apt package in Ubuntu:
New
Bug description:
While attempting to install some package, apt-get tells me:
E: Unable to correct problems, you have held broken packages.
But looking for the held packages returns nothing.
Hence, an obvious contradiction.
This problem is important because this message obscures the real
reasons behind the failure of the often used 'apt-get install'
command.
The message produced is absolutely not helpful for understanding of
what is actually wrong.
--- console log showing a problem ---
$ sudo apt-get install libqt4-dev
[sudo] password for xxx:
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
libqt4-dev : Depends: libqt4-dbus (= 4:4.8.1-0ubuntu4) but 4:4.8.1-0ubuntu4.1 is to be installed
Depends: libqt4-declarative (= 4:4.8.1-0ubuntu4) but 4:4.8.1-0ubuntu4.1 is to be installed
Depends: libqt4-designer (= 4:4.8.1-0ubuntu4) but 4:4.8.1-0ubuntu4.1 is to be installed
Depends: libqt4-help (= 4:4.8.1-0ubuntu4) but 4:4.8.1-0ubuntu4.1 is to be installed
Depends: libqt4-network (= 4:4.8.1-0ubuntu4) but 4:4.8.1-0ubuntu4.1 is to be installed
Depends: libqt4-qt3support (= 4:4.8.1-0ubuntu4) but it is not going to be installed
Depends: libqt4-script (= 4:4.8.1-0ubuntu4) but 4:4.8.1-0ubuntu4.1 is to be installed
Depends: libqt4-scripttools (= 4:4.8.1-0ubuntu4) but 4:4.8.1-0ubuntu4.1 is to be installed
Depends: libqt4-sql (= 4:4.8.1-0ubuntu4) but 4:4.8.1-0ubuntu4.1 is to be installed
Depends: libqt4-svg (= 4:4.8.1-0ubuntu4) but 4:4.8.1-0ubuntu4.1 is to be installed
Depends: libqt4-test (= 4:4.8.1-0ubuntu4) but 4:4.8.1-0ubuntu4.1 is to be installed
Depends: libqt4-xml (= 4:4.8.1-0ubuntu4) but 4:4.8.1-0ubuntu4.1 is to be installed
Depends: libqt4-xmlpatterns (= 4:4.8.1-0ubuntu4) but 4:4.8.1-0ubuntu4.1 is to be installed
Depends: libqtcore4 (= 4:4.8.1-0ubuntu4) but 4:4.8.1-0ubuntu4.1 is to be installed
Depends: libqtgui4 (= 4:4.8.1-0ubuntu4) but 4:4.8.1-0ubuntu4.1 is to be installed
Depends: qt4-linguist-tools (= 4:4.8.1-0ubuntu4) but it is not going to be installed
Recommends: libqt4-opengl-dev (= 4:4.8.1-0ubuntu4) but it is not going to be installed
Recommends: libqtwebkit-dev (>= 2.0~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
$ dpkg --get-selections | awk '{if ($2 == "hold") print $0;}'
<... no output ...>
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1322382/+subscriptions
More information about the foundations-bugs
mailing list