Home | Bug Tracker | Wiki | Mailing Lists | Forums    
   Username:  Password:  Signup
   
   Main Menu
· Home
· Search
· Site Stats
   Donate to Parsix
Help us to move faster and make a better system for you. Donations are highly appreciated.

Donations Sum: $ 400,00
   Search
   Download
· SF.Net Mirrors
   Bug Report
Help us to fix problems and defects. Please report bugs here.
   Online Users
Admin
No Online Admins
Members:Online
Members:Members:0
Guests:Guests:33
Total:Total:33
Online Members
No online members
   Sponsored Links



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
lawmanukOffline
Post subject: [solved] uninstalling files completely  PostPosted: Aug 11, 2008 - 12:47 PM



Joined: Aug 08, 2008
Posts: 141

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 12, 2008 - 09:29 PM; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
xet7Offline
Post subject: RE: removing files completely  PostPosted: Aug 11, 2008 - 01:09 PM
Forum Moderator
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`
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
lawmanukOffline
Post subject:   PostPosted: Aug 13, 2008 - 02:31 PM



Joined: Aug 08, 2008
Posts: 141

Status: Offline
the last line doesn't work

dpkg -P `deborphan`

what should this be?
 
 View user's profile Send private message  
Reply with quote Back to top
mandog
Post subject:   PostPosted: Aug 13, 2008 - 04:09 PM
Forum Moderator
Forum Moderator


Joined: Jan 25, 2008
Posts: 209
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
 
 View user's profile Send private message Send e-mail ICQ Number 
Reply with quote Back to top
xet7Offline
Post subject:   PostPosted: Aug 13, 2008 - 09:50 PM
Forum Moderator
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 ...
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
lawmanukOffline
Post subject:   PostPosted: Aug 13, 2008 - 10:33 PM



Joined: Aug 08, 2008
Posts: 141

Status: Offline
i had to install deborphan, as it wasn't installed.

then your initial line removing the space worked fine.

thanks
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 3.5 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Copyright© 2005-2007 Parsix Project
Contact: webmaster AT parsix DOT org