[Bug 626144] [NEW] aptdaemon doesn't respond to network errors correctly

Launchpad Bug Tracker 626144 at bugs.launchpad.net
Fri Mar 26 02:56:34 UTC 2021


You have been subscribed to a public bug:

(A script is attached to demonstrate the behavior)

1) Go to NetworkManager and disconnect from your network
2) Run the script attached

What happens - The update starts, continues for a few seconds and then finishes with the state "exit-sucess"
What should happen - The update starts, fails and raises an error because it can't connect to the internet.

1) Make sure you are connected to the Internet
2) Run the script attached
3) After a few seconds, go to NetworkManager and disconnect yourself from the internet

What happens - The update starts and just hangs
What should happen - The update starts and then fails (raising an error) because it can no longer connect to the internet.


Such behavior is essential for applications like software-updater and
the way it works at the moment seems counter-intuitive.

** Affects: aptdaemon
     Importance: Undecided
         Status: New

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

-- 
aptdaemon doesn't respond to network errors correctly
https://bugs.launchpad.net/bugs/626144
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to apt in Ubuntu.



More information about the foundations-bugs mailing list