On Wed, Jun 20, 2012 at 2:49 PM, Darac Marjal <mailingl...@darac.org.uk> wrote:
> On Wed, Jun 20, 2012 at 12:08:39PM +0200, Artifex Maximus wrote:
>> Hello!
>>
>> My Wheezy was installed on a very early stage any I would like to
>> compare packages against a fresh installation to see what is different
>> or changed. Probably nothing but would like to verify. Therefore I
>> would like to make a dependency tree (graph) on installed packages
>> under Wheezy for both (my older and a fresh) installation. On the two
>> dependency trees I am able to find differences between them because
>> packages by packages compare is not enough I think.
>>
>> I have made some google and found that debtree and apt-cache might do
>> that. But do not. Or not exactly what I would like. debtree needs a
>> package name for graph but I need all my installed packages (no --all
>> or asterisk parameter) not just some and apt-cache makes tree from all
>> packages Debian has even I specify the parameter --installed. I am
>> stuck.
>
> It looks like "apt-cache --installed depends ." should do what you want.
> If it's doing what you want, but for all packages, then that seems like
> a bug to me (the --installed parameter says "Limit the output of depends
> and rdepends to packages which are currently installed"). Note that
> "--installed" only works with 'depends' and 'rdepends'.

This depends output looks very close to what I would like but
--installed does not works with depends for me even man page says so.

# dpkg --list | grep 0ad
# apt-cache --installed depends . | grep 0ad
0ad
0ad-data
0ad-dbg
# apt-cache --installed depends . | egrep -v '^ ' | wc -l
47121

Bye,
a


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/capkuxvewqkep50j4qjhom71my-7x5mhk6wfjjyzmsljbqwp...@mail.gmail.com

Reply via email to