maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Deleting locked files (and completely removing packages) (https://talk.maemo.org/showthread.php?t=85759)

lifeintheblitz 2012-07-29 13:09

Deleting locked files (and completely removing packages)
 
So, I tried updating Sophie Cam, but I got a botched update. Apparently, I can't install the new version, because there's an old version of the .deb (presumably corrupted file) in /var/cache/apt/archives/partial/

Now, I am still a noob when it comes to Linux commands. -_- Tried deleting it with Filebox, but to no avail. Is there any terminal command that will allow me to delete file? :)

Tried using WinSCP to delete it, but it still won't let me. :eek:

thedead1440 2012-07-29 13:20

Re: Deleting locked files
 
as root:
rm -R /var/cahce/apt/archives/partial/FILE_NAME

lifeintheblitz 2012-07-29 13:25

Re: Deleting locked files
 
Omg i love you. <3 <3 <3 <3 <3

lifeintheblitz 2012-07-30 01:31

Re: Deleting locked files
 
Ok a little update. I still cannot update Sophie Cam, despite me deleting a rogue file in /var/cache/apt/archives/partial/

When I run dpkg --list, sophiecammeego is still on that list. I tried removing it with apt-get autoremove sophiecammeego. Process didn't give me any errors, so I figured it worked. Also did apt-get update, then I rebooted my device. Now, when I run dpkg --list again, sophiecammeego is still there. -_-

I noticed that before the actual name of the package, there's an "ii" in the first column. For the package "sophiecammeego", it's "rc". What exactly does "rc" mean? Any help would be greatly appreciated. Basically, I want to remove all remnants of Sophie Cam on my N9, so I can download and install a new version.

thedead1440 2012-07-30 01:53

Re: Deleting locked files (and completely removing packages)
 
as root:
apt-get remove sophiecam*
apt-get autoremove

you can now install it...

ladoga 2012-07-30 02:51

Re: Deleting locked files
 
ii means installed. rc means removed. You can try completely purging the package by dpkg -P <packagename> as root.


All times are GMT. The time now is 20:19.

vBulletin® Version 3.8.8