Add Comment

You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.

To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.

This is the comment you were replying to, attached to the article What is the 'safest' way to Remove X11:


No need for deborphan
Posted by Demitsu (84.176.xx.xx) on Tue 20 Sep 2005 at 17:53
deborphan won't make the neccesary decisions for you.

Removing aforementioned packages seems to be the right way to go. You just need to make sure you do not need the packages which will break. Things like KDE/GNOME, xfig, fonts and stuff can be removed without ill effects, since they would be useless without X11 anyway.

Packages depending on xlibs may be a different matter, though: Some software (like gnuplot) have the nasty habit of uniting Commandline- and Graphical User Interface into a single binary. In that case, you will need to leave xlibs intact, as well as it's dependencies (recursively).

I must confess I'm pretty lazy, so aptitudes "Mark as automatically/manually installed" comes in handy, replicating deborphan's functionality. Pressing 'M' (capital) will mark the selected package as 'automatically installed'. Whenever aptitude doesn't detect any package depending on the selected package, it will be removed.

For that matter, aptitude automatically marks packages it has installed for dependencies' sake as 'automatically installed'. Only those packages initially deployed on your system by debian-installer are marked as 'manually installed'. After installation of a new Debian system, I usually skim through the package list and correct this by e.g. marking all libraries (regardless if installed or not) as 'manually installed'.

I hope this was clear enough to be understandable.

PS: Pressing 'b' in aptitude jumps to the next broken yackage.
PS2: I know there's a gnuplot-nox package for CLI-only gnuplot. Couldn't come up with a better example ;)

Username:Anonymous
Title:
Your Comment:

Posting Format:

 

Inappropriate comments will be removed.

Some help on entry formatting is available

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search