Ubuntu 11.10: Apt-get / dpkg fails to install anything
apt-get install -f / apt-get autoremove all fail when the package manager kicks off the dpkg process.
dpkg --configure -a
Setting up base-files (6.4ubuntu5) ...
+ [ ! -e /etc/dpkg/
+ [ configure = configure ]
+ [ = ]
+ install_
+ [ ! -f /etc/nsswitch.conf ]
+ install_
+ [ ! -f /root/.profile ]
+ install_
+ [ ! -f /root/.bashrc ]
+ install_
+ [ ! -f /etc/profile ]
+ install_
+ [ ! -f /etc/networks ]
+ install_directory srv 755 root
+ [ ! -d /srv ]
+ install_directory opt 755 root
+ [ ! -d /opt ]
+ install_directory etc/opt 755 root
+ [ ! -d /etc/opt ]
+ install_directory var/opt 755 root
+ [ ! -d /var/opt ]
+ install_directory media 755 root
+ [ ! -d /media ]
+ install_directory var/mail 2775 mail
+ [ ! -d /var/mail ]
+ [ ! -L /var/spool/mail ]
+ install_directory run/lock 1777 root
+ [ ! -d /run/lock ]
+ migrate_directory /var/run /run
+ [ ! -L /var/run ]
+ rmdir /var/run
rmdir: failed to remove `/var/run': Directory not empty
dpkg: error processing base-files (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
base-files
Is there a patch, script workaround to circumvent/correct this condition?
Thanks,
Faisal
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu apt Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Faisal Humayun for more information if necessary.