maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   I can't Install or uninstall apps (https://talk.maemo.org/showthread.php?t=84121)

Ammar Hamdan 2012-05-07 20:06

I can't Install or uninstall apps
 
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 :confused:

michaaa62 2012-05-07 20:57

Re: I can't Install or uninstall apps
 
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.

davdav 2012-05-07 22:19

Re: I can't Install or uninstall apps
 
wrong place..
please move the thread..

Ammar Hamdan 2012-05-08 11:36

Re: I can't Install or uninstall apps
 
@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 ??? :rolleyes: :rolleyes:

michaaa62 2012-05-08 18:09

Re: I can't Install or uninstall apps
 
Looks good, now try to install qflipclock
Code:

sudo gainroot
apt-get install qflipclock


Ammar Hamdan 2012-05-09 03:14

Re: I can't Install or uninstall apps
 
Cooool... Everything is working :) :)


All times are GMT. The time now is 05:56.

vBulletin® Version 3.8.8