1
rated 0 times
[
1]
[
0]
/ answers: 1 / hits: 1854
/ 2 Years ago, tue, august 16, 2022, 9:20:09
When running sudo apt-get update -q
, sometimes I see things like
Err:23 http://ppa.launchpad.net/chris-lea/redis-server/ubuntu precise/main i386 Packages
Could not connect to ppa.launchpad.net:80 (91.189.95.83), connection timed out
Err:24 http://ppa.launchpad.net/chris-lea/redis-server/ubuntu precise/main Translation-en
Unable to connect to ppa.launchpad.net:http:
or like
W: http://us-central1.gce.archive.ubuntu.com/ubuntu/dists/precise-updates/InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
But echo $?
tells me that apt-get update -q
succeeded. How can I get the error/warning status to be fatal, and make apt-get update
fail with a non-zero exit code?
More From » apt