maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Cant install apps (https://talk.maemo.org/showthread.php?t=81221)

Lovsan 2011-12-30 20:19

Cant install apps
 
i get following error in terminal

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?

and i cant either download/install via Ovi Store ...

is there something i can do? i tried rebooting but no luck...

rafpac 2011-12-31 17:40

Re: Cant install apps
 
Reflash man same thing happened to me. Happy new year.

Zas 2011-12-31 17:55

Re: Cant install apps
 
As root:
rm /var/lib/dpkg/lock

Lovsan 2011-12-31 18:11

Re: Cant install apps
 
thanks! will try that in moment, reflashing isnt really option and i dont wanna use backup, if there are some commands id rather use them to fix the system.

impact 2011-12-31 18:32

Re: Cant install apps
 
If you want to investigate it further, it should be relatively easy to check whether the process that created the lock file is still running or not (the lock file should contain the PID of the process that is using it). It's just Linux, no black magic involved. :)

Lovsan 2011-12-31 18:41

Re: Cant install apps
 
i dont have much experience with linux, i have always used windows. im considering to install linux tho.

ajalkane 2011-12-31 19:07

Re: Cant install apps
 
Quote:

Originally Posted by Lovsan (Post 1143975)
and not running that code btw :P removing the lock file? :D

You should. I've done that many times without issues and it has solved this kind of problems.

Sometimes it has been because an application I have installed. Uninstalling said application has resolved the problem. But even in those situations removing the lock file could have worked, I just haven't tried.

Anyway removing the lock file should be safe if you know there is no application updates going on.

impact 2011-12-31 21:22

Re: Cant install apps
 
This lock file should be removed automatically when you are finished installing stuff. You were probably installing something, and the installer crashed before it finished - that's why the lock file is still present. Now when you try to run the installer again again, it sees the lock file and thinks "hey! installation is already running" and that's why it shows that error and won't let you install anything. In that case you will have to remove the lock file manually.

Lovsan 2011-12-31 21:46

Re: Cant install apps
 
the weird thing is that it doesnt let me download anyting from store. i can click download buttong but nothing happens, really weird :confused:

i will report later on, im now watching finland - czech u20 game via stream and dont want anything to interrupt :D

happy new year every and thanks for the help ! :cool:

impact 2011-12-31 21:47

Re: Cant install apps
 
Oh yeah, I can totally understand that. Go Czech!


All times are GMT. The time now is 17:29.

vBulletin® Version 3.8.8