Removing packages
I am fine tuning my netbook install by removing/replacing some packages. Example, remove Thunderbird, install Sylpheed, remove rxvt, xterm, install terminator, etc... Now when I install Sylpheed, if I am missing a dependency, I will know soon enough and I can keep track of that. Perfectly fair. But when I remove Thunderbird, well, is there a way to find out if there were any other packages that Thunderbird depended upon that could be removed? Like an orphan package.
|
ldd /usr/bin/thunderbird then look for every line of the output from which package it comes. For instance the output of that command being:
Code:
linux-gate.so.1 => (0xffffe000) Code:
grep libpthread.so.O /var/log/{packages,scripts}/* Code:
/var/log/scripts/glibc-2.13-i486-6_slack13.37:( cd lib ; rm -rf libpthread.so.0 ) PS Please note that I did not advise you to remove glibc nor glibc-solibs :) PS2 Any (not that) new flame war about automatic dependencies' management is strictly forbidden and will be severely punished. |
i did a search in metacrawler for the dependencies, the dependency hell entry on wikipedia mentions it specifically. looks like it's static compiled gre in most cases, or compiled to use a common xulrunner interface, presume it's static, run it from an xterm for a while to catch error messages.
|
Let's keep in mind that having a full install of Slackware lessen the burden of managing dependencies.
In particular, slackbuilds.org only mention dependencies which are not included in Slackware. So my advise would be: - if your netbook is really short on disk space, only remove really heavy packages; - else do not remove anything. Despite the old saying « Il ne faut pas mettre deux crocodiles mâles dans le même marigot », xterm and terminator should be able to peacefully coexist in your Slackware ;) |
Thanks Didier. Familiarizing myself with Slackware. I am going to study your answer further. Yeah I will not remove glibc. I am an Arch user too, I know about glibc hell... :).
@sKaar. Yep starting an app from the command line can help diagnose/troubleshoot things and minimize trouble. |
All times are GMT -5. The time now is 06:13 AM. |