Package: gtkorphan
Severity: minor

To support multiarch, deborphan will on multiarch enabled systems print
all packagenames (except of when --list-keep is used) with an
architecture suffix appended.

I checked if this change will break gtkorphan - it does not, gtkorphan works
greatly with architecture suffixes.


Whilst checking gtkorphan I noticed that it uses a colon to separate
package names in the code that seems to be supposed to remove orphaned
packages from deborphans --show-deps output.  Back then when you wrote
gtkorphan, a colon was a good choice as separator, but nowadays it is
used to separate package names from the architecture, which can lead to
undesirable results of such algorithms.

The colon using code in gtkorphan_ops.pm is:

    my $orphaned = join(":",@orphaned);
    $orphaned=$orphaned.":";

I think it should use for example "#" instead of ":".


Because the above is kind of fishy nowadays, I checked if the orphaned
packages from deborphans --show-deps output are removed as seems to be
intended.  They are not removed, neither when used with a deborphan that
prints arch suffixes, nor when used with one that does not print arch
suffixes.


Regards
Carsten



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to