[Yum] yum shell transaction sets

seth vidal skvidal at fedoraproject.org
Sat Dec 20 14:13:52 UTC 2008


On Sat, 2008-12-20 at 01:22 +0100, Alexander 'Leo' Bergolth wrote:
> Hi!
> 
> I'm trying to do a distro-upgrade using yum.
> 
> However I'm experiencing a problem replacing a package in the yum shell
> transaction:
> 
> In F10 openjdk is shipped with the distro. Thus I need to remove
> java-1.6.0-sun-compat and jdk, install java-1.6.0-openjdk and upgrade
> the system in the same 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!
> 


can you try:

erase java-1.6.0-sun-compat jdk
install java-1.6.0-openjdk
run
upgrade
run

-sv




More information about the Yum mailing list