On Wed, Oct 16, 2019 at 04:14:50PM -0600, Art Sackett wrote: > I've just solved this problem for myself after doing some packet > capture. The only significant difference between apt and any other HTTP > client is the User-Agent string, so I changed apt's by creating the file > /etc/apt/apt.conf.d/99useragent and populating it with: > > Acquire > { > http::User-Agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 > Firefox/60.0"; > }; > > Bingo! 'apt update' and 'apt upgrade' both work fine. > > Apparently, the mirrors are getting nauseated by the User-Agent string. > That ain't right!
Are you sure it's the mirror, and not some kind of "transparent" HTTP proxy on your end? Workplace, ISP, McDonald's wifi, communist government firewall, ...?