From 903a173b393d148c544fdfefa0d6e4056acffbfe Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 17 Aug 2008 19:22:33 +0200 Subject: bin/apt-why: Show some package information --- bin/apt-why | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/apt-why b/bin/apt-why index ed1e0a2..821f625 100755 --- a/bin/apt-why +++ b/bin/apt-why @@ -104,6 +104,11 @@ sub print_deps { } } +print "State: $package->{CurrentState}\n"; +if ($package->{Flags} =~ /Essential/) { + print "Essential: yes\n"; +} + if ($not) { print_deps(why_not($package->{RevDependsList})); } else { -- cgit v1.2.3