package clamav-freshclam 0.99.4+addedllvm-0ubuntu0.16.04.1 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 2

Bug #1760079 reported by Iron-Man
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
clamav (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Description: Ubuntu 16.04.4 LTS
Release: 16.04
clamav-freshclam:
  Installé : 0.99.4+addedllvm-0ubuntu0.16.04.1
  Candidat : 0.99.4+addedllvm-0ubuntu0.16.04.1
 Table de version :
 *** 0.99.4+addedllvm-0ubuntu0.16.04.1 500
        500 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
        100 /var/lib/dpkg/status
     0.99.2+addedllvm-0ubuntu0.12.04.1 500
        500 http://fr.archive.ubuntu.com/ubuntu precise-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu precise-security/main amd64 Packages
     0.99+dfsg-1ubuntu1 500
        500 http://fr.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
     0.97.3+dfsg-2.1ubuntu1 500
        500 http://fr.archive.ubuntu.com/ubuntu precise/main amd64 Packages

Failed to update antivirus signatures (if I properly understood the problem).

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: clamav-freshclam 0.99.4+addedllvm-0ubuntu0.16.04.1
ProcVersionSignature: Ubuntu 4.4.0-98.121-generic 4.4.90
Uname: Linux 4.4.0-98-generic x86_64
.etc.clamav.clamd.conf:

ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
Date: Thu Mar 29 19:41:00 2018
ErrorMessage: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 2
InstallationDate: Installed on 2016-12-06 (478 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
ProcCmdline: BOOT_IMAGE=/vmlinuz-4.4.0-98-generic root=/dev/mapper/xubuntu--vg-root ro quiet splash vt.handoff=7
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.4
 apt 1.2.26
SourcePackage: clamav
Title: package clamav-freshclam 0.99.4+addedllvm-0ubuntu0.16.04.1 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Iron-Man (iron-man) wrote :
Revision history for this message
Iron-Man (iron-man) wrote :

I managed to fix the problem by opening the Synaptic Package Manager, then selecting all installed ClamAV and ClamTK packages, for complete deletion, including configuration files and installation logs, in addition to all the suggested packages.
Once that was done, I did a fresh installation of ClamTK and all the recommended and suggested packages.
Then I had to recreate the file 'clamd.conf' in etc / clamav, and finally, everything worked again normally.

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

Thanks Iron-man for continuing on this issue and fixing it via resetting your daemon config.

From the log:
/var/lib/dpkg/info/clamav-freshclam.config: 137: export: http://database.clamav.net: bad variable name

I haven't seen this issue anywhere else yet, if it was a custom config fine.
So for now this bug is incomplete (in the sense that we can't fix anything in the package itself to avoid it).

But if you think you have spotted a bug e.g. a general path of actions that leads users into the case you have hit - then let us know and set it back to new please.

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.