| Author |
Message |
lawmanuk
|
|
Post subject: [solved] uninstalling files completely
Posted: Aug 12, 2008 - 12:17 AM
|
|
Joined: Aug 09, 2008
Posts: 143
Status: Offline
|
|
Hi,
I've noticed that when i install a program, it will suggest all dependencies to me for installation.
however, this does not work in reverse. If i uninstall the same file, it doesn't remove all it's dependencies (even if unused by other programs). I have to try to remove a base dependency that the layers above require, to get suggestions of all files that need removing.
is there a sure fire way to remove all files associated with a program?
also - i think a mint feature would be great. they permit you to remove programs by right clicking their menu entry.
thanks |
Last edited by lawmanuk on Aug 13, 2008 - 08:59 AM; edited 1 time in total
|
| |
|
|
|
 |
xet7
|
|
Post subject: RE: removing files completely
Posted: Aug 12, 2008 - 12:39 AM
|
|
Forum Moderator

Joined: Feb 20, 2008
Posts: 205
Location: Finland
Status: Offline
|
|
This info is originally from this wiki page:
Updating Parsix, removing not needed files and installing software
http://www.parsix.org/html/index.php?mo ... tingParsix
So here's how to uninstall everything unneeded, example is previous kernel, but you can use any other package.
In Root Terminal:
Code:
apt-get --purge remove linux-image-2.6.24-parsix-22
apt-get clean
apt-get autoremove
dpkg -P `deborphan`
|
|
|
| |
|
|
|
 |
lawmanuk
|
|
Post subject:
Posted: Aug 14, 2008 - 02:01 AM
|
|
Joined: Aug 09, 2008
Posts: 143
Status: Offline
|
|
the last line doesn't work
dpkg -P `deborphan`
what should this be? |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Aug 14, 2008 - 03:39 AM
|
|
Forum Moderator

Joined: Jan 25, 2008
Posts: 228
Location: UK
|
|
| Try dpkg -P deborphan |
_________________ Parsix running AMD 6000 x2 64bt, Asus mother board 8gb ram, Nvidia graphic card 1gb unboard ram, Plextor PX760, EPSON R300, 2x 500gb sata+2x 500gb usb Hardrive, Netgear, 19" DELL monitor 1600X1200 X 75hz Resolution
|
| |
|
|
|
 |
xet7
|
|
Post subject:
Posted: Aug 14, 2008 - 09:20 AM
|
|
Forum Moderator

Joined: Feb 20, 2008
Posts: 205
Location: Finland
Status: Offline
|
|
lawmanuk:
Yes that is exactly correct code, but when copying and pasting to command line, after that command it inserts one extra space character, which makes the whole thing fail. If you remove that extra space from the end, it works like this:
Code:
# dpkg -P `deborphan`
(Reading database ... 146208 files and directories currently installed.)
Removing libisc32 ...
Purging configuration files for libisc32 ...
Don't try mandog's version, because it removes package deborphan like the following. Yes this has also happened to me before too:
Code:
# dpkg -P deborphan
(Reading database ... 146208 files and directories currently installed.)
Removing deborphan ...
Purging configuration files for deborphan ...
Processing triggers for menu ...
Processing triggers for man-db ...
So, now package deborphan needs to be installing again:
Code:
# apt-get install deborphan
Luetaan pakettiluetteloita... Valmis
Muodostetaan riippuvuussuhteiden puu
Luetaan tilatiedot... Valmis
Seuraavat UUDET paketit asennetaan:
deborphan
0 päivitetty, 1 uutta asennusta, 0 poistettavaa ja 0 päivittämätöntä.
Noudettavaa arkistoa 73,0kt.
Toiminnon jälkeen käytetään 418k t lisää levytilaa.
Nouda:1 http://packages.parsix.org boss/main deborphan 1.7.24 [73,0kB]
Noudettiin 73,0kt ajassa 0s (122kt/s)
Selecting previously deselected package deborphan.
(Reading database ... 146178 files and directories currently installed.)
Unpacking deborphan (from .../deborphan_1.7.24_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for menu ...
Setting up deborphan (1.7.24) ...
Processing triggers for menu ...
|
|
|
| |
|
|
|
 |
lawmanuk
|
|
Post subject:
Posted: Aug 14, 2008 - 10:03 AM
|
|
Joined: Aug 09, 2008
Posts: 143
Status: Offline
|
|
i had to install deborphan, as it wasn't installed.
then your initial line removing the space worked fine.
thanks |
|
|
| |
|
|
|
 |
|
|