Did you report a wishlist bug on that? I'm sure many people will benefit if deborphan would check the package section (libs/libsdevel) and not only the name of the name.

Let me know if help needed in making this report.

Ira Abramov wrote:
Quoting Tzafrir Cohen, from the post of Sat, 18 Dec:

On Sat, Dec 18, 2004 at 03:01:51PM +0200, Lior Kaplan wrote:

Notice that deborphan reports only on libraries, not other packages. To
see a full list of undependent packages use deborphan -a.

With this option you have to manually select packages for removal.
Automatic way is dangarous. I'd also won't do 'deborphan | xargs apt-get
remove -y' since the -y will not let me confirm the removal. But I'd have
added --purge to the command.

meaning:
deborphan | xargs apt-get --purge remove

Does this work?

The reason I added the '-y' was because the input of 'apt-get' is from
the pipe. Therefore you get no chance of confirming the operation

I'm also not sure I'd default for --purge.


I would, because that's exactly what I want to do with a library I'm no
longer using.

What I can tell you is that In 12 years of using Unix and Linux, I have
only once found xargs a must. this is how I do it, got an alias in fact:

apt-get --purge remove  `deborphan  --guess-dev --guess-debug --guess-section`

the proglem with deborphan's default behavior, btw, is that is looks for
independant packages called "lib*", not for actual libraries, and it
doesn't look at second tier orphans (i.e. packages that will be marked
orphans once the current set is removed). As for the first problem,
deborphan always recommends me to remove packages like libjpeg-mmx-progs
which I need, and are not libraries. bad choice of package name maybe,
but I found no way of pinning those packages away from deborphan other
than building a stub package that depends on it and is not a library.
sigh.


--

Regards,

Lior Kaplan
[EMAIL PROTECTED]
http://www.Guides.co.il

Debian GNU/Linux unstable (SID)

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Reply via email to