freshclam ignoring apt option when upgrading

Bug #1198929 reported by jpdborgna
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
clamav (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

when using apt-get with the option to preserve the files this question should not be asked:

------------------------------------------------------------------------------------------------------------------------------------------------------

Configuring clamav-freshclam
----------------------------

A new version of configuration file /etc/clamav/freshclam.conf is available, but
the version installed currently has been locally modified.

  1. install the package maintainer's version
  2. keep the local version currently installed
  3. show the differences between the versions
  4. show a side-by-side difference between the versions
  5. show a 3-way difference between available versions
  6. do a 3-way merge between available versions (experimental)
  7. start a new shell to examine the situation

What do you want to do about modified configuration file freshclam.conf?

------------------------------------------------------------------------------------------------------------------------------------------------------

this happens when doing
sudo apt-get -q -y -o Dpkg::Options::="--force-confold" upgrade

Changed in clamav (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Scott Kitterman (kitterman) wrote :

Wouldn't this be a bug in apt then?

Revision history for this message
Scott Kitterman (kitterman) wrote :

Or dpkg?

Revision history for this message
jpdborgna (jpdborgna) wrote : Re: [Bug 1198929] Re: freshclam ignoring apt option when upgrading

when running those commands, other packages correctly accept the parameter,
this one doesn't, that is why I placed it here.

2013/7/9 Scott Kitterman <email address hidden>

> Or dpkg?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1198929
>
> Title:
> freshclam ignoring apt option when upgrading
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1198929/+subscriptions
>

Revision history for this message
Mike Mattice (mattice) wrote :

clamav keeps getting updates in precise-security and every time it does, I have to hand-upgrade 220 machines because it asks this question on every one of them.

Revision history for this message
Scott Kitterman (kitterman) wrote :

If you ask it to show the diff, what does it show?

Revision history for this message
Mike Mattice (mattice) wrote :

Shows the changes from my puppeted config to the apparently newly generated config. I only noticed it was newly generated because it seems recently support was added for a PrivateMirror debconf question, IIRC.

Revision history for this message
senorsmile (senorsmile) wrote :

I can confirm this issue on current ubuntu 12.04 boxes. Trying to automate updates on 500+ boxes is a nightmare. Is there any workaround for this? I have tried combinations of

force-confdef
force-confold
-y

to no avail.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.