maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Guys,i need you help again..cant install - update apps on N900. (https://talk.maemo.org/showthread.php?t=83255)

Dersonne 2012-03-26 01:07

Guys,i need you help again..cant install - update apps on N900.
 
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...

anthonie 2012-03-26 01:17

Re: Guys,i need you help again..cant install - update apps on N900.
 
Run this as root, or sudo it

Code:

rm -f /var/lib/dpkg/lock

ibrakalifa 2012-03-26 02:00

Re: Guys,i need you help again..cant install - update apps on N900.
 
reboot ur phone

panjgoori 2012-03-26 04:12

Re: Guys,i need you help again..cant install - update apps on N900.
 
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.

wnd 2012-03-26 08:52

Re: Guys,i need you help again..cant install - update apps on N900.
 
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?


All times are GMT. The time now is 23:45.

vBulletin® Version 3.8.8