I tried the apt provided by focal-proposed. At least sudo apt-get update -eany gave exit status 100, if I disabled networking. Without -eany it gave 0.
I got the source code by 'apt source'. I could not run test-apt-update-failure-propagation: $ sudo ./apt-2.0.5/test/integration/test-apt-update-failure-propagation Cannot find build directory, you might want to set PROJECT_BINARY_DIR E: Looks like the testcases ended prematurely with exitcode: 1 -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs