0 is returned if package can't be downloaded

Bug #1537493 reported by Removed by request
6
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Triaged
Low
Unassigned

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

Changed in apt (Ubuntu):
status: New → Triaged
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.