Re: Use of dpkg --set-selections is brain-dead?



On Wed, 30 Aug 2006 17:03:00 -0400, Michael S. Peek wrote:

I thought I would be slick and write a package that contains a script that
will figure out what should be installed/removed/upgraded/etc. on each of
the machines where I work. (Using sarge, btw.) I had planned to do this
by listing each of the packages and it's install status in a file, then
piping that file to 'dpkg --set-selections', and then using 'apt-get
dselect-upgrade' to process the new package selections.

I had similar problem with dpkg --set-selections/get-selections before and
was never able to sovle it. Hope you can solve it this time.

One last attempt. If

apt-get dselect-upgrade

failed, how about

dselect install

?

tong




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



Relevant Pages

  • Re: migrating to 64 bit...
    ... use dpkg --set-selections and save that in a convenient ... Get list of package selections, ... of install, hold, deinstall or purge. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: how to reinstall?
    ... - do 'aptitude dselect-upgrade' to install all packages ... I always just run 'aptitude install' for this. ...
    (Debian-User)
  • Re: how to reinstall?
    ... - do 'aptitude dselect-upgrade' to install all packages ... I always just run 'aptitude install' for this. ... that only those packages that I want installed are marked ...
    (Debian-User)
  • Re: re: Installing Free BSD 5.21
    ... > To subscribe or unsubscribe via the World Wide Web, ... When I try to install some ... > the axe device works fine in USB 2.0 mode, when plugged in after boot. ... > plugged in after boot, the axe module hangs, looping forever on the ...
    (freebsd-questions)
  • RE: problem making symbolic link to blackdown SOLVED but now applet still fails.
    ... install from the blackdown site and forgot about the debian installation process..... ... I then went to the distillation applet web site I mentioned in an earlier posting to see if I could get the applet to work that failed to work properly with the gcj plugin I got with the standard amd64 Etch ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)