*** This bug is a duplicate of bug 1438745 ***
    https://bugs.launchpad.net/bugs/1438745


This seems to be a fix for the "error 
/var/lib/dpkg/info/clamav-daemon.postinst: 626: 
/var/lib/dpkg/info/clamav-daemon.postinst: cannot create : Directory 
nonexistent"


line 626 of clamav-daemon.postinst has a typo:

    [ -n "$PidFile" ] && echo "PidFile $PidFile" >> $DEBCONFILE

should actually be

    [ -n "$PidFile" ] && echo "PidFile $PidFile" >> $DEBCONFFILE


Source:

http://lists.alioth.debian.org/pipermail/pkg-clamav-
devel/2015-February/005074.html

I edited the file /var/lib/dpkg/info/clamav-daemon.postinst making the
change, then re-ran apt-get install clamav which then worked.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to clamav in Ubuntu.
https://bugs.launchpad.net/bugs/1447809

Title:
  package clamav-daemon 0.98.6+dfsg-1ubuntu2 failed to install/upgrade:
  подпроцесс установлен сценарий post-installation возвратил код ошибки
  2

To manage notifications about this bug go to:
https://bugs.launchpad.net/clamav/+bug/1447809/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to