LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Add/remove error on ubuntu 8.10 (https://www.linuxquestions.org/questions/linux-newbie-8/add-remove-error-on-ubuntu-8-10-a-710142/)

sincapation 03-08-2009 09:27 PM

Add/remove error on ubuntu 8.10
 
If I click on <applications><Add/remove> I get

Failed to check for installed and available applications
This is a major failure of your software management system. Please check for broken packages with synaptic, check the file permissions and correctness of the file '/etc/apt/sources.list' and reload the software information with: 'sudo apt-get update' and 'sudo apt-get install -f'.

When I put in 'sudo apt-get update' in terminal I get

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?


If I put 'sudo apt-get install -f' I get

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?

bert07 03-08-2009 09:35 PM

Did you have a working Internet access?

sincapation 03-08-2009 09:44 PM

restarted my computer.

when type in 'sudo apt-get update'
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

when type in
~$ sudo apt-get install -f
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
~$ dpkg --configure -a
dpkg: requested operation requires superuser privilege

sincapation 03-08-2009 09:48 PM

yes have an active internet connection

bert07 03-08-2009 11:09 PM

Of course you can have an installation problem, but can you log in as root, and try to run the update from there after reloading the repo's.

bert07 03-08-2009 11:58 PM

When logged in as root, do not use the updater, but use the Synaptic Package Manager.
Start that program, choose "reload" then choose "Mark all upgrades", and then finally choose "Apply".

bert07 03-09-2009 12:00 AM

The Synaptic Package Manager can be found here:

System > Administration > Synaptic Package Manager

sincapation 03-09-2009 04:28 PM

Thanks guys I got it working now!!


All times are GMT -5. The time now is 05:31 AM.