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: Installed Software Query
    ... packages as "manually installed", as opposed to some being installed as ... minimal install from cd - cli-expert option ...
    (Ubuntu)
  • 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)