[Bug 626144] Re: aptdaemon doesn't respond to network errors correctly
Mathew Hodson
626144 at bugs.launchpad.net
Fri Mar 26 02:54:12 UTC 2021
*** This bug is a duplicate of bug 1693900 ***
https://bugs.launchpad.net/bugs/1693900
** This bug is no longer a duplicate of bug 451366
404 from the archive is not handled well
** This bug has been marked a duplicate of bug 1693900
apt-get update should return exit code != 0 on error
** Package changed: debian => apt (Ubuntu)
** Changed in: apt (Ubuntu)
Importance: Unknown => Undecided
** Changed in: apt (Ubuntu)
Remote watch: Debian Bug tracker #594813 => None
** Bug watch removed: Debian Bug tracker #594813
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594813
--
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/626144
Title:
aptdaemon doesn't respond to network errors correctly
Status in Aptdaemon:
New
Status in apt package in Ubuntu:
New
Bug description:
(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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/aptdaemon/+bug/626144/+subscriptions
More information about the foundations-bugs
mailing list