New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Got error when upgrade Minstall!
I run the command: bash minstall.sh configure-upgrade. I have run that command many times before without any problems, but today when i tried to upgrade my packages to the latest one i got this two error messages:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Please help!
Comments
What's the output of:
ps aux | grep apt
http://ubuntuforums.org/showthread.php?t=1858466
as @Damian said -- get the process id by "ps aux | grep apt" ..and after that just kill those processid
kill -9 theaptprocessid
then rerun ur minstall.sh with root privileges
The output:
root 11909 0.0 6.9 21056 18156 ? S 12:48 0:00 apt-get -q -y upgrade
kill -9 11909
also you can try ..
apt-get install debian-archive-keyring .. this might help .. if you are getting gpg keys error while upgrading //
REBOOT!
i run the kill command but now i got:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
Thanks i run the dpkg --configure -a and after that it fixed itself.