Julian Andres Klode: > On Sat, Jan 24, 2015 at 04:50:04PM +0000, Patrick Schleizer wrote: >> Package: apt >> Severity: important >> >> When "apt-get update" fails the program exits with a 0 status. >> It would be useful if it exited with a non-zero status in that case >> (or if there were a switch to tell it to do so). > > I disagree that it should do that. We just redefined successful update > (for the success hook) to mean "not all sources failed". In case we > fetch anything, that's still a success, as we update the cache with > the new data.
Then perhaps have a new command line parameter? Such as 'apt-get --strict update' or 'apt-get strict-update' or something like that? Cheers, Patrick