[Yum] yum shell transaction sets
Alexander 'Leo' Bergolth
leo at strike.wu-wien.ac.at
Tue Dec 23 20:51:20 UTC 2008
On 12/21/2008 06:49 PM, Alexander 'Leo' Bergolth wrote:
> On 12/20/2008 03:13 PM, seth vidal wrote:
>> On Sat, 2008-12-20 at 01:22 +0100, Alexander 'Leo' Bergolth wrote:
>>> I'm trying to do a distro-upgrade using yum.
>>>
>>> However I'm experiencing a problem replacing a package in the yum shell
>>> transaction:
>>>
>>> I tried the following commands:
>>> -------------------- 8< --------------------
>>> erase java-1.6.0-sun-compat jdk
>>> install java-1.6.0-openjdk
>>> upgrade
>>> -------------------- 8< --------------------
>>>
>>> But the upgrade command seems the place java-1.6.0-sun-compat in the
>>> list of packages to upgrade again. Now it is found both in the list of
>>> packages to update and remove!
> [...]
> If it's ok, maybe other commands like erase or install should also
> modify potentially existing transaction set members?
Here is my naive approach of removing existing transaction set entries
when doing an install or erase. It works, at least for the common cases.
I hope you'll find it useful...
Cheers,
--leo
--
e-mail ::: Leo.Bergolth (at) wu-wien.ac.at
fax ::: +43-1-31336-906050
location ::: Computer Center | Vienna University of Economics | Austria
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yum-consider-tsinfo.patch
Type: text/x-patch
Size: 4140 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum/attachments/20081223/f9100dc4/attachment.bin
More information about the Yum
mailing list