Hi,
On Thu, Jun 26, 2008 at 01:40:34PM +0100, Chris Carr wrote:
> I've been having some difficulty distinguishing between the output of
>
> deborphan -a --show-deps
>
> and
>
> deborphan -a -n --show-deps
>
> It occurred to me that if show deps prefixed its output with D/R/S, this
> would be a lot easier, e.g.
>
> packagename
> D:package that depends on it
> R:package that recommends it
> S:package that suggests it
changing the output of any command will never happen because of backwards
compatibility, at least unless someone verifies that this command is not used
in any packages that depends, recommends or suggests deborphan.
$ apt-cache rdepends deborphan
wajig
upgrade-system
synaptic
sbuild
packagesearch
localepurge
gtkorphan
feta
$ for i in `apt-cache rdepends deborphan | grep '^ '`; do apt-get source $i;
done
...
$ grep -ri -- --show-deps . | wc -l
0
$ grep -ri -- -d . | wc -l
2684
If you want to check those 2684 lines by hand feel free to do so. Options
might also occur on another line as the command, so greping for deborphan
doesn't help in this case.
I need to think about either adding an output modifier or introducing a more
general --verbose option to address this bug, but this will not happen before
other design decisions have been made.
The following shell function, which only works with bash or zsh, should help
you until this bug is fixed:
deborphan-shop-deps() {
diff -c <(deborphan -a -n --show-deps "$@") <(deborphan -a --show-deps "$@")
}
$ deborphan-shop-deps apt
...
apt (main/admin)
+ dctrl-tools
+ dpkg
+ debfoster
python-apt
apt-utils
apticron
+ deborphan
You mentioned in another mail that you'd like to see --nice-mode to be splittet
in --ignore-suggests and --ignore-recommends, --nice-mode would then be an
alias for those options. Feel free to file a bug about this if you want it to
be documented in the BTS.
Regards,
Carsten
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]