LWN.net Logo

A grumpy editor's calendar search

A grumpy editor's calendar search

Posted Mar 11, 2004 8:11 UTC (Thu) by lacostej (guest, #2760)
In reply to: A grumpy editor's calendar search by coriordan
Parent article: A grumpy editor's calendar search

A usefull use of dist-upgrade is when you modify your package selection.

E.g. I have two machines, one desktop and a laptop that I keep in sync.
I move the data (/home) over using a rsync script. I update the packages as follow:
on the primary machine:

apt-get upgrade every now and then

When about to apply changes onto laptop.

dpkg --get-selections > /home/dpkg-get-selections-master.txt

on the mirror (laptop)

apt-get update
scp desktop:/home/dkpg-get-selections-master.txt /home/
dkpg --set-selections < /home/dpkg-get-selections-master.txt
apt-get dist-upgrade

apt-get upgrade doesn't work in that case, based on my experience.

A problem of apt-get dist-upgrade is that it also pulls the "Suggested" packages.

Some pointers:
http://lists.debian.org/debian-user/2003/debian-user-200311/msg00024.html
http://www.debian.org/doc/manuals/quick-reference/ch-package.en.html#s-record
(this one should probably be updated)


(Log in to post comments)

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.