Reply
Thread Tools
Posts: 98 | Thanked: 71 times | Joined on Sep 2011 @ Manila
#1
Guys ,what should i do?i cant install-update apps on my n900 due to this problem?



BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo gainroot
Root shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # apt-get update
Hit http://repository.maemo.org fremantle-1.3 Release.gpg
Hit https://downloads.maemo.nokia.com ./ Release.gpg
Ign http://repository.maemo.org fremantle-1.3/free Translation-en_GB
Ign http://repository.maemo.org fremantle-1.3/non-free Translation-en_GB
Ign https://downloads.maemo.nokia.com ./ Translation-en_GB
Hit http://repository.maemo.org fremantle Release.gpg
Hit https://downloads.maemo.nokia.com ./ Release.gpg
Ign http://repository.maemo.org fremantle/free Translation-en_GB
Ign https://downloads.maemo.nokia.com ./ Translation-en_GB
Hit https://downloads.maemo.nokia.com ./ Release.gpg
Ign http://repository.maemo.org fremantle/non-free Translation-en_GB
Hit http://repository.maemo.org fremantle Release.gpg
Ign http://repository.maemo.org fremantle/free Translation-en_GB
Ign http://repository.maemo.org fremantle/non-free Translation-en_GB
Ign https://downloads.maemo.nokia.com ./ Translation-en_GB
Hit http://repository.maemo.org fremantle-1.3 Release
Hit https://downloads.maemo.nokia.com ./ Release
Hit https://downloads.maemo.nokia.com ./ Release
Hit https://downloads.maemo.nokia.com ./ Release
Hit http://repository.maemo.org fremantle Release
Hit http://repository.maemo.org fremantle Release
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Ign http://repository.maemo.org fremantle-1.3/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle-1.3/non-free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/free Packages/DiffIndex
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/free Packages/DiffIndex
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex
Hit https://downloads.maemo.nokia.com ./ Packages
Hit http://repository.maemo.org fremantle-1.3/free Packages
Hit https://downloads.maemo.nokia.com ./ Packages
Hit https://downloads.maemo.nokia.com ./ Packages
Hit http://repository.maemo.org fremantle-1.3/non-free Packages
Hit http://repository.maemo.org fremantle/free Packages
Hit http://repository.maemo.org fremantle/non-free Packages
Hit http://repository.maemo.org fremantle/free Packages
Hit http://repository.maemo.org fremantle/non-free Packages
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?

Ive always encounter this problem....could not get lock and unable tp lock...
 
Posts: 1,005 | Thanked: 1,060 times | Joined on Jan 2010 @ Amsterdam, Palma de Mallorca
#2
Run this as root, or sudo it

Code:
rm -f /var/lib/dpkg/lock
 
ibrakalifa's Avatar
Posts: 1,411 | Thanked: 786 times | Joined on Dec 2011 @ Harmattan
#3
reboot ur phone
__________________
~$
~#
 

The Following User Says Thank You to ibrakalifa For This Useful Post:
panjgoori's Avatar
Posts: 1,083 | Thanked: 962 times | Joined on Aug 2011 @ Balochistan
#4
reboot it. Or kill HAM process which is running background. I sqometimes encounter this error when apt-worker backend named process running in background. End it and you are good to go.
 

The Following User Says Thank You to panjgoori For This Useful Post:
Posts: 99 | Thanked: 64 times | Joined on Jan 2008 @ Finland
#5
Like already said, dpkg has locked the package database. Usually this means there's already another dpkg process running, background or foreground. If you don't have Application Manager running and yet you still always get this message, there's something wrong. Killing dpkg-processes or removing (a stale) lock file might help for time being but it's hardly the solution. apt-worker should check for updates only so often -- it shouldn't be running all the time.

What does "ps | grep apt" return?
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 21:38.