Rather than dpkg -l, try dpkg --get-selections > file If you save that to a file, a dpkg --set-selections < file is good to setup a system with the same packages.
Easy to read and edit... and doesnt have the dpkg -l problem of truncating a package name. On Fri, 2003-10-10 at 03:02, Rex wrote: > Mike Beattie wrote: > > On Thu, Oct 09, 2003 at 01:31:44PM +1300, Luuk Paulussen wrote: > > > >>>apt-get autoclean > >>>cd /var/cache/apt/archives > >>>dpkg -i * > >> > >>Isn't it possible to have multiple versions of the same package in the > >>cache? > > > > > > Yes, hence the apt-get autoclean. > > Yeah, it's not a perfect solution. If it's a relatively new > installation, then there might not be that much in the cache, and he'll > need to work out what packages are installed (dpkg -l) and reinstall > those from the mounted installation CD too. > > Rex -- Sascha Beaumont <[EMAIL PROTECTED]>
