upgrade only installed stuff

Pascal Bleser pascal.bleser at skynet.be
Wed Nov 15 07:48:26 PST 2006


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

Jan Engelhardt wrote:
> Currently, when having [packman] enabled, all of their packages are 
> considered for inclusion into the system - upgrading those from SUSE 10.1.
> 
>     However that is not my intention, as I do not need all packages. 
> Currently, xmms-1.2.10-103.pm.1, p7zip-4.42-0.pm.1 and a few others are 
> installed for example. Is there a way to run or configure smart in such 
> a way that on `smart upgrade` only _installed packages_ (xmms, p7, few 
> oth.) (and possible dependencies) are considered for upgrade?

Hmm... that's not quite what you want.
You don't want to only upgrade installed packages.
You want to only install/upgrade packages from Packman when they're not
available in the SUSE repository... right ?

If it's that, then it is sufficient to set a higher priority on the SUSE
channels than on Packman.

smart channel --edit

And set e.g.
[suse-update]
priority = 100
...

[suse]
priority = 100
...

And don't set any priority on the Packman channel (defaults to 0).

The higher the value of the "priority" attribute, the "better".

Tweaking priority means that smart will first consider the originating
channel and its priority before considering the package version and release.

Never tried it myself, but that's how it's supposed to work ^^

cheers
- --
  -o) Pascal Bleser     http://linux01.gwdg.de/~pbleser/
  /\\ <pascal.bleser at skynet.be>       <guru at unixtech.be>
 _\_v The more things change, the more they stay insane.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFFWzbKr3NMWliFcXcRAvVYAJwJ/Xp+ApnmvkzWY3RsgLwnavj6SACbBjPK
iRFN1oW/bEuvwQsgtEqskpw=
=I2fM
-----END PGP SIGNATURE-----



More information about the Smart mailing list