yum shell transaction sets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!

After upgrade, the transaction set looks like that:
-------------------- 8< --------------------
Installing:
[...]
 java-1.6.0-openjdk      i386       1:1.6.0.0-7.b12.fc10  fedora-updates
    31 M
[...]

Updating:
[...]
 java-1.6.0-sun-compat   i586       1.6.0.06-1jpp    jpackage17-non-free
  56 k

Removing:
 java-1.6.0-sun-compat   i586       1.6.0.02-1jpp    installed         3.3 k
 jdk                     i586       2000:1.6.0_02-fcs  installed
 108 M
-------------------- 8< --------------------

ts solve shows:
-------------------- 8< --------------------
> ts solve
--> Running transaction check
[...]
---> Package java-1.6.0-openjdk.i386 1:1.6.0.0-7.b12.fc10 set to be updated
[...]
---> Package java-1.6.0-sun-compat.i586 0:1.6.0.06-1jpp set to be updated
--> Processing Dependency: jdk = 2000:1.6.0_06-fcs for package:
java-1.6.0-sun-compat
[...]
---> Package java-1.6.0-sun-compat.i586 0:1.6.0.02-1jpp set to be erased
[...]
--> Finished Dependency Resolution
Error: Missing Dependency: jdk = 2000:1.6.0_06-fcs is needed by package
java-1.6.0-sun-compat
-------------------- 8< --------------------


Placing the erase command after upgrade doesn't change anything.

Is this the expected behavior?

Is there a way to delete a package from the transaction-set?

Cheers,
--leo

P.S.: Yes, I've considered removing java and all packages that depend on
java in a separate transaction and add them back after upgrade. But it
would be much easier if replacing the packages could be done in one
transaction without removing all the packages that depend on them.

-- 
e-mail   ::: Leo.Bergolth (at) wu-wien.ac.at
fax      ::: +43-1-31336-906050
location ::: Computer Center | Vienna University of Economics | Austria

_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux