Apt can’t see sources? Try changing the User Agent

If you are trying to use apt behind a corporate firewall, try changing the user agent apt is using with wget to load the package lists. By default it uses:

which isn’t recognised by the filter.

1. Create and edit /etc/apt/apt.conf

2. Paste the following into the file:

3. Update apt

Tada.

One thought on “Apt can’t see sources? Try changing the User Agent

Leave a Reply

Your email address will not be published. Required fields are marked *