package clamav-freshclam 0.99.2+dfsg-0ubuntu0.16.04.2 failed to install/upgrade: problèmes de dépendances - laissé non configuré

Bug #1741218 reported by duncan idaho
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
clamav (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

bug

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: clamav-freshclam 0.99.2+dfsg-0ubuntu0.16.04.2
ProcVersionSignature: Ubuntu 4.4.0-104.127-generic 4.4.98
Uname: Linux 4.4.0-104-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
Date: Thu Jan 4 08:30:10 2018
DpkgHistoryLog:
 Start-Date: 2018-01-04 08:30:03
 Commandline: /usr/bin/unattended-upgrade
 Upgrade: apport:amd64 (2.20.1-0ubuntu2.14, 2.20.1-0ubuntu2.15), python3-apport:amd64 (2.20.1-0ubuntu2.14, 2.20.1-0ubuntu2.15), libwebkit2gtk-4.0-37:amd64 (2.18.3-0ubuntu0.16.04.1, 2.18.4-0ubuntu0.16.04.1), apport-gtk:amd64 (2.20.1-0ubuntu2.14, 2.20.1-0ubuntu2.15), gir1.2-webkit2-4.0:amd64 (2.18.3-0ubuntu0.16.04.1, 2.18.4-0ubuntu0.16.04.1), libjavascriptcoregtk-4.0-18:amd64 (2.18.3-0ubuntu0.16.04.1, 2.18.4-0ubuntu0.16.04.1), python3-problem-report:amd64 (2.20.1-0ubuntu2.14, 2.20.1-0ubuntu2.15), libwebkit2gtk-4.0-37-gtk2:amd64 (2.18.3-0ubuntu0.16.04.1, 2.18.4-0ubuntu0.16.04.1), gir1.2-javascriptcoregtk-4.0:amd64 (2.18.3-0ubuntu0.16.04.1, 2.18.4-0ubuntu0.16.04.1)
ErrorMessage: problèmes de dépendances - laissé non configuré
InstallationDate: Installed on 2016-12-13 (386 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.4.0-104-generic root=UUID=ff9c9c7f-49df-405f-be9c-d3ae862fa72e ro quiet splash
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.3
 apt 1.2.24
SourcePackage: clamav
Title: package clamav-freshclam 0.99.2+dfsg-0ubuntu0.16.04.2 failed to install/upgrade: problèmes de dépendances - laissé non configuré
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.apparmor.d.usr.sbin.clamd: [deleted]
modified.conffile..etc.init.d.clamav-daemon: [deleted]
modified.conffile..etc.logcheck.ignore.d.paranoid.clamav-daemon: [deleted]
modified.conffile..etc.logcheck.ignore.d.server.clamav-daemon: [deleted]

Revision history for this message
duncan idaho (duncan-idaho42) wrote :
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi duncan,
from your log I see that some files are manually removed that could affect the tool working as it should:
modified.conffile..etc.apparmor.d.usr.sbin.clamd: [deleted]
modified.conffile..etc.init.d.clamav-daemon: [deleted]
modified.conffile..etc.logcheck.ignore.d.paranoid.clamav-daemon: [deleted]
modified.conffile..etc.logcheck.ignore.d.server.clamav-daemon: [deleted]

Then also the actual error is on half-installed:
dpkg: erreur de traitement du paquet clamav-base (--configure) :
 le paquet clamav-base n'est pas prêt pour la configuration
 configuration impossible (état actuel « half-installed »)
dpkg: des problèmes de dépendances empêchent la configuration de clamav-freshclam :
 clamav-freshclam dépend de clamav-base (>= 0.99.2+dfsg-0ubuntu0.16.04.2) ; cependant :
  Le paquet clamav-base n'est pas installé.

dpkg: erreur de traitement du paquet clamav-freshclam (--configure) :
 problèmes de dépendances - laissé non configuré
dpkg: des problèmes de dépendances empêchent la configuration de clamav-daemon :
 clamav-daemon dépend de clamav-base (= 0.99.2+dfsg-0ubuntu0.16.04.2) ; cependant :
  Le paquet clamav-base n'est pas installé.
 clamav-daemon dépend de clamav-freshclam (>= 0.99.2+dfsg) | clamav-data ; cependant :
 Le paquet clamav-freshclam n'est pas encore configuré.
  Le paquet clamav-data n'est pas installé.
  Le paquet clamav-freshclam qui fournit clamav-data n'est pas encore configuré.

First of all you have to resolve this half installed.
I'd recommend to follow [1] and similar help articles.

For your case that likely would be:
$ sudo dpkg --purge --force-remove-reinstreq clamav clamav-base clamav-freshclam clamav-data
$ sudo dpkg --configure -a
$ sudo apt update
$ sudo apt upgrade

After all is clean (I recommend a full apt update and apt upgrade afterwards) you might try to freshly re-install clamav.

[1]: https://askubuntu.com/questions/490671/fix-half-installed-package

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

On upgrading a service this service has to be restarted to pick up the fixes.
Rather rarely a real issue occurs that the newer version does e.g. fail with the formerly working configuration.
But most of the time what happens is, that a service was installed, but stays unconfigured or experimented with but left in a broken state.

Now on any update of the related packages that service has to be restarted, but since its config is incomplete/faulty it fails to restart.
Therefore the update of that package has to consider itself incomplete.

Depending on your particular case there are two solutions:
- either remove the offending package if you don't want to continue using it.
- Or if you do want to keep it please fix the configuration so that re-starting the service will work.

Since it seems likely to me that this is a local configuration problem, rather than a bug in Ubuntu, I'm marking this bug as Incomplete.

If indeed this is a local configuration problem, you can find pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community

Or if you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to New.

Changed in clamav (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for clamav (Ubuntu) because there has been no activity for 60 days.]

Changed in clamav (Ubuntu):
status: Incomplete → Expired
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.