07-24-2023 01:14 PM
Getting the below 403 error when trying to install duo-unix.
Any ideas?
$ sudo apt-get update && apt-get install duo-unix
Err:1 https://pkg.duosecurity.com/Ubuntu focal InRelease
Invalid response from proxy: HTTP/1.1 403 Forbidden Server: squid/4.10 Mime-Version: 1.0 Date: Mon, 24 Jul 2023 20:06:15 GMT Content-Type: text/html;charset=utf-8 Content-Length: 3586 X-Squid-Error: ERR_ACCESS_DENIED 0 Vary: Accept-Language Content-Language: en X-Cache: MISS from ip-192-1-1-113 X-Cache-Lookup: NONE from ip-192-1-1-113:443 Via: 1.1 ip-192-1-1-113 (squid/4.10) Connection: keep-alive [IP: 54.78.103.67 443]
$ sudo cat /etc/apt/sources.list.d/duosecurity.list
deb [arch=amd64] https://pkg.duosecurity.com/Ubuntu focal main
$ sudo curl -s https://duo.com/DUO-GPG-PUBLIC-KEY.asc | sudo apt-key add -
OK
07-25-2023 06:57 AM
It seems like you should double-check your squid proxy config to make sure it permits the apt-get requests.
07-28-2023 11:58 PM
I'm not sure who owns that squid, but it's for sure not me.
I just went ahead and did a wget and later installed w/ dpkg, so it's no longer an issue for me.
Thanks for looking into it!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide