LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-13-2011, 06:47 AM   #1
vitotol
LQ Newbie
 
Registered: Oct 2011
Location: thessaloniki. gr
Distribution: debian
Posts: 24

Rep: Reputation: Disabled
Fedora can't update - broken system


Hello, I'm no experienced at rpm distros.

There's a fedora 14 system
and when i give yum update I get these:

Code:
Error: Package: rhpl-0.221-2.x86_64 (@anaconda-InstallationRepo-200911081904.x86_64/12)
           Requires: libpython2.6.so.1.0()(64bit)
           Removing: python-libs-2.6.2-2.fc12.x86_64 (installed)
               libpython2.6.so.1.0()(64bit)
           Updated By: python-libs-2.7-8.fc14.1.x86_64 (fedora)
               Not found
           Available: python-libs-2.6.2-8.fc12.x86_64 (12updates)
               libpython2.6.so.1.0()(64bit)
           Available: python-libs-2.6.4-25.fc13.x86_64 (fedora13)
               libpython2.6.so.1.0()(64bit)
           Available: python-libs-2.6.4-27.fc13.x86_64 (13updates)
               libpython2.6.so.1.0()(64bit)
Error: Package: python-libs-2.6.2-2.fc12.i686 (fedora12)
           Requires: python = 2.6.2-2.fc12
           Removing: python-2.6.4-27.fc13.x86_64 (@updates/13)
               python = 2.6.4-27.fc13
           Updated By: python-2.7-8.fc14.1.x86_64 (fedora)
               python = 2.7-8.fc14.1
           Available: python-2.6.2-2.fc12.x86_64 (fedora12)
               python = 2.6.2-2.fc12
           Available: python-2.6.2-8.fc12.x86_64 (12updates)
               python = 2.6.2-8.fc12
           Available: python-2.6.4-25.fc13.i686 (fedora13)
               python = 2.6.4-25.fc13
 You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
python-libs-2.6.2-2.fc12.x86_64 has missing requires of python = ('0', '2.6.2','2.fc12')
i tried the --skip-broken thing but didn't work... is there any way to fix this???
 
Old 10-13-2011, 07:34 AM   #2
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 193Reputation: 193
Perhaps try:
Code:
# yum check
# yum clean
# yum update
I think fixing the second error, should also fix the first.
 
Old 10-13-2011, 08:20 AM   #3
16pide
Member
 
Registered: Jan 2010
Posts: 418

Rep: Reputation: 83
FYI: fedora 14 is going out of support in about a month which means yum will be basically broken then. You may want to upgrade to Fedora 15, or better, fedora 16 at beginning of November
 
Old 10-13-2011, 11:20 AM   #4
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
What a lovely broken system. This is the problem with dependency tracking. I was getting a similar error for forcefully installing the Trauma rpm (humble indbundle) because it was missing libpcre.so.3. The library was installed and I symlinked this file to the real one. Yum wouldn't fix it self until I uninstalled Trauma. I suppose if I wanted to keep it on my system, I would have created a new package that installed the libpcre.so.3 symlink so that the RPM database would know where it was.

Anyway, it looks like you may be getting conflicting repositories if you are running fedora 14 and seeing things for fedora 12 and 13.

Either way, I would first check what repositories your system is pointing too and make sure they are all for fedora 14.

Then I would run the above commands mentioned.

Then if that doesn't fix it, forcefully [re]install the version of python that it expects. Then rerun the update process.
 
Old 10-13-2011, 01:31 PM   #5
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
You could install the smart update/package manager which improves the resolution of problems, but, as noted above, Fedora 12 (and 13) is no longer supported, and support for 14 will be dropped in December, one month after 16 is released.

(I always install smart and yumex, and disable the Package Manager automatic update features, so I can work around rpm problems.)

As a general rule, Fedora users should plan to update every six months, and they should be aware that no Fedora release should be expected to be supported for more than a year. (See the Fedora wiki for details.)
 
Old 10-14-2011, 10:12 AM   #6
vitotol
LQ Newbie
 
Registered: Oct 2011
Location: thessaloniki. gr
Distribution: debian
Posts: 24

Original Poster
Rep: Reputation: Disabled
thanx for your replies.

I know that it shouldn't be 14 but it's not my choice.

well, see what I have in /etc/yum.repos.d/ :
fedora12.repo
fedora12-updates.repo
fedora13.repo
fedora13-updates.repo
fedora.repo
fedora-updates.repo
fedora-updates-testing.repo

I edit all of them except fedora.repo and fedora-updates.repo and turned enabled from 1 to 0.

I run the above commands but I still get the same results.
How can I forcefully [re]install the version of python that it expects????
 
Old 10-14-2011, 12:37 PM   #7
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
The rhpl is, according to Google, a Python code library use by Red Hat Enterprise Linux systems, not Fedora systems. Since you're using a F-14 system, what would break if you did a yum erase rhpl? (Just do a yum erase rhpl to see what's listed as being removed for dependencies. You can always enter N, unless you've aliased yum to yum -y, to abort the erase.) If the dependencies are programs that are not needed - which seems likely, since that library was last changed two years ago - you could just purge it and everything that depends on it.

You might also want to run a yum-check and a yum list obsoletes. (I note that the rhpl with which you're having a problem is from a Fedora 12 installation, not a Fedora 14 one, so I think you should wonder what other obsolete programs you may have on your almost obsolete current system.)

Last edited by PTrenholme; 10-14-2011 at 12:41 PM.
 
Old 10-14-2011, 01:32 PM   #8
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 986

Rep: Reputation: 53
where is "yum update"

Fedora 14 is the best Fedora release by far as compared to 13 and 15. I have maybe 4 gigs of applications on 14 and most of the packages include rpms from different distros and it works great on two different and similar installs. Yum has a work around for installing different rpm versions apparently.


From the code you have posted it looks like you are trying to install an application manually with rpm files and rpm is telling you what the dependencies are. Find the application you want by doing a search on the web like "yum install application" so you know the correct name to use as the appplication or try your Package Manager. Yum works fine but the GUIs for it are not the best in my opinion so you are better off getting a little more Command line experience.

Last edited by theKbStockpiler; 10-14-2011 at 01:37 PM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Broken update - yum missing libssl.so on Fedora 12 phluks Fedora 3 04-02-2010 09:33 AM
Fedora 9 Update System Issue, Can anyone help? CoppeRaven Fedora 4 10-05-2008 07:45 PM
Fedora 9 Update System Issue captainxark Fedora 9 08-09-2008 09:57 PM
Broken Fedora Core 5 system tools danrod Linux - Software 0 02-14-2007 04:53 PM
System Broken after update potsilui Linux - Newbie 6 04-17-2005 06:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:25 PM.

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
Open Source Consulting | Domain Registration