Hi,
actually adding this feature is trivial. This is the diff for debtree :

-----------------
61d60
< my $aptconf="";
95d93
<       'conf=s'                        => \$aptconf,
159,161d156
< if ($aptconf) {
<   $ENV{'APT_CONFIG'} = $aptconf
< }
-----------------

and a typical local apt.conf file will look like this :

----------------
APT::Get::List-Cleanup "false"; 
Dir::Cache /tmp/apt;
Dir::State /tmp/apt;
Dir::State::status /tmp/apt/status;
Dir::Etc::SourceList /tmp/apt/sources.list;
---------------

of course you will need a proper apt repository

mkdir -p /tmp/apt/{archives,lists}/partial
cp $yourPackagesfile /tmp/apt/lists
cp $yourstatusfile /tmp/apt/
apt-get -c=apt.conf update

Then calling debtree as :
./debtree -conf=apt.conf dpkg

should do the trick.

if you want I can send you a proper patch... but I guess this is so trivial
that you might want to fill the details yourself.

thanks !

pietro

-- 
----
http://en.wikipedia.org/wiki/Posting_style



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to