← Back to team overview

touch-packages team mailing list archive

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

 

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@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@ubuntu:~# echo $?
0

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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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@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@ubuntu:~# echo $?
  0

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