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.

Published by

Sam

Drupal developer from Perth, Western Australia. I love programming, gaming, the Internet, growing vegetables and hiking.

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 *