← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1589204] Re: apt-get dist-upgrade and apt full-upgrade not reporting held back package

 

Tested precise, trusty, xenial, and yakkety.  Looks like this bug was
introduced between precise and trusty (that is, it works correctly in
precise's 0.8.16~exp12ubuntu10, but not trusty's 1.0.1ubuntu2 or later).

** Also affects: apt (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: apt (Ubuntu Trusty)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1589204

Title:
  apt-get dist-upgrade and apt full-upgrade not reporting held back
  package

Status in apt package in Ubuntu:
  Confirmed
Status in apt source package in Trusty:
  New
Status in apt source package in Xenial:
  New

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.4.9-0mosquitto1 500
          500 http://ppa.launchpad.net/mosquitto-dev/mosquitto-ppa/ubuntu xenial/main amd64 Packages
   *** 1.4.8-1build1 500
          500 http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
          100 /var/lib/dpkg/status

  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~ubuntu16.04.1
  ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1589204/+subscriptions