[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Upgrading already installed gnome2 stuff



Le Sat, Oct 19, 2002 at 04:55:33PM +0200, Stefan Schwandter écrivait:
> It's really easy to upgrade to gnome2 from unstable following the
> instructions on http://people.debian.org/~walters/gnome2.html . But
> today i realized that there doesn't seem to be a really convenient way
> to upgrade from the experimental gnome2 packages to newer versions in
> experimental. If you don't want to update all your packages to
> experimental you have to a dry run of apt-get upgrade to look which
> packages are newer in experimental and then to explicitely list the
> gnome packages on an apt-get install line (f.e. apt-get install eog
> gnome-utils gnome-session).
> 
> Or am I missing something here?

Yes. Apt pinning it is called.

First you install Gnome2 with something like :
$ sudo apt-get install -t experimental gnome

Then you have all the Gnome2 packages from experimental. To make sure
that they are upgraded with apt-get dist-upgrade (or upgrade) you have
to adjust the priority associated to experimental by editing
/etc/apt/preferences. Here I have :
| Package: *
| Pin: release a=experimental
| Pin-Priority: 400

( "| " is just to mark the citation, you should not copy it of course)

Now your gnome2 experimental packages will be upgraded automatically
during upgrade or dist-upgrade. And any new packages will be installed
out of unstable. man apt_preferences for more details.

Cheers,
-- 
Raphaël Hertzog -+- http://www.ouaza.com
Formation Linux et logiciel libre : http://www.logidee.com



Reply to: