apt-get dist-upgrade and apt full-upgrade not reporting held back package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Confirmed
|
Medium
|
Unassigned | ||
Trusty |
Won't Fix
|
Medium
|
Unassigned | ||
Xenial |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
I have the situation where a package cannot be upgraded because of missing dependencies. However
sudo apt-get dist-upgrade
and
sudo apt full-upgrade
and
sudo apt upgrade
all show
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Only
sudo apt-get upgrade
shows
0 to upgrade, 0 to newly install, 0 to remove and 1 not to upgrade.
I believe all of the above commands should show that 1 cannot be upgraded.
This bug is not about the particular package I am trying to install, but about the way apt reports the problem.
The details, for reference, are that I am trying to upgrade mosquitto from the mosquitto ppa. After apt-get update I see
$ apt-cache policy mosquitto
mosquitto:
Installed: 1.4.8-1build1
Candidate: 1.4.9-0mosquitto1
Version table:
1.
500 http://
*** 1.4.8-1build1 500
500 http://
100 /var/lib/
but if I try to manually install mosquitto I get
The following packages have unmet dependencies.
mosquitto : Depends: libwebsockets3 (>= 1.2) but it is not installable
and
$ apt-cache policy libwebsockets3
libwebsockets3:
Installed: (none)
Candidate: (none)
Due to the fact that libwebsockets3 is not available for Xenial.
As I said this bug is not about the problem with this particular package but about the fact that apt does not report that there is a package to be upgraded, but it cannot be done.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: apt 1.2.12~
ProcVersionSign
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Jun 5 08:45:33 2016
InstallationDate: Installed on 2014-10-21 (592 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20141017)
SourcePackage: apt
UpgradeStatus: Upgraded to xenial on 2016-03-06 (90 days ago)
Changed in apt (Ubuntu Trusty): | |
status: | New → Confirmed |
Changed in apt (Ubuntu Xenial): | |
status: | New → Confirmed |
Changed in apt (Ubuntu): | |
importance: | Undecided → Medium |
Changed in apt (Ubuntu Trusty): | |
importance: | Undecided → Medium |
Changed in apt (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Changed in apt (Ubuntu Xenial): | |
status: | Confirmed → Won't Fix |
Changed in apt (Ubuntu Trusty): | |
status: | Confirmed → Won't Fix |
Hi, thanks for your bug report. I'm not sure I understand it, though:
First you write that "sudo apt upgrade" shows 0 upgrades, then it's the only one that shows 1.
Could you fix this please?
I myself have never seen this AFAIK.