# after discovering apt would fail if the proxy was down. # This overrides the hardcoded proxy setting done by fai. # Figured I'd leave it as post install so I could adjust the # detect script easier. # 2021, this has been failing randomly and my attempts at debugging # have lead no where. eg: # Err:1 http://http.us.debian.org/debian buster InRelease # 500 Connection failure: Address family not supported by protocol [IP: 192.168.0.130 3142] # Err:2 http://http.us.debian.org/debian buster-updates InRelease # 500 Connection failure: Address family not supported by protocol [IP: 192.168.0.130 3142] # Hit:3 http://archive.trisquel.info/trisquel nabia-security InRelease # Hit:4 http://mirror.fsf.org/trisquel nabia InRelease # Hit:5 http://mirror.fsf.org/trisquel nabia-updates InRelease # Get:6 http://security.debian.org buster/updates InRelease [65.4 kB] # Hit:7 http://mirror.fsf.org/trisquel nabia-backports InRelease # Get:8 http://http.debian.net/debian buster-backports InRelease [46.7 kB] # Hit:9 http://archive.ubuntu.com/ubuntu focal InRelease # Get:10 http://archive.ubuntu.com/ubuntu focal-security InRelease [114 kB] # Hit:11 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu focal InRelease # Get:12 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] # Get:13 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB] # Get:14 http://security.debian.org buster/updates/main Sources [188 kB] # Get:15 http://security.debian.org buster/updates/main amd64 Packages [293 kB] # Get:16 http://http.debian.net/debian buster-backports/main Sources [475 kB] # Get:17 http://http.debian.net/debian buster-backports/main amd64 Packages [486 kB] # Get:18 http://http.debian.net/debian buster-backports/main Translation-en [409 kB] # Get:19 http://http.debian.net/debian buster-backports/main amd64 Contents (deb) [7,151 kB] # Get:20 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1,086 kB] # Get:21 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [841 kB] # Fetched 11.4 MB in 5s (2,235 kB/s) # Reading package lists... Done # W: Failed to fetch http://http.us.debian.org/debian/dists/buster/InRelease 500 Connection failure: Address family not supported by protocol [IP: 192.168.0.130 3142] # W: Failed to fetch http://http.us.debian.org/debian/dists/buster-updates/InRelease 500 Connection failure: Address family not supported by protocol [IP: 192.168.0.130 3142] #Acquire::http::Proxy-Auto-Detect "/etc/apt/detect-http-proxy"; # misc settings not worth making another settings file APT::AutoRemove::SuggestsImportant "false"; # https://discourse.ubuntu.com/t/phased-updates-in-apt-in-21-04/20345 # interesting, but so far it has caused breakage: # p -y build-dep emacs # The following packages have unmet dependencies: # libsystemd-dev : Depends: libsystemd0 (= 249.11-0ubuntu3) but 249.11-0ubuntu3.4 is to be installed # 249.11-0ubuntu3.4 for libsystemd-dev was phased, while libsystemd0 wasn't APT::Get::Always-Include-Phased-Updates "true";