Upgrade packages from one channel on command-line

Monkey 9 monkey9 at iae.nl
Wed Sep 13 00:13:41 PDT 2006


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

You are absolutely right, personaly, I do not see the use of cutting off
channels...

M9.


Pascal Bleser schreef:
> Monkey 9 wrote:
>>> Pascal Bleser schreef:
>>>> linux_learner wrote:
>>>>> On 9/12/06, Schlodty <schlodty at gmx.de> wrote:
>>>>>> Hi,
>>>>>>
>>>>>> is it possible to upgrade only the packages from one channel (e.g.
>>>>>> suse-update) from the command-line? How is the command? Thank you
>>>>>>
>>>>> Sure. smart upgrade --update <name of channel>
>>>>>
>>>> That's a totally different thing, it just updates the repository
>>>> metadata for that channel.
>>>>
>>>> Unfortunately there's no way to do that with smart, although it would be
>>>> a very useful feature.
>>> Workaround would be disable the channels you do not want to use..
> 
> Not quite. The problem is, upgrading a package may require upgrades or
> additional packages from other channels.
> 
> It must really be implemented specifically as a feature in the
> UpgradePolicy (AFAICT): smart needs to have all the channels, but only
> elect upgrades from the one or more channels you selected for
> considering upgrades.
> 
> e.g. if I say (let me pick a SUSE example ;))
>   smart upgrade --only-from=guru
> and in the "guru" repository there's a newer amarok package that
> requires a newer libxine1 package from the "packman" repository, then I
> want it to be upgraded as well.
> If you just disable all the other channels, the amarok upgrade will fail
> because no channel provides the needed libxine1 version.
> 
> 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)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFFB6+lX5/X5X6LpDgRAnz+AKCiH5qVB4lGia1bEOSxFvC9wpoKOwCfc4zn
3QTH7aKwYkTZ/XB4Jr2CaVA=
=0F2C
-----END PGP SIGNATURE-----



More information about the Smart mailing list