Update/Solution:

After submitting this bug report in the middle of a "do-release-upgrade" the 
upgrade process continued.
I then removed the /var/lock directory, ran apt-get install -f and the 
initscripts post install script completed without errors. 
After this i proceeded to run apt-get update && apt-get upgrade, which resulted 
in upgrading more packages, but ultimately failing with:


Setting up rsyslog (5.8.6-1ubuntu8) ...
runlevel:/var/run/utmp: No such file or directory
[... lots of more errors due to dependencies ...]

I created /var/run/utmp, chmodded it to 664, changed group to utmp and
then the error became:

"Failed to connect to socket /com/ubuntu/upstart: Connection refused"

Seems like upstart's init requires to be PID 1 and I was still using the
rescue busybox shell (which therefore had PID 1)

I rebooted but still ahci was missing because the new kernel
(3.2.0-24-virtual) hasn't been installed yet.

So I booted the rescue CD once again, ran apt-get install linux-virtual, it 
updated the kernel and the initial ramdisk and failed again with the previous 
errors. But then I was able to boot the new kernel and ahci.ko and the root 
disk were found. 
PID 1 was init and upstart worked again, apt-get install -f installed the 
remaining packages and completed successfully.

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

Title:
  package initscripts 2.88dsf-13.10ubuntu11 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/sysvinit/+bug/998390/+subscriptions

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

Reply via email to