package apt-mirror 0.4.8-5 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1

Bug #997784 reported by Sean Smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt-mirror (Ubuntu)
Triaged
Low
Brandon Holtsclaw

Bug Description

I had an autofs mounted /var/spool/apt-mirror. When attempting to do an 'apt-get upgrade' after the 'do-release-upgrade' which generated the error, I received the following messages:

Setting up apt-mirror (0.4.8-5) ...
chown: changing ownership of `/var/spool/apt-mirror': Invalid argument
dpkg: error processing apt-mirror (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 apt-mirror
E: Sub-process /usr/bin/dpkg returned an error code (1)

So I did the following:

root@hobbes:~# service autofs stop
autofs stop/waiting
root@hobbes:~# umount /var/spool/apt-mirror
umount: /var/spool/apt-mirror: not mounted
root@hobbes:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up apt-mirror (0.4.8-5) ...
root@hobbes:~# service autofs start
autofs start/running, process 5463
root@hobbes:~#

Everything seems to be ok now.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: apt-mirror 0.4.8-5
ProcVersionSignature: Ubuntu 3.0.0-19.33-generic 3.0.27
Uname: Linux 3.0.0-19-generic i686
ApportVersion: 2.0.1-0ubuntu7
Architecture: i386
Date: Thu May 10 16:13:48 2012
ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 1
PackageArchitecture: all
SourcePackage: apt-mirror
Title: package apt-mirror 0.4.8-5 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to precise on 2012-05-10 (0 days ago)

Revision history for this message
Sean Smith (seansith) wrote :
Changed in apt-mirror (Ubuntu):
status: New → Triaged
importance: Undecided → Low
assignee: nobody → Brandon Holtsclaw (imbrandon)
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.