[Yum-devel] pain and suffering and allowdowngrade
Seth Vidal
skvidal at fedoraproject.org
Mon Dec 1 15:20:01 UTC 2008
On Wed, 26 Nov 2008, James Braid wrote:
> Seth Vidal wrote:
>>> It would be nice if this simple use case was possible. I think anything
>>> more complex (downgrading your entire distro) isn't really useful in the
>>> real world. So yes, I think downgrade should ban wildcards.
>>
>> for your case does:
>>
>> yum shell
>>> remove foo-2.0
>>> install foo-1.0
>>> run
>
> Neat, I think a tiny wrapper around yum shell might do the trick for
> what we need. I'd completely forgotten about yum shell to be honest...
> thanks!
you can pass shell scripts to yum shell directly:
yum shell /some/file
which will do what's in the file - just don't forget to add 'run' at the
bottom :)
-sv
More information about the Yum-devel
mailing list