Re: yum shell transaction sets

seth vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <1229782432.3299.0.camel@rosebud>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.