Upgrade packages from one channel on command-line

Schlodty schlodty at gmx.de
Wed Sep 13 00:24:26 PDT 2006


The use is: Never change a running system :-) I want the SUSE security
updates (which are in one channel), but for other programs and channels
I only upgrade manually to a newer version if I need the new features.

Monkey 9 wrote:
> 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.



More information about the Smart mailing list