No, there are two different use cases here:

1. Did apt-get update (potentially) change something?
2. Did apt-get update (potentially) change everything?

In the general case, 1 is what you need to know. For example, a tool
that runs update and then upgrades your system: You don't want to
prevent the system from being upgraded (in an update&&upgrade type
scenario) just because some third party repository disappeared.

Then there is the question of fatal vs non-fatal errors. A DNS
resolution error like here is most likely temporary, you don't want to
fail update because of it, this would just confuse users (don't spam me
twice a day with errors just because my machine is offline).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693900

Title:
  apt-get update should return exit code != 0 on error

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to