Bug#342787: deborphan -a miss some packages

2005-12-10 Thread Bill Allombert
Package: deborphan
Version: 1.7.18
Severity: normal

Hello Peter,

Despite what the manpage say, I find deborphan -a very useful on small
server/firewall type box when I want to have a minimum of packages
installed.

However, deborphan -a miss some packages that are orphaned.
I can send you examples privately.

BTW is there a way to specify the path to the status file for testing
purpose ?

Cheers,
-- 
Bill. [EMAIL PROTECTED]

Imagine a large red swirl here. 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#342787: deborphan -a miss some packages

2005-12-10 Thread Peter Palfrader
On Sat, 10 Dec 2005, Bill Allombert wrote:

 Package: deborphan
 Version: 1.7.18
 Severity: normal
 
 Hello Peter,
 
 Despite what the manpage say, I find deborphan -a very useful on small
 server/firewall type box when I want to have a minimum of packages
 installed.
 
 However, deborphan -a miss some packages that are orphaned.
 I can send you examples privately.

Maybe you get caught by recommends?  Try -n.

 BTW is there a way to specify the path to the status file for testing
 purpose ?

Yes,

   -f, --status-file=FILE
  Use FILE as the status file.

Cheers,
Peter
-- 
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
messages preferred.| : :' :  The  universal
   | `. `'  Operating System
 http://www.palfrader.org/ |   `-http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#342787: deborphan -a miss some packages

2005-12-10 Thread Bill Allombert
Hello Peter,

I have identified two problems:

1) if a package Depends of foo | bar, then both foo and bar are
considered non-orphaned.

2) if a package Depends of baz  and If foo and bar Provides baz, 
then both foo and bar are considered non-orphaned.

How can we improve this ? For example here I have 45 window managers
that provide x-window-manager and a single package that has a dependency
on kwin | x-window-manager. deborphan will not consider any of the wm
orphaned.

Cheers,
-- 
Bill. [EMAIL PROTECTED]

Imagine a large red swirl here. 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#342787: deborphan -a miss some packages

2005-12-10 Thread Peter Palfrader
retitle 342787 deborphan treats alternatives and provides in a way that is not 
always desirable
thanks

On Sat, 10 Dec 2005, Bill Allombert wrote:

 Hello Peter,
 
 I have identified two problems:
 
 1) if a package Depends of foo | bar, then both foo and bar are
 considered non-orphaned.
 
 2) if a package Depends of baz  and If foo and bar Provides baz, 
 then both foo and bar are considered non-orphaned.

Yes, I was aware of these limitations.

 How can we improve this ? For example here I have 45 window managers
 that provide x-window-manager and a single package that has a dependency
 on kwin | x-window-manager. deborphan will not consider any of the wm
 orphaned.

Hmm.  Good question.  If you do come up with a nice solution and a patch
please let me know!

It would be nice to fix this, but it would possibly also require
chanking some UI.  For instance you can't just list all the
windowmanagers in your example, because then things would break if the
user tried to remove them all.

-- 
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
messages preferred.| : :' :  The  universal
   | `. `'  Operating System
 http://www.palfrader.org/ |   `-http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]