LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-30-2012, 05:20 AM   #1
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,452

Rep: Reputation: 85
yum update fails after upgrading Fedora 16 to 17 using the F17 DVD


After using the Fedora 17 DVD to upgrade from F16, I have multiple problems. I first had to mess with the wireless connection a lot to get it working. Unable to obtain an ip was resolved by setting static ip information. I then attempted to run yum update hoping that this would solve many of the bugs. The output and errors it generated is in the first attachment. It failed to upgrade any packages.

After talking about the issues in #fedora channel on freenode, FranciscoD told me I should follow the instructions here:
http://fedorasolved.org/Members/fenr...pgrade_cleanup
Once I got to this step:
yum update --skip-broken
I received more errors:
http://pastebin.com/Caxj4QZK
The end of the output looks like this:

Code:
Packages skipped because of dependency problems:
    db4-4.8.30-10.fc17.i686 from fedora
    gdbm-1.10-2.fc17.i686 from fedora
    libyaml-0.1.4-2.fc17.i686 from fedora
    ruby-1.9.3.327-19.fc17.x86_64 from updates
    ruby-irb-1.9.3.194-10.1.fc17.noarch from fedora
    ruby-irb-1.9.3.327-19.fc17.noarch from updates
    ruby-libs-1.9.3.194-10.1.fc17.i686 from fedora
    rubygem-bigdecimal-1.1.0-19.fc17.x86_64 from updates
    rubygem-heroku-2.24.0-2.fc17.noarch from fedora
    rubygem-io-console-0.3-10.1.fc17.x86_64 from fedora
    rubygem-io-console-0.3-19.fc17.x86_64 from updates
    rubygem-json-1.5.4-19.fc17.x86_64 from updates
    rubygem-json-1.6.5-1.fc17.x86_64 from fedora
    rubygem-netrc-0.7.1-1.fc17.noarch from fedora
    rubygem-rake-0.9.2.2-19.fc17.noarch from updates
    rubygem-rdoc-3.9.4-19.fc17.noarch from updates
    rubygem-rdoc-3.12-3.fc17.noarch from fedora
    rubygem-rdoc-3.12-4.fc17.noarch from updates
    rubygem-rubyzip-0.9.4-3.fc17.noarch from fedora
    rubygems-1.8.23-10.1.fc17.noarch from fedora
    rubygems-1.8.23-19.fc17.noarch from updates
    rubygems-1.8.24-1.fc17.noarch from fedora
Error: Protected multilib versions: ruby-libs-1.9.3.327-19.fc17.x86_64 != ruby-libs-1.9.3.194-10.1.fc17.x86_64
I've attempted these commands to fix the problem. None worked.
Code:
yum update ruby-libs
yum remove ruby-libs;yum install ruby-libs
package-cleanup --cleandupes # There were no duplicates. I found this from google, worked for a user experiencing similar errors
yum --enablerepo=updates-testing install ruby-libs
This last one gave me the following errors also telling me to report a bug. Here is partial error output from it.

Code:
ERROR with transaction check vs depsolve:
ruby(abi) = 1.8 is needed by (installed) rubygem-configuration-1.1.0-2.fc15.noarch
ruby(abi) = 1.8 is needed by (installed) rubygem-rake-0.9.2.2-1.fc16.noarch
ruby(abi) = 1.8 is needed by (installed) rubygem-launchy-0.4.0-1.fc16.noarch
ruby(abi) = 1.8 is needed by (installed) rubygem-term-ansicolor-1.0.7-1.fc16.noarch
ruby(abi) = 1.8 is needed by (installed) rubygem-mime-types-1.16-3.fc15.noarch
ruby(abi) = 1.8 is needed by (installed) rubygem-rest-client-1.6.1-2.fc15.noarch
ruby(abi) = 1.8 is needed by (installed) rubygem-heroku-2.0.4-1.fc16.noarch
ruby(abi) = 1.8 is needed by (installed) rubygems-1.8.11-3.fc16.1.noarch
ruby-libs(x86-64) = 1.8.7.371-1.fc16 is needed by (installed) ruby-1.8.7.371-1.fc16.x86_64
Please report this error in https://bugzilla.redhat.com/enter_bu...&component=yum
** Found 239 pre-existing rpmdb problem(s), 'yum check' output follows:
(included yum check output in attachment)
Attached Files
File Type: txt yumupdate.txt (200.5 KB, 9 views)
File Type: txt yum_check.txt (20.4 KB, 10 views)
File Type: txt yum_skipbroken_install_ruby-libs.txt (22.5 KB, 9 views)

Last edited by fakie_flip; 11-30-2012 at 05:36 AM.
 
Old 11-30-2012, 03:25 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,817

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
well this is "par for the course" with fedora
upgrading from the dvd or "preupgrade"
often fails

you still have fedora 16 rpm's installed
( now SOME rpms from the past distro ARE normal so ....)
work through them one at a time
and in about 2 weeks or ( if unlucky 2 months)
it might work .

BUT it might not be stable ? or it might ?

uninstall ALL the fedora 16 ruby rpms
update
reinstall them but with the fedora 17 versions .
 
1 members found this post helpful.
Old 11-30-2012, 06:11 PM   #3
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,452

Original Poster
Rep: Reputation: 85
Quote:
Originally Posted by John VV View Post
uninstall ALL the fedora 16 ruby rpms
update
reinstall them but with the fedora 17 versions .
That seemed to have fixed some issues. Thanks! As of now, I'm doing a yum update without the --skip-broken option and it's updated over half of the packages without error so far.

Would it be a good idea to

Code:
rpm -qa | grep -v fc17
And reinstall all of those packages? Couldn't hurt, right?

Last edited by fakie_flip; 12-01-2012 at 05:48 AM.
 
Old 12-01-2012, 02:01 AM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,817

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
well this is fedora , so a fresh clean new install is the recommended way to upgrade .......
 
Old 12-01-2012, 05:45 AM   #5
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,452

Original Poster
Rep: Reputation: 85
I did reinstall all packages that weren't fc16 except one or two, like goldendict, didn't have an fc17 package. 'rpm -qa | grep -v fc17' shows these. Sometimes I would get a mismatch error. Removing the package.i686 and package.x86_64 and then reinstalling them both solved that. Everything is working great so far. The only thing is that GDM will not load. This is not a huge issue though. I set my default runlevel to 3 (the systemd way), created .xinitrc, login and startx. Also I followed the instructions from this webpage as well except I didn't use yum --skip-broken update. I used yum update to find errors, fixed them, checked it again, fewer errors, fixed them. And finally yum update ran completely without error. That's how I got it working. Hope this can help someone else.

Last edited by fakie_flip; 12-01-2012 at 05:47 AM.
 
Old 12-06-2012, 10:42 PM   #6
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,452

Original Poster
Rep: Reputation: 85
GPM and some other programs wouldn't load. My screen lock wouldn't accept the correct password (same with su) and other programs that Fedora had replaced SUID/SGID with "capabilities" would not work. I reset the capabilities with this, and the writer of that webpage I referenced updated to include this script.

Code:
rpm -Va > /tmp/rpm-Va0.txt 2>&1;
awk '/^.{8}P /{print$NF}' /tmp/rpm-Va0.txt \
|xargs rpm --filecaps -qf \
|grep '= cap' \
|while read fileName eq fileCaps; do
  setcap "${fileCaps}" "${fileName}"
done

Last edited by fakie_flip; 12-06-2012 at 10:43 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum Update Fails tanalam Fedora 8 10-06-2010 07:35 AM
yum update fails micmizer Fedora 5 07-21-2009 06:34 PM
yum update in Fedora Leonidas fails micmizer Fedora 0 07-14-2009 04:18 PM
yum update fails jnojr Linux - General 2 06-19-2009 02:28 PM
Update YUM Fails sajdutt Linux - Software 7 03-09-2009 11:37 PM


All times are GMT -5. The time now is 10:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration