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

Re: howto install kde 3.0.5



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 04 December 2002 18:50, Colm G. Connolly wrote:
> So how do I install the kde version from ftp.kde.org and not the
> version from my local debian mirror?

You can see what priorities are given to your various sources by using:

  apt-cache policy kdebase

The default prioirty is 500 - this output will also tell you what version will 
be installed if you issue apt-get install kdebase.

You can override/set these priorities using apt_preferences(5). The manpage is 
worth a read, as is the APT HOWTO (google for it), which descibes this in 
more detail. Suffice to say, the following will give the kde.org source a 
priority of 950, which means that it will be the preferred source for (any) 
debs, unless you specify the Debian version using package=version, 
package/distro or -t distro. See the apt-get(8) for more information on these 
options.

So, the file you should create is /etc/apt/preferences, and it should contain:

Package: *
Pin: origin ftp.kde.org
Pin-Priority: 950

(where ftp.kde.org is the mirror you use in /etc/apt/sources.list - you use 
ftp.kde.org according to your mail)

You might also consider adding a default line for whatever version of Debian 
you have installed (stable/testing/unstable). ie:

Package: *
Pin: release stable
Pin-Priority: 900

(note that the kde.org packages will still have priority over Debians Woody 
packages)

Once you have created the file /etc/apt/preferences, you can use apt-cache 
policy kdebase again to see what versions are available, and which will be 
installed.

Regards,

Paul Cupis
- -- 
paul@cupis.co.uk

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE97ly0IzuKV+SHX/kRAlL3AJwNKP4UvVhNyE//gagaVR2VHIE6wACcC7ao
iowCsGub5jkZZedstY8qkP4=
=gW94
-----END PGP SIGNATURE-----



Reply to: