I ran into this on an Xenial to Bionic upgrade. After the upgrade to
Bionic was complete, freshclam started trying to download clamav
database through my apt proxy. The database download attempts failed due
to apt proxy being strictly for apt only.

>From quick debugging... I think it might be related to update-manager's
UpdateManager/Core/utils.py . utils.py has an init_proxy method to set
the http(s)_proxy environment variables. Part of this method pulls the
proxy settings from Acquire::https::Proxy before setting http(s)_proxy
environment variables.

I suspect it is this logic that is causing freshclam to start trying to
download database updates from apt proxy on upgrade (a do-release-
upgrade, in this case).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1161012

Title:
  Clamav package adds proxy to config on install and update

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1161012/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to