yumex/yum upgrade bug...

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

 



Dear list,

I just used the standard install method (PXE booted to the usual install
GUI) to do an "upgrade" from a fairly clean (recently reinstalled) FC5
laptop to FC6 and encountered a few minor problems (minor with
potentially serious consequences; I'm hoping that my system isn't
trashed and won't need a clean FC6 reinstall).

  a) The layering of the installation (or whatever) caused /etc/yum.conf
to contain

 distroverpkg=redhat-release

(which was not installed).  This is, I believe, supposed to be
overwritten with fedora-release (which WAS installed) so that it ends up

 distroverpkg=fedora-release

Consequently when I ran yum post install, I got a most strange mix of
updates and so on from FC 5 repo paths and many odd error messages.
However yum itself was relatively well behaved and once I did some
downloading of clean copies of the core rpms, some judicious rpm --erase
and reinstallation (in the right order) yum itself worked fine.

  b) yumex, however, continued to try to access FC 5 repos (with the
wrong checksums and near complete bombout) even AFTER yum.conf clearly
contained the right distroverpkg and was supposed to be trying to access
the 6 repos.  I finally ran that problem down to here:  one has to clear
yumex-mirror-cache.conf:

# null /var/cache/yum/yumex-mirror-cache.conf

and then it works perfectly.

Again I don't know if this is a problem with the order of the upgrades
in the install or a matter of files being preserved (an "update" sort of
thing) instead of replaced (as appropriate for an "upgrade" sort of
thing) but it definitely seems like it ought to be in a %post somewhere.

I >>think<< that things are now working so that yumex functions,
although I'm just about to test it and will report if it still bombs.

  rgb

--
Robert G. Brown	                       http://www.phy.duke.edu/~rgb/
Duke University Dept. of Physics, Box 90305
Durham, N.C. 27708-0305
Phone: 1-919-660-2567  Fax: 919-660-2525     email:rgb@xxxxxxxxxxxx


_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/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