bc8df27fae0ae2d5c34c68f39865020bead6542b
[distro-setup] / filesystem / etc / apt / apt.conf.d / 02proxy
1 # after discovering apt would fail if the proxy was down.
2 # This overrides the hardcoded proxy setting done by fai.
3 # Figured I'd leave it as post install so I could adjust the
4 # detect script easier.
5
6 # 2021, this has been failing randomly and my attempts at debugging
7 # have lead no where. eg:
8
9
10 # Err:1 http://http.us.debian.org/debian buster InRelease
11 # 500 Connection failure: Address family not supported by protocol [IP: 192.168.0.130 3142]
12 # Err:2 http://http.us.debian.org/debian buster-updates InRelease
13 # 500 Connection failure: Address family not supported by protocol [IP: 192.168.0.130 3142]
14 # Hit:3 http://archive.trisquel.info/trisquel nabia-security InRelease
15 # Hit:4 http://mirror.fsf.org/trisquel nabia InRelease
16 # Hit:5 http://mirror.fsf.org/trisquel nabia-updates InRelease
17 # Get:6 http://security.debian.org buster/updates InRelease [65.4 kB]
18 # Hit:7 http://mirror.fsf.org/trisquel nabia-backports InRelease
19 # Get:8 http://http.debian.net/debian buster-backports InRelease [46.7 kB]
20 # Hit:9 http://archive.ubuntu.com/ubuntu focal InRelease
21 # Get:10 http://archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
22 # Hit:11 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu focal InRelease
23 # Get:12 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
24 # Get:13 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
25 # Get:14 http://security.debian.org buster/updates/main Sources [188 kB]
26 # Get:15 http://security.debian.org buster/updates/main amd64 Packages [293 kB]
27 # Get:16 http://http.debian.net/debian buster-backports/main Sources [475 kB]
28 # Get:17 http://http.debian.net/debian buster-backports/main amd64 Packages [486 kB]
29 # Get:18 http://http.debian.net/debian buster-backports/main Translation-en [409 kB]
30 # Get:19 http://http.debian.net/debian buster-backports/main amd64 Contents (deb) [7,151 kB]
31 # Get:20 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1,086 kB]
32 # Get:21 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [841 kB]
33 # Fetched 11.4 MB in 5s (2,235 kB/s)
34 # Reading package lists... Done
35 # 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]
36 # 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]
37
38 #Acquire::http::Proxy-Auto-Detect "/etc/apt/detect-http-proxy";
39
40 # misc settings not worth making another settings file
41 APT::AutoRemove::SuggestsImportant "false";