package clamav-milter 0.103.2+dfsg-0ubuntu0.20.04.2 failed to install/upgrade: el subproceso instalado paquete clamav-milter script post-installation devolvió el código de salida de error 1

Bug #1931954 reported by RICARDO ALEXIS RESTREPO RENGIFO
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
clamav (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I cannot install this package and cannot activate sudo freshclamav either. Do I have to use an editor and comment any specific instruction? thanks

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: clamav-milter 0.103.2+dfsg-0ubuntu0.20.04.2
ProcVersionSignature: Ubuntu 5.8.0-55.62~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-55-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.18
AptOrdering:
 clamav-milter:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: skip
Date: Mon Jun 14 23:59:57 2021
ErrorMessage: el subproceso instalado paquete clamav-milter script post-installation devolvió el código de salida de error 1
ProcCmdline: BOOT_IMAGE=/vmlinuz-5.8.0-55-generic root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.5
SourcePackage: clamav
Title: package clamav-milter 0.103.2+dfsg-0ubuntu0.20.04.2 failed to install/upgrade: el subproceso instalado paquete clamav-milter script post-installation devolvió el código de salida de error 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
RICARDO ALEXIS RESTREPO RENGIFO (richard618921) wrote :
information type: Private Security → Public
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Thank you for taking the time to file a bug report.

From the logs you posted, I can see that the failure is happening because of this:

Configurando clamav-milter (0.103.2+dfsg-0ubuntu0.20.04.2) ...
touch: no se puede efectuar `touch' sobre '/var/log/clamav/clamav-milter.log': No existe el archivo o el directorio

This means that dpkg tried to create the clamav-milter.log file under the directory /var/log/clamav/, but could not proceed because the directory doesn't exist. This directory is created when you install the clamav-base package. Based on your dpkg history log, it doesn't seem like you have removed clamav-base, so I think it should still be installed in your system. However, for some reason it seems like the /var/log/clamav/ directory got removed.

Did you perhaps remove this directory by hand? If yes, then that's the problem. You should reinstall the clamav-base package (by using "apt-get install --reinstall clamav-base", for example).

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

However, if you believe that this is really a bug in Ubuntu, then we would
be grateful if you would provide a more complete description of the problem
with steps to reproduce, 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".

For local configuration issues, you can find assistance here:
http://www.ubuntu.com/support/community

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.