Sunday, December 02, 2012

"yum check" always helps..

A couple weeks ago, I was successful in upgrading my Fedora 15 system to Fedora 17 using PreUpgrade.  It worked well for me, outside of the usual NVidia funkiness on my machine (virtual consoles don't work on my SC1430).  However, I did notice a bit of detritus in my installed programs list when I tried to do my most recent "yum update".

Error:  Multilib version problems found. This often means that the root
       cause is something else and multilib version checking is just
       pointing out that there is a problem. Eg.:
         1. You have an upgrade for kernel-tools which is missing some
            dependency that another package requires. Yum is trying to
            solve this by installing an older version of kernel-tools of the
            different architecture. If you exclude the bad architecture
            yum will tell you what the root cause is (which package
            requires what). You can try redoing the upgrade with
            --exclude kernel-tools.otherarch ... this should give you an error
            message showing the root cause of the problem.
         2. You have multiple architectures of kernel-tools installed, but
            yum can only see an upgrade for one of those arcitectures.
            If you don't want/need both architectures anymore then you
            can remove the one with the missing update and everything
            will work.
         3. You have duplicate versions of kernel-tools installed already.
            You can use "yum check" to get yum show these errors.
      can also use --setopt=protected_multilib=false to remove
       this checking, however this is almost never the correct thing to
       do as something else is very likely to go wrong (often causing
       much more problems).
       Protected multilib versions: kernel-tools-3.6.8-2.fc17.x86_64 != kernel-tools-3.3.4-5.fc17.i686

So I ran "yum check" to find the issues:
[sodo@computer bin]$ yum check

Loaded plugins: langpacks, presto, refresh-packagekit
kernel-tools-3.6.7-4.fc17.x86_64 is a duplicate with kernel-tools-3.3.4-5.fc17.i686
1:kmod-nvidia- has missing requires of kernel-uname-r = ('0', '', '3.fc15.x86_64')
1:kmod-nvidia- has missing requires of kernel-uname-r = ('0', '', '1.fc15.x86_64')
netbeans-6.9-3.fc15.noarch has missing requires of netbeans-platform12 >= ('0', '6.9', None)
netbeans-apisupport-6.9-3.fc15.noarch has missing requires of netbeans-platform12 >= ('0', '6.9', None)
netbeans-ide-6.9-3.fc15.noarch has missing requires of netbeans-platform12 >= ('0', '6.9', None)
netbeans-java-6.9-3.fc15.noarch has missing requires of netbeans-platform12 >= ('0', '6.9', None)
xorg-x11-drivers-7.4-8.fc17.x86_64 has missing requires of xorg-x11-drv-nouveau

To clear these errors, I:
- removed netbeans, as I don't use it
- added the nouveau driver
- removed the older, Fedora 15 kmod-nvidia drivers
- removed the older, duplicate kernel-tools (3.3.4-5)

Once that was done, I re-ran "yum update" and no error messages appeared!  I was good to go for launch.

No comments:

Feel free to drop me a line or ask me a question.