clamav-base.postinst: 403: [: 10: unexpected operator

Bug #1293042 reported by martin suchanek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
clamav (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Hi,
I have came across some installation issues within clamav:

Setting up clamav-base (0.98.1+dfsg-3ubuntu1) ...
/var/lib/dpkg/info/clamav-base.postinst: 403: [: 10: unexpected operator
Replacing config file /etc/clamav/clamd.conf with new version
Setting up clamav-freshclam (0.98.1+dfsg-3ubuntu1) ...
/var/lib/dpkg/info/clamav-freshclam.postinst: 378: [: 10: unexpected operator
Disabling old logrotate script for clamav-freshclam
Replacing config file /etc/clamav/freshclam.conf with new version
 * Starting ClamAV virus database updater freshclam ERROR: Missing argument for option at line 10
ERROR: Can't open/parse the config file /etc/clamav/freshclam.conf
                                                                                                                                                                                                       [fail]

# ---
lsb_release -rd
Description: Ubuntu Trusty Tahr (development branch)
Release: 14.04
# ---
apt-cache policy clamav-base
clamav-base:
  Installed: 0.98.1+dfsg-3ubuntu1
  Candidate: 0.98.1+dfsg-3ubuntu1
  Version table:
 *** 0.98.1+dfsg-3ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     0.98.1+dfsg-2ubuntu2 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

Kind Regards,
Martin

Related branches

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

Working on fixing this in Debian. The fact that you hit this means you're running with trusty-proposed enabled, which you should not be doing.

Changed in clamav (Ubuntu):
importance: Undecided → High
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package clamav - 0.98.1+dfsg-4ubuntu1

---------------
clamav (0.98.1+dfsg-4ubuntu1) trusty; urgency=low

  * Merge from Debian unstable. Remaining changes:
    - Drop build-dep on electric-fence (in Universe)
    - Add apparmor profiles for clamd and freshclam along with maintainer
      script changes

clamav (0.98.1+dfsg-4) unstable; urgency=medium

  [ Sebastian Andrzej Siewior ]
  * Postinst scripts: fix empty access and broken freshclam.conf in
    clamav-base.postinst.in and clamav-freshclam.postinst.in (Closes: #741675)
    (LP: #1293042)
  * Postinst scripts: fix quoting

  [ Andreas Cadhalpun ]
  * Add templates and adapt postinst and config scripts for the new options
    in 0.98 to fix the creation of the configuration files (Closes: #741675)
    (LP: #1293042)
  * Reset new options to default to fix breakage in previous upload
  * Automatically updated translation files
 -- Scott Kitterman <email address hidden> Wed, 19 Mar 2014 08:59:31 -0400

Changed in clamav (Ubuntu):
status: In Progress → Fix Released
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.