[Bug 1537493] [NEW] 0 is returned if package can't be downloaded

Sworddragon 1537493 at bugs.launchpad.net
Sun Jan 24 14:23:15 UTC 2016


Public bug reported:

I'm using Ubuntu 16.04 dev with apt 1.0.10.2ubuntu1 and if a package
can't be downloaded 0 is returned. Here is an example output:

root at ubuntu:~# apt-get install --reinstall apt
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reinstallation of apt is not possible, it cannot be downloaded.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
root at ubuntu:~# echo $?
0

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/1537493

Title:
  0 is returned if package can't be downloaded

Status in apt package in Ubuntu:
  New

Bug description:
  I'm using Ubuntu 16.04 dev with apt 1.0.10.2ubuntu1 and if a package
  can't be downloaded 0 is returned. Here is an example output:

  root at ubuntu:~# apt-get install --reinstall apt
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Reinstallation of apt is not possible, it cannot be downloaded.
  0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
  root at ubuntu:~# echo $?
  0

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



More information about the foundations-bugs mailing list