summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-08-17 19:22:33 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-08-17 19:22:33 +0200
commit903a173b393d148c544fdfefa0d6e4056acffbfe (patch)
treec9cde8f765a8153eb9acb401bc5410d916023e54
parent567b4d0af97e163957dd71f0a5b6a81a0b78b2b7 (diff)
bin/apt-why: Show some package information
-rwxr-xr-xbin/apt-why5
1 files changed, 5 insertions, 0 deletions
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 {