Reply
Thread Tools
Ammar Hamdan's Avatar
Posts: 34 | Thanked: 12 times | Joined on Apr 2012 @ Damascus/Syria
#1
HEEEEELP... every time i try to install app or uninstall app from app manager a msg pops up says 'operation failed'...& at the same way faster application manager but with different msg 'package management system is locked by another process or permission was denied'

this is what happened when I tried to install flip clock:

Code:
hildon-application-manager 2.2.72
connected to 9775cc1 f-39a2-4db1-8faf-91fbe668adfe
apt-worker: Can't remove /var/cache/apt/archives/lock: Is a directory
E: Could not open lock file /var/cache/apt/archives/lock - open (21 is a directory)
E: Unable to lock the download directory
-----
Installing qflipclock 1.1.0
apt-worker: free space (/)=72720384
apt-worker: Can't remove /var/cache/apt/archives/lock: Is a directory
E: Could not open lock file E: Could not open lock file /var/cache/apt/archives/lock - open (21 is a directory)
E: Unable to lock the download directory
plz.... I need some HELP

Last edited by Ammar Hamdan; 2012-05-07 at 20:15.
 
Posts: 2,023 | Thanked: 1,756 times | Joined on Sep 2008 @ Berlin, Germany
#2
Please try
Code:
sudo gainroot
rm -rf /var/cache/apt/archives/lock
apt-get update
Please post the errors you are getting here, if any.
 

The Following User Says Thank You to michaaa62 For This Useful Post:
davdav's Avatar
Posts: 283 | Thanked: 220 times | Joined on Aug 2011 @ Egypt | Forum editor
#3
wrong place..
please move the thread..
__________________
N900 : 1.0 GHZ + Debian LXDE + Nitdroid
linux, windows and mac
nokia 3200>nokia 7610 >nokia n81 >nokia e71>nokia n97>NOKIA N900>iPhone5

Press the thanks button if i helped.
 
Ammar Hamdan's Avatar
Posts: 34 | Thanked: 12 times | Joined on Apr 2012 @ Damascus/Syria
#4
@michaaa62
thx for ur response & help... but i think the problem is solved...the lock file in /opt/var/cache/apt/archives/ was deleted by mistake but somehow I found this file in /home/user/MyDocs/apt-archive-cache/ I copied all missing files from this directory to the first directory...so now I'm able to install & uninstall apps from 'ham' or faster application manager

ps: I tried your codes by x-terminal & that's the result of last 6 lines:


Code:
Hit https://downloads.maemo.nokia.com ./ Packages
Hit https://downloads.maemo.nokia.com ./ Packages
Hit https://downloads.maemo.nokia.com ./ Packages
Hit https://downloads.maemo.nokia.com ./ Packages
Fteched 198B in 1min38s (2B/s)
Reading package lists... Done
so do u think what I did was right ???
 
Posts: 2,023 | Thanked: 1,756 times | Joined on Sep 2008 @ Berlin, Germany
#5
Looks good, now try to install qflipclock
Code:
sudo gainroot
apt-get install qflipclock
 
Ammar Hamdan's Avatar
Posts: 34 | Thanked: 12 times | Joined on Apr 2012 @ Damascus/Syria
#6
Cooool... Everything is working
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 16:53.