[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On Wed, 01 Feb 2006 00:02:59 +0000 Simon Waters wrote: > Grant Sewell wrote: > > Hi all, > > > > Is there a way to list all the packages installed on a system? I've > > tried "# dpkg --get-selections" but *everything* is listed as > > "install" or "deinstall", even packages that have been installed > > already are labelled as "install", so I'm guessing it's not the tool > > I want. > > It is exactly the tool you want I suspect. But if you say why you want a > list we can probably help you even more. > > The output is designed to tell you want to do one system to recreate an > existing system, so it would say "install" for all packages installed, > and "deinstall" for any packages missing. So the that command-line is what I need to use to generate a "this is what needs to be installed on system Y for it to be the same(ish) as system X"? How can I do this, though? Let's imagine that I'm about to install a fresh instance of Debian onto a nice shiny new machine (I'm not... yet, but you never know when the lottery's gonna help out :P) and I want to have the same packages installed on this new machine as I have installed on the old one. How would I take the output from the above command and use it appropriately? Cheers. Grant. -- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html