from the last line in that output, it looks like there may be another package manager running.
from the last line in that output, it looks like there may be another package manager running.
Hi
From the terminal, type this command
Does it return anything ? Post back results.Code:lsof /var/lib/dpkg/lock
Kind regards
Last edited by matt_symes; March 18th, 2012 at 07:46 PM.
If you believe everything you read, you better not read. ~ Japanese Proverb
If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain
Thinking about becoming an Ubuntu Member?
Hi!
I have seen a similar problem before. In that situation, one of the software sources was set as the Ubuntu CD, so that - while checking for updates the system kept waiting for the cd.
I am not sure whether you have the same problem, but please try the following.
Go to "Software Sources" [should be available under "System Settings"]
If the Ubuntu 11.10 CD is marked as a source, uncheck the corresponding box and reboot the system.
Then do "sudo apt-get update" followed by "sudo apt-get upgrade" from the terminal.
Please note that if the CD is not marked as a source then your problem is different from what I have just mentioned.
Good Luck!
Hi
Try this
You can copy and paste it from this post into the terminal to make it easier.Code:ps aux | egrep "update-manager|software-center|apt|dpkg|synaptic"
Please paste back the results.
I assume you are still get that same error (locked file) after sudo apt-get update ? Run that command again just to be sure.
Kind regards
If you believe everything you read, you better not read. ~ Japanese Proverb
If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain
Thinking about becoming an Ubuntu Member?
Hi
I'm glad it's fixedthis was fixed after a reeboot
Something had a lock on dpkg. A reboot will often help but it would have been nice to see what was locking it just in case the problem survived reboots.
Kind regards
Last edited by matt_symes; March 18th, 2012 at 09:08 PM. Reason: Context
If you believe everything you read, you better not read. ~ Japanese Proverb
If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain
Thinking about becoming an Ubuntu Member?
Bookmarks