package clamav-daemon 0.99.2+dfsg-0ubuntu0.16.04.2 failed to install/upgrade: il pacchetto si trova in uno stato di inconsistenza grave: è necessario installarlo nuovamente prima di rimuoverlo

Bug #1746573 reported by Dario Foracappa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
clamav (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

It impossible to upgrade

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: clamav-daemon 0.99.2+dfsg-0ubuntu0.16.04.2
ProcVersionSignature: Ubuntu 4.8.0-53.56~16.04.1-generic 4.8.17
Uname: Linux 4.8.0-53-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.15
AptOrdering:
 clamav-daemon: Purge
 NULL: ConfigurePending
Architecture: amd64
Date: Wed Jan 31 19:42:57 2018
DpkgTerminalLog:
 dpkg: errore nell'elaborare il pacchetto clamav-daemon (--purge):
  il pacchetto si trova in uno stato di inconsistenza grave:
  è necessario installarlo nuovamente prima di rimuoverlo
ErrorMessage: il pacchetto si trova in uno stato di inconsistenza grave: è necessario installarlo nuovamente prima di rimuoverlo
InstallationDate: Installed on 2016-09-17 (501 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.8.0-53-generic root=UUID=738bae49-5b02-483e-a3d4-53aad651ecfa ro quiet splash vt.handoff=7
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.3
 apt 1.2.24
SourcePackage: clamav
Title: package clamav-daemon 0.99.2+dfsg-0ubuntu0.16.04.2 failed to install/upgrade: il pacchetto si trova in uno stato di inconsistenza grave: è necessario installarlo nuovamente prima di rimuoverlo
UpgradeStatus: No upgrade log present (probably fresh install)

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

Hi this looks like a broken config to me, from your logs:
  [/etc/systemd/system/clamav-daemon.socket.d/extend.conf:4] Failed to parse address value, ignoring: localhost:3310
  clamav-daemon.socket: Unit lacks Listen setting. Refusing.
  clamav-daemon.socket: Cannot add dependency job, ignoring: Unit clamav-daemon.socket is not loaded properly: Invalid argument.

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.