Reply
Thread Tools
Posts: 33 | Thanked: 3 times | Joined on Aug 2012
#1
When I'm trying to execute a code always massage comes,

E:could not open lock file /var/lib/dpkg/lock-open(13 permission denied)
E:Unable to lock administration directory (/var/lib/dpkg/), are you sure?


What I should do for this? Please tell me step by step
 
Posts: 2,290 | Thanked: 4,133 times | Joined on Apr 2010 @ UK
#2
Type
Code:
top
Post output here
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 
Posts: 33 | Thanked: 3 times | Joined on Aug 2012
#3
Mem: 241708k used,4260 free.....

.............
.............................
...............................

like that very long details are showing. I'm log-in here by pc.So I cant type all. However all memory usages are showing well.
 
Zas's Avatar
Posts: 196 | Thanked: 113 times | Joined on Jun 2010 @ Finland
#4
rm /var/lib/dpkg/lock

Be careful with it, you shouldn't do it but I do it every time and haven't broken anything. Just a warning.
 
Posts: 33 | Thanked: 3 times | Joined on Aug 2012
#5
Originally Posted by Zas View Post
rm /var/lib/dpkg/lock

Be careful with it, you shouldn't do it but I do it every time and haven't broken anything. Just a warning.
I couldn't get you. Can you please explain bit more?
 
Posts: 2,290 | Thanked: 4,133 times | Joined on Apr 2010 @ UK
#6
If you want help your going to need to give all the information exactly.

I am guessing your app man is running in the background or something.

Your not explaining what you are trying to do in your posts, so it's really hard to help.

You will be better joining IRC #maemo

wiki.maemo.org/IRC

Will be quicker than post/waiting for posts...etc...etc
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#7
Either you are trying this apt-get or dpkg while you are not have the rights of root - Do you have rootsh installed? - Or HildonApplicationManager is running, this might even run unnoticed in the background.

Do NOT remove the lock file! Wait a couple of minutes or try to reboot to have backgrounding processes terminated.
 

The Following User Says Thank You to michaaa62 For This Useful Post:
tiempjuuh's Avatar
Posts: 202 | Thanked: 165 times | Joined on Jul 2012 @ Apeldoorn, Netherlands
#8
Type in 'sudo gainroot' first.
 
Reply


 
Forum Jump


All times are GMT. The time now is 18:46.