Public bug reported:
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)
** Affects: apt-mirror (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-package i386 precise
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/997784
Title:
package apt-mirror 0.4.8-5 failed to install/upgrade: ErrorMessage:
subprocess installed post-installation script returned error exit
status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/997784/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs