Re: Reinstalling Packages after Rebuilding System with Etch



On Monday 24 November 2008 15:05, Martin McCormick wrote:
I am going to backup my sarge system, install with the
etch-and-a-half CDROM and then I want to put back all the extra
packages such as alsa, calc and many more that I have installed
over time but, of course, do this as automatically as practical
as well as get the etch versions of everything.

The plan is to do dpkg -l on the existing system to list
everything that is installed and then use dpkg to go get
comparable packages to replace what was there before.

A. Will this work?

B. Is there a better text-based way?

I have done this using
dpkg --get-selections >file

... on the original machine, to record the package state, and
then using the sequence:

dpkg --clear-selections
dpkg --set-selections < file
apt-get dselect-upgrade

This particular sequence will identically clone the package
state of the system -- you probably don't want that, since that
would remove your hard-won new kernel, so you might want to skip
the clear-selections step, and/or you may want to edit the
file.

I think in either case, installing already-installed packages
is harmless.

-- A.
--
Andrew Reid / reidac@xxxxxxxxxxxxxxxx


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



Relevant Pages

  • Re: Install error OOo-1.1.3 on 4.10p3
    ... After this I asked google, found packages, but they were build ... have done in the past - installing OO despite having the wrong X server. ... pkgdb -Fu # almost all the xorg/xfree pieces have very similar ... To unsubscribe, ...
    (freebsd-questions)
  • Re: Where is Phobos P430 QFE X1034A Driver
    ... The following packages are available: ... Installing Phobos P430 Adapter Driver for 32 bit PCI QuadPort ... devfsadm: driver failed to attach: pqfe ...
    (comp.sys.sun.admin)
  • Re: Problems with Wine on Debian AMD 64
    ... I'm a total noob to linux so bare with me, I've had a friend help me ... Initially I started with installing ia32-libs and ia32-libs-dev ... Debian wine packages for amd64 are being worked on for etch which then ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Why no R in Fedora (was Statistical Package (like Minitab) for Linux)
    ... > The fedora rpm provided at the CRAN site contains very few add-on ... > packages would provide a large amount of functionality. ... > Users can easily install.packageson top of this more stuff from CRAN. ... > I always seem to end up installing a few packages eg. lineno, ...
    (Fedora)
  • Re: Debian Etch - CLARIFIED
    ... to lecture me on what is LAMP and all the different packages that theres ... Installing Apache, MySQL & PHP? ... they need (like the LAMP related packages) are installed too... ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)