[Nottingham] Preserving a list of packages installed (Ubuntu but could be general!)

Simon Huggins huggie at earth.li
Thu Sep 28 22:17:21 BST 2006


On Thu, Sep 28, 2006 at 07:38:32PM +0100, Peter Chang wrote:
> $ dpkg -l > olddeb.lis

dpkg --get-selections  >somefile
is the standard Debian/Ubuntu way to do this.

You can then use:
dpkg --set-selections <somefile
to mirror the package states though doing this between different
versions of Debian/Ubuntu will lead to interesting things happening :)

Simon.

-- 
* "Don't worry, understanding of the topic being discussed has      *
| been optional for a long time on debian-devel at ." -- Md            |
*                                                                   *
           Brought to you by the letter B and the number 26



More information about the Nottingham mailing list