[Deborphan-devel] Bug#670652: deborphan treats packages on hold as uninstalled
Carsten Hey
carsten at debian.org
Fri Apr 27 19:07:13 UTC 2012
Hi,
please Cc me on answers. I only saw your bug report because I was
looking up bug numbers for debian/changelog (maintaining deborphan is
currently transitioning from me to a team I'll not be part of and I'm
not subscribed to the team's list).
* Jakub Wilk [2012-04-27 17:38 +0200]:
> As far as I can see, deborphan treats packages that are on hold like if they
> were not installed:
>
> $ deborphan deborphan
> deborphan
> sbuild
>
> $ echo 'deborphan hold' | sudo dpkg --set-selections
>
> $ deborphan deborphan
> deborphan: package deborphan not found or not installed
You hit the presumably only case where deborphan treats packages on hold
as being uninstalled.
A possible changelog entry for the bugfix is:
* Imply --force-hold in show-deps mode. Closes: #670652
The fix itself is obvious.
A workaround you could to use is to use the option -H when listing
a package's dependencies using deborphan.
Commands I used for testing are:
$ dpkg --get-selections | grep ubuntu-dev-tools
ubuntu-dev-tools hold
$ deborphan sbuild
sbuild
ubuntu-dev-tools
$ deborphan -H sbuild
sbuild
ubuntu-dev-tools
$ deborphan ubuntu-dev-tools
deborphan: package ubuntu-dev-tools not found or not installed
$ deborphan -H ubuntu-dev-tools
ubuntu-dev-tools
Regards
Carsten
More information about the Deborphan-devel
mailing list