[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 'apt update' failure, me or repository?

On Wed, 16 Oct 2019 17:55:55 -0600
Art Sackett <asackett@artsackett.com> wrote:

> For any who've found this thread by searching for the problem they're
> having, the workaround is to create the file
> /etc/apt/apt.conf.d/99useragent and populate it with:
> Acquire
> {
>   http::User-Agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0";
> };
> This changes apt's HTTP User-Agent string to that of a recent Firefox,
> which magically prevents the mirror servers from dropping apt's
> connections.
> This is Debian bug #942478:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942478

FWIW: I never had that problem with my Buster install, but I never
installed any version of Firefox. Used Chromium instead as the initial
browser. And I started with a terminal-only system and built it up from
there with Openbox WM -- no DE. Also, in my apt sources.list, I
designated version as "buster" instead of "stable."


Reply to: