Fedora Linux Support Community & Resources Center
  #1  
Old 4th July 2012, 07:00 PM
CrazyCaver Offline
Registered User
 
Join Date: Dec 2008
Posts: 66
linuxfirefox
After F16->F17 upgrade: yum update fails

Hello everyone -

I recently upgraded my main workstation from F16 to F17 (both 64-bit). I used the all-in-one DVD image to do the upgrade.

The upgrade worked and the computer will boot and run. However, now when I try to run "yum update", it gives me a really odd error. I have not been able to figure out how to get past this. The output is quite long. Here is what seems to be the most important part:
Code:
Transaction Summary
==================================================================================================================
Install    3 Packages (+43 Dependent packages)
Upgrade  964 Packages

Total size: 1.3 G
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Check
ERROR with transaction check vs depsolve:
libcups.so.2 is needed by gtk3-3.4.3-2.fc17.i686
libcups.so.2 is needed by gtk2-2.24.10-2.fc17.i686
Please report this error in https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=rawhide&component=yum
** Found 209 pre-existing rpmdb problem(s), 'yum check' output follows:
ConsoleKit-x11-0.4.5-1.fc15.x86_64 has missing requires of ConsoleKit = ('0', '0.4.5', '1.fc15')
GConf2-gtk-3.2.3-1.fc16.x86_64 has missing requires of GConf2 = ('0', '3.2.3', '1.fc16')
abrt-retrace-client-2.0.7-3.fc16.x86_64 has missing requires of abrt = ('0', '2.0.7', '3.fc16')
I think the main issue is with the lines regarding libcups.so.2.

I have tried "yum update --skip-broken" and "yum distribution-synchronization --skip-broken". Both throw the same error. I have tried it after running "yum clean all", but all that did was force it to download a gigabyte of stuff from a VERY slow repository (we're talking more than 30 hours of downloading!).

I tried removing gtk2 and gtk3, but that triggers removal of damn near the entirety of Linux. Over 1000 packages, nearly 2 gigabytes of stuff would be removed. Trying to remove cups-libs (which is what provides libcups.so.2) wants to remove even more stuff.

I hesitate to try it with --nodeps because I fear that might make it even worse.

Suggestions, anyone?

Thanks - Bill Gee
Reply With Quote
  #2  
Old 4th July 2012, 07:36 PM
marvin_ita Offline
Registered User
 
Join Date: Jun 2007
Location: Como - Italy
Posts: 248
linuxfirefox
Re: After F16->F17 upgrade: yum update fails

What version of cups-libs is installed on your system?
On my PC I see the latest version is cups-libs-1.5.2-12.fc17.i686

Check what repositories are active in yum (maybe after the upgrade yum has rawhide repos active instead of F17? In this cas if you issue the yum update it tries to update packages to rawhide).

The last thing I suggest, update packages gradually instead of a mass update: use 'yum update a*' to update all a* packages, then 'yum update b*' and so on, to check what are the problematic packages...
Reply With Quote
  #3  
Old 4th July 2012, 09:08 PM
CrazyCaver Offline
Registered User
 
Join Date: Dec 2008
Posts: 66
linuxfirefox
Re: After F16->F17 upgrade: yum update fails

Hi Marvin -

cups-libs seems to be the most current version.

Code:
[bgee@main2 ~]$ rpm -qi cups-libs
Name        : cups-libs
Epoch       : 1
Version     : 1.5.2
Release     : 12.fc17
Architecture: x86_64
Install Date: Sat 23 Jun 2012 07:54:56 AM CDT
Group       : System Environment/Libraries
Size        : 765881
License     : LGPLv2
Signature   : RSA/SHA256, Thu 19 Apr 2012 12:59:47 PM CDT, Key ID 50e94c991aca3465
Source RPM  : cups-1.5.2-12.fc17.src.rpm
Build Date  : Wed 18 Apr 2012 05:07:02 AM CDT
I checked all .repo files in /etc/yum.repos.d. All rawhide and testing repositories are all set to "enabled=0".

When I try to run "yum update a*", I get an error message:
Code:
[root@main2 ~]# yum update a*
Loaded plugins: langpacks, presto, refresh-packagekit
No Match for argument: anaconda-ks.cfg
No package anaconda-ks.cfg available.
No Packages marked for Update
This tells me the syntax on that command is not right.

Regards - Bill Gee
Reply With Quote
  #4  
Old 4th July 2012, 09:48 PM
marvin_ita Offline
Registered User
 
Join Date: Jun 2007
Location: Como - Italy
Posts: 248
linuxfirefox
Re: After F16->F17 upgrade: yum update fails

Uh, sorry, it used to work in a previous version, but no more now (just checked).

It seems to me that some packages were not updated from F16 to F17 (see the 209 rpmdb problems found with 'yum check'). If 'yum distro-sync' doesn't work, I don't know how to correct this error in a fast way... but you can try to update all packages with errors one by one. Or maybe someone else have a better idea.

Mattia
Reply With Quote
  #5  
Old 4th July 2012, 10:26 PM
sidebrnz's Avatar
sidebrnz Offline
Registered User
 
Join Date: Oct 2007
Location: Freedonia
Age: 63
Posts: 2,104
linuxfirefox
Re: After F16->F17 upgrade: yum update fails

One of these two commands might help:

package-cleanup --problems
package-cleanup --dupes

The first will list dependency issues and the second will list all duplicates. If you have a fairly small number of dupes, you can clean them up quickly:

package-cleanup --cleandupes

However, I ended up with several hundred after an "upgrade" from F14 to F16 went bad, and the program either hung, or took so long it looked like it was hanging. I ended up cleaning up manually until the number got more manageable, then let package-cleanup finish up for me.
__________________
Registered Linux user #470359 and permanently recovered BOFH.

Any advice in this post is worth exactly what you paid for it.
Reply With Quote
  #6  
Old 5th July 2012, 06:24 AM
urilabob Offline
Registered User
 
Join Date: Sep 2005
Posts: 113
macosfirefox
Re: After F16->F17 upgrade: yum update fails

Quote:
Originally Posted by CrazyCaver View Post
Code:
ERROR with transaction check vs depsolve:
libcups.so.2 is needed by gtk3-3.4.3-2.fc17.i686
libcups.so.2 is needed by gtk2-2.24.10-2.fc17.i686
Thanks - Bill Gee
I had a somewhat similar problem. What worked for me (YMMV) is:

Code:
yum remove libcups
(this _didn't_ remove lots of other stuff for me, I don't know why gtk didn't cause problems with this - if it threatens to remove lots of stuff for you, I guess I would abort). I also had to remove one of the SANE backends.
Code:
yum --skip-broken distro-sync
(this seems to be the important part - cleans up a whole lot). Then

Code:
package-cleanup --dupes > dupes
package-cleanup --orhps > orphs
Then edit dupes and orphs _carefully_ to construct appropriate
Code:
yum remove
commands. Caveats for this:
  • Don't remove packages you installed yourself, or backup kernels, unless you are sure you know what you are doing
  • When processing the dupes, make absolutely certain that you are removing the older of each pair. If you see lots of dependencies about to be removed, you are probably removing the latest one: ABORT!!!

When you are finished,
Code:
yum install
the packages you had to remove at the start (libcups etc.)

Last edited by urilabob; 5th July 2012 at 06:26 AM. Reason: Forgot minor addendum
Reply With Quote
  #7  
Old 6th July 2012, 01:31 AM
CrazyCaver Offline
Registered User
 
Join Date: Dec 2008
Posts: 66
linuxfirefox
Re: After F16->F17 upgrade: yum update fails

Thanks everyone for the replies. I managed to figure it out, though I am not quite certain why it worked or what made it fail in the first place.

I was looking through lists of packages that still had FC16 as part of the package name when I noticed that both GKT2 and GTK3 had --different-- versions than those listed in the error message. I had previously tried doing a "yum remove gtk.i686" which failed with a "not installed" message, and "yum remove <package>" where I used the exact package name as given in the error message.

When I did "yum remove <package>" using the exact name of the package as reported by rpm, it offered to remove only one package instead of nearly a thousand.

After that I did "yum distro-synchro", rebooted (because it installed a kernel), then "yum update". Everything ran through. "yum check" now shows no duplicate packages.

The final test will come the next time I run yum update, but right now it looks like that will work as expected.

Bill Gee
Reply With Quote
  #8  
Old 7th July 2012, 05:57 PM
bill.damage Offline
Registered User
 
Join Date: Aug 2008
Posts: 10
windows_7chrome
Re: After F16->F17 upgrade: yum update fails

Hi & sorry for butting in here - Google threw this thread up when I encountered the same problem, but for me the fixes you suggested don't work. Here's the state of play - anyone got something for me to try please?

[bill@tiger]# package-cleanup --problems
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
Package gtk2-2.24.8-3.fc16.i686 has missing requires of libcups.so.2

[bill@tiger]# yum update
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
* fedora: mirror.bytemark.co.uk
* updates: mirror.bytemark.co.uk
Resolving Dependencies
--> Running transaction check
---> Package gtk2.i686 0:2.24.8-3.fc16 will be updated
---> Package gtk2.x86_64 0:2.24.10-1.fc17 will be updated
---> Package gtk2.i686 0:2.24.10-2.fc17 will be an update
---> Package gtk2.x86_64 0:2.24.10-2.fc17 will be an update
---> Package gtk2-immodule-xim.x86_64 0:2.24.10-1.fc17 will be updated
---> Package gtk2-immodule-xim.x86_64 0:2.24.10-2.fc17 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================== ================================================== =================================
Package Arch Version Repository Size
================================================== ================================================== =================================
Updating:
gtk2 i686 2.24.10-2.fc17 updates 3.3 M
gtk2 x86_64 2.24.10-2.fc17 updates 3.2 M
gtk2-immodule-xim x86_64 2.24.10-2.fc17 updates 63 k

Transaction Summary
================================================== ================================================== =================================
Upgrade 3 Packages

Total size: 6.6 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Check
ERROR with transaction check vs depsolve:
libcups.so.2 is needed by gtk2-2.24.10-2.fc17.i686
Please report this error in https://bugzilla.redhat.com/enter_bu...&component=yum
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
gtk2-2.24.8-3.fc16.i686 has missing requires of libcups.so.2
gtk2-2.24.10-1.fc17.x86_64 is a duplicate with gtk2-2.24.8-3.fc16.i686
Your transaction was saved, rerun it with:
yum load-transaction /tmp/yum_save_tx.2012-07-07.17-55.rIdl8V.yumtx
Reply With Quote
  #9  
Old 7th July 2012, 08:10 PM
sidebrnz's Avatar
sidebrnz Offline
Registered User
 
Join Date: Oct 2007
Location: Freedonia
Age: 63
Posts: 2,104
linuxfirefox
Re: After F16->F17 upgrade: yum update fails

As your quoted output says, gtk2-2.24.10-1.fc17.x86_64 is a duplicate with gtk2-2.24.8-3.fc16.i686 and that's easy to fix:

yum remove gtk2-2.24.8-3.fc16.i686
__________________
Registered Linux user #470359 and permanently recovered BOFH.

Any advice in this post is worth exactly what you paid for it.
Reply With Quote
  #10  
Old 7th July 2012, 09:54 PM
bill.damage Offline
Registered User
 
Join Date: Aug 2008
Posts: 10
windows_7chrome
Re: After F16->F17 upgrade: yum update fails

Thanks that worked! I did get into trouble trying to fix this and wonder if you can also spot whats up with the last problem I have. I was trying to fix these duplicates and entered "yum remove kde-workspace" intending to just do a "yum install kde-workspace" afterwards. I did it because one of those dependencies mentioned that. So , the uninstall worked but I can't install it again!


[root@tiger ~]# yum install kde-workspace
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
* fedora: mirror.bytemark.co.uk
* updates: mirror.bytemark.co.uk
Resolving Dependencies
--> Running transaction check
---> Package kde-workspace.x86_64 0:4.8.4-1.fc17 will be installed
--> Processing Dependency: kgreeter-plugins = 4.8.4-1.fc17 for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Processing Dependency: kde-workspace-libs(x86-64) = 4.8.4-1.fc17 for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Processing Dependency: kcm_colors = 4.8.4-1.fc17 for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Processing Dependency: libweather_ion.so.6()(64bit) for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Processing Dependency: libtaskmanager.so.4()(64bit) for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Processing Dependency: libsystemsettingsview.so.2()(64bit) for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Processing Dependency: libsolidcontrolifaces.so.4()(64bit) for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Processing Dependency: libsolidcontrol.so.4()(64bit) for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Processing Dependency: libpowerdevilui.so.4()(64bit) for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Processing Dependency: libpowerdevilcore.so.0()(64bit) for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Processing Dependency: libpowerdevilconfigcommonprivate.so.4()(64bit) for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Processing Dependency: libplasmagenericshell.so.4()(64bit) for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Processing Dependency: libplasmaclock.so.4()(64bit) for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Processing Dependency: libplasma_applet-system-monitor.so.4()(64bit) for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Processing Dependency: libplasma-geolocation-interface.so.4()(64bit) for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Processing Dependency: liboxygenstyleconfig.so.4()(64bit) for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Processing Dependency: liboxygenstyle.so.4()(64bit) for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Processing Dependency: libkwinnvidiahack.so.4()(64bit) for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Processing Dependency: libkwinglutils.so.1()(64bit) for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Processing Dependency: libkwineffects.so.1()(64bit) for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Processing Dependency: libkscreensaver.so.5()(64bit) for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Processing Dependency: libkhotkeysprivate.so.4()(64bit) for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Processing Dependency: libkfontinstui.so.4()(64bit) for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Processing Dependency: libkfontinst.so.4()(64bit) for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Processing Dependency: libkephal.so.4()(64bit) for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Processing Dependency: libkdecorations.so.4()(64bit) for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Running transaction check
---> Package kde-workspace.x86_64 0:4.8.4-1.fc17 will be installed
--> Processing Dependency: kgreeter-plugins = 4.8.4-1.fc17 for package: kde-workspace-4.8.4-1.fc17.x86_64
--> Processing Dependency: kcm_colors = 4.8.4-1.fc17 for package: kde-workspace-4.8.4-1.fc17.x86_64
---> Package kde-workspace-libs.x86_64 0:4.8.4-1.fc17 will be installed
--> Processing Dependency: libkworkspace(x86-64) = 4.8.4-1.fc17 for package: kde-workspace-libs-4.8.4-1.fc17.x86_64
--> Finished Dependency Resolution
Error: Package: kde-workspace-libs-4.8.4-1.fc17.x86_64 (updates)
Requires: libkworkspace(x86-64) = 4.8.4-1.fc17
Installed: libkworkspace-4.8.4-2.fc16.x86_64 (@updates/16)
libkworkspace(x86-64) = 4.8.4-2.fc16
Available: libkworkspace-4.8.3-3.fc17.x86_64 (fedora)
libkworkspace(x86-64) = 4.8.3-3.fc17
Available: libkworkspace-4.8.4-1.fc17.x86_64 (updates)
libkworkspace(x86-64) = 4.8.4-1.fc17
Error: Package: kde-workspace-4.8.4-1.fc17.x86_64 (updates)
Requires: kcm_colors = 4.8.4-1.fc17
Installed: kcm_colors-4.8.4-2.fc16.x86_64 (@updates/16)
kcm_colors = 4.8.4-2.fc16
Available: kcm_colors-4.8.3-3.fc17.x86_64 (fedora)
kcm_colors = 4.8.3-3.fc17
Available: kcm_colors-4.8.4-1.fc17.x86_64 (updates)
kcm_colors = 4.8.4-1.fc17
Error: Package: kde-workspace-4.8.4-1.fc17.x86_64 (updates)
Requires: kgreeter-plugins = 4.8.4-1.fc17
Installed: kgreeter-plugins-4.8.4-2.fc16.x86_64 (@updates/16)
kgreeter-plugins = 4.8.4-2.fc16
Available: kgreeter-plugins-4.8.3-3.fc17.x86_64 (fedora)
kgreeter-plugins = 4.8.3-3.fc17
Available: kgreeter-plugins-4.8.4-1.fc17.x86_64 (updates)
kgreeter-plugins = 4.8.4-1.fc17
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@tiger ~]# rpm -Va --nofiles --nodigest

This is stopping me use nxclient to access the machine remotely now. Thanks.
Reply With Quote
  #11  
Old 7th July 2012, 10:14 PM
sidebrnz's Avatar
sidebrnz Offline
Registered User
 
Join Date: Oct 2007
Location: Freedonia
Age: 63
Posts: 2,104
linuxfirefox
Re: After F16->F17 upgrade: yum update fails

At a guess, kde-workspace has been updated since you removed it and the new version has broken dependencies. Probably there are some updates that haven't reached the repos yet. Try again tomorrow.
__________________
Registered Linux user #470359 and permanently recovered BOFH.

Any advice in this post is worth exactly what you paid for it.
Reply With Quote
Reply

Tags
f16&gtf17, f16>f17, fails, update, upgrade, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
fedora 16 gnome fails system fails on initial update reboot edeziffel Installation and Live Media 1 4th April 2012 06:43 PM
[SOLVED] "Yum Update" Fails Following Successful Fedora 13 to 14 Upgrade johnj Installation and Live Media 3 6th November 2010 08:43 AM
Upgrade F8 to F9 fails garc Installation and Live Media 3 2nd October 2008 07:57 AM
yum upgrade fails stry_cat Using Fedora 9 19th October 2007 03:06 AM
Xen fails after upgrade on FC5 sietse EOL (End Of Life) Versions 4 3rd November 2006 06:29 AM


Current GMT-time: 07:50 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat