A package management question



dpkg --get-selections provides a list of all packages that are currently on a Debian
computer, and
dpkg --set-selections allows one to clone that set onto another computer, or restore
it onto the computer on which it was generated in case of a crash or operator error.

But this list does not contain any information about the dependencies among the packages.

Is there a program that will analyze a list of packages and arrange them into a tree,
or forest (multiple independent trees)? I am curious as to what is the minimum set
of apt-get install terms that are necessary to reproduce my installation (or any
particular installation).

Second question: The dependency relation forms a network on the set of packages. Is this
network a multi-tree, or are there loops within this network?

TIA
--
Paul E Condon
pecondon@xxxxxxxxxxxxxxxx


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • bothersome Brother package
    ... The following packages will be REMOVED: ... dpkg - warning: while removing hl5150dlpr, ... subprocess post-installation script returned error exit status 127 ... The installation can probably be completed by retrying ...
    (Debian-User)
  • Re: Newbie looking for some answers please...........
    ... I know that apt-get is the main utility to add and remove programs ... > what about other packages or applications that are not installed ... i find that dpkg works well -- in order to not truncate the package ... Anyone has a good site for descriptions of the configuration files ...
    (Debian-User)
  • Problems with apt-get upgrade -y and crontab
    ... The following packages have been kept back ... dpkg: ... without having to wait for me (I crontab apt-get update as well). ... error running postrotate script error running postrotate script error ...
    (Debian-User)
  • Re: Help- desktop-base - dpkg-divert - mismatch on package when removing diversi
    ... The following extra packages will be installed: ... dpkg: error processing ... of the desktop-base package to satisfy dependencies. ... post/pre-rm scripts and create a clean slate for the installation of the ...
    (Debian-User)
  • dpkg fails after removing some packages
    ... mixed testing/unstable system. ... something went wrong with dpkg. ... dpkg is version 1.10.10, base-files 3.0.10 ... The following extra packages will be installed: ...
    (Debian-User)