Upgrade packages from one channel on command-line
Pascal Bleser
pascal.bleser at skynet.be
Tue Sep 12 14:42:08 PDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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)
iD4DBQFFBymwr3NMWliFcXcRAjNjAJiO2Q+J4gts+PsMUDiOd52TqCCxAJ9susW5
1Bad04EOrOQzkfH6a7D41Q==
=3p2Z
-----END PGP SIGNATURE-----
More information about the Smart
mailing list