Error when upgrading initscripts using dist-upgrade on a cd image using uck
- by InkBlend
I was using UCK to customize an Ubuntu 11.10 image, and ran a dist-upgrade on it (from the console) to try to update all of the packages on it. The upgrade worked successfully for all but two packages, so I tried again and got the same error message. This is what happened:
# sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 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 initscripts (2.88dsf-13.10ubuntu4.1) ...
guest environment detected: Linking /run/shm to /dev/shm
rmdir: failed to remove `/run/shm': Device or resource busy
Can't symlink /run/shm to /dev/shm; please fix manually.
dpkg: error processing initscripts (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of ifupdown:
ifupdown depends on initscripts (>= 2.88dsf-13.3); however:
Package initscripts is not configured yet.
dpkg: error processing ifupdown (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
initscripts
ifupdown
E: Sub-process /usr/bin/dpkg returned an error code (1)
#
How can I fix this? Is the problem with the ISO, dpkg, or can I just not upgrade some packages with UCK?
I am using Ubuntu 11.10 to and UCK 2.4.5 to customize an Ubuntu 11.10 image.