Thanks Oleg! Uploaded.

I made a couple of really minor changes:

I ran update-maintainer, which should really have already been done on
the upload of ubuntu1.

I added Closes: #778507 to the changelog, to make it easier on the next
merge from Debian to see if the delta is still required (look unlikely
because it's marked pending in Debian).

Scott: I'm not sure if convention is to have 0.98.6+dfsg-1ubuntu2.1 or
0.98.6+dfsg-1ubuntu3 while Vivid+1 has yet to open, so I've left it at
0.98.6+dfsg-1ubuntu3. I hope that's OK.

** Changed in: clamav (Ubuntu Vivid)
       Status: Triaged => In Progress

** Description changed:

+ [SRU]
+ 
+ [Impact]
+ 
+ Bug shows up when user tries to upgrade any previous version of clamav
+ to the version which is currently available inside vivid repo. Apt
+ crashes with the following error message:
+ 
+ /var/lib/dpkg/info/clamav-daemon.postinst: 626: 
/var/lib/dpkg/info/clamav-daemon.postinst: cannot create : Directory nonexistent
+ dpkg: error processing package clamav-daemon (--install):
+  subprocess installed post-installation script returned error exit status 2
+ 
+ This happens due to a typo inside postinst script. Variable $DEBCONFILE
+ is used incorrectly instead of $DEBCONFFILE (note double F) which leads
+ to generation of the incorrect output path.
+ 
+ This typo is on the path which gets executed only when debconf
+ information is available for the package. It means that the issue
+ doesn't show up during regular installation but crashes apt during
+ updates.
+ 
+ This issue is important because all clamav users will observe the issue
+ while upgrading from Utopic to Vivid.
+ 
+ [Test Case]
+ 
+ How to reproduce the issue and make sure that debdiff resolves it:
+ http://pastebin.ubuntu.com/10879650/
+ 
+ [Regression Potential]
+ 
+ Change is minor and fixes obvious issue. We can't avoid fixing it
+ because with this issue in place we won't be able to upgrade clamav in
+ the future (all vivid users will meet this issue if we upload an updated
+ package without this change).
+ 
+ [Original Description]
+ 
  It looks like the location of the files is wrong in the installer.  Is
  there an updated source perhaps?
  
  ProblemType: Package
  DistroRelease: Ubuntu 15.04
  Package: clamav-daemon 0.98.6+dfsg-1ubuntu2
  ProcVersionSignature: Ubuntu 3.19.0-10.10-generic 3.19.2
  Uname: Linux 3.19.0-10-generic i686
  ApportVersion: 2.17-0ubuntu1
  Architecture: i386
  Date: Tue Mar 31 09:58:57 2015
  DuplicateSignature: package:clamav-daemon:0.98.6+dfsg-1ubuntu2:subprocess 
installed post-installation script returned error exit status 2
  ErrorMessage: subprocess installed post-installation script returned error 
exit status 2
  InstallationDate: Installed on 2014-11-15 (136 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release i386 (20141022.1)
  ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-3.19.0-10-generic 
root=UUID=1c4c0c04-1b26-466a-81e0-ebee5163b4d1 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
-  dpkg 1.17.24ubuntu1
-  apt  1.0.9.7ubuntu3
+  dpkg 1.17.24ubuntu1
+  apt  1.0.9.7ubuntu3
  SourcePackage: clamav
  Title: package clamav-daemon 0.98.6+dfsg-1ubuntu2 failed to install/upgrade: 
subprocess installed post-installation script returned error exit status 2
  UpgradeStatus: No upgrade log present (probably fresh install)

** Also affects: clamav (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778507
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1438745

Title:
  package clamav-daemon 0.98.6+dfsg-1ubuntu2 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 2

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to