Fedora Linux Support Community & Resources Center
  #1  
Old 31st May 2012, 06:30 AM
haggholm Offline
Registered User
 
Join Date: May 2012
Location: Vancouver, BC
Posts: 2
linuxfirefox
FC16->17: Broken dependencies

Updated to FC17 using the install DVD (anaconda?) from an up-to-date FC16 system, which was apparently a mistake. Now I cannot run yum upgrade as it complains about (221) missing dependencies and dupes, e.g.

Code:
Transaction Summary
================================================================================
Install    5 Packages (+37 Dependent packages)
Upgrade  509 Packages
Remove     2 Packages

Total size: 517 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-1.fc17.i686
Please report this error in https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=rawhide&component=yum
** Found 221 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-2.fc16.x86_64 has missing requires of abrt = ('0', '2.0.7', '2.fc16')
alsa-lib-1.0.25-3.fc17.x86_64 is a duplicate with alsa-lib-1.0.25-1.fc16.i686
alsa-plugins-pulseaudio-1.0.25-3.fc17.x86_64 is a duplicate with alsa-plugins-pulseaudio-1.0.25-3.fc16.i686
anaconda-16.25-1.fc16.x86_64 has missing requires of libarchive.so.2()(64bit)
atk-2.4.0-1.fc17.x86_64 is a duplicate with atk-2.2.0-2.fc16.i686
audacious-plugins-3.0.4-2.fc16.x86_64 has missing requires of libcdio.so.12()(64bit)
...And so on from audacious-plugins alphabetically to zlib.

Is there any way to resolve this, short of a clean reinstall? And is there any upgrade method that won’t break Fedora?
Attached Files
File Type: txt yum-output.txt (183.5 KB, 161 views)
Reply With Quote
  #2  
Old 31st May 2012, 06:58 AM
hadrons123's Avatar
hadrons123 Offline
'The Blue Dragon'
 
Join Date: Jan 2011
Location: chennai
Posts: 1,008
linuxfirefox
Re: FC16->17: Broken dependencies

Most likely your system is borked. If I were you I would do a reinstall.

Too many people having issues with upgrade.Search the forums.
__________________
LENOVO Y580 FHD Intel® Core™ i7-3630QM CPU @ 2.40GHz × 8 |660M GTX NVIDIA | 120 GB SSD OCZ AGILITY Fedora
Reply With Quote
  #3  
Old 31st May 2012, 08:01 AM
mschwendt's Avatar
mschwendt Offline
Registered User
 
Join Date: Jun 2010
Posts: 247
linuxfirefox
Re: FC16->17: Broken dependencies

The DVD doesn't contain all the packages a user may have installed when using the older dist. The full Fedora Package Collection doesn't fit onto just one DVD. Hence when one performs an upgrade with the DVD, one needs to enable the network repositories, so everything can be upgraded.

As whether it can be resolved, it likely can be fixed with some effort. Temporarily broken dependencies are not a big problem, as installing missing packages may fix them. Duplicates are a worse problem, since they can confuse the depsolver a lot. At least try whether running package-cleanup --cleandupes manages to remove the old duplicates. If that fails, "rpm -e ..." still works for duplicates, too. Focus on trying to remove the optional .i686 packages, especially because they have not been updated yet.
Reply With Quote
  #4  
Old 1st June 2012, 05:43 AM
haggholm Offline
Registered User
 
Join Date: May 2012
Location: Vancouver, BC
Posts: 2
linuxfirefox
Re: FC16->17: Broken dependencies

Some progress, for any poor saps who follow me: I was able to solve a lot, but far from all problems with
Code:
yum distro-sync
to upgrade most FC16 packages to FC17. Most -- but not all. The next step was
Code:
yum list installed | grep fc16
to find all my installed FC16 packages. Here I found that I could install packages from this list individually to get those, too, up to FC17. So far, so good. My next thought was to use the output and feed it back into yum to upgrade those packages:
Code:
yum list installed | grep fc16 | cut -d " " -f 1 | xargs yum upgrade -y
This might have worked, but I still had the libcups problem. In an attempt to isolate the problem, I installed the other packages from this list a few at a time (which may have been unnecessary), but was still stuck with the libcups problem.

To get around that, I ended up removing the i686 (fc16) version of gtk2:
Code:
yum remove gtk2.i686
I was subsequently able to reinstall it, which I did mostly out of curiosity:
Code:
yum install gtk2.i686
This got me the fc17 version. (It was a dependency of only one package anyway, nspluginwrapper, which I don’t think I need at all these days.)

yum upgrade now succeeds (or rather, has nothing to upgrade)! We’ll see if my system survives a reboot, I suppose...

---------- Post added at 09:43 PM ---------- Previous post was at 09:32 PM ----------

Quote:
Originally Posted by haggholm View Post
yum upgrade now succeeds (or rather, has nothing to upgrade)! We’ll see if my system survives a reboot, I suppose...
Kernel panic on reboot, for some reason or other, but although I had to do a hard shutdown, it seems to have started well enough. All appears well -- for now -- after those various ifs and buts.
Reply With Quote
  #5  
Old 4th June 2012, 08:34 PM
marko's Avatar
marko Online
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,488
linuxfirefox
Re: FC16->17: Broken dependencies

I got my upgrade from DVD issues worked out down to your last problem here in post #4, when I try to remove gtk2.i686 I have to remove AdobeReader_enu as a dependency but for some reason the yum remove never completes and the process gtk-update-icon just runs on the cpu at 100% (or really high cpu percentage). I also see by the process id and the state of the process being "D" that the gtk-update-icon process seems to run, then die they gets restarted. When I forceably quit the yum remove with ctrl+C it outputs the error:
Quote:
Error in PREUN scriptlet in rpm package AdobeReader_enu-9.5.1-1.i48
My system runs ok anyway so I guess I'll leave the gtk2 as 'Needs update' for now
Reply With Quote
  #6  
Old 4th June 2012, 09:16 PM
virason Offline
Registered User
 
Join Date: Jul 2007
Location: Northwestern Carolina
Posts: 50
linuxfedorafirefox
Re: FC16->17: Broken dependencies

had the same problem after upgrade from fc16 to fc17. it appears that packages which were installed on fc16 outside of yum were not removed during the upgrade to fc17 and some were causing conflicts/update errors. yum remove the offenders worked for me.
__________________
http://www.smolts.org/client/show/pub_f66810ce-4b12-4ecd-9c54-f974dddaae17
Reply With Quote
Reply

Tags
broken, dependencies, fc16&gt17, fc16>17

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
fc16 kmod-nvidia 3D accelaration broken? deathkill Hardware & Laptops 1 30th January 2012 11:49 PM
F13: YUM update of gcc has broken dependencies pelleg001 Using Fedora 1 9th October 2010 04:24 PM
yum update on broken dependencies kellingc Using Fedora 2 20th September 2010 02:12 PM
Wine broken dependencies (x64) Catastrophe Using Fedora 11 9th December 2009 06:31 PM


Current GMT-time: 06:55 (Wednesday, 19-06-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