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 08-23-2010, 10:12 AM   #1
crokett
Member
 
Registered: Feb 2003
Distribution: Fedora 13
Posts: 92

Rep: Reputation: 15
Fedora 13 Yum-3.2.28 Broken?


I did the system updates and one package was listed - yum-3.2.28.3 so I installed it Friday. Since then I can't install new packages. The gui package manager errors out. yum also errors out. I have a desktop with yum-3.2.27 and it installs the same packages with no problems.

When I try to remove 3.2.28 here is what I get...

Code:
$ sudo yum remove yum-3.2.28
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package yum.noarch 0:3.2.28-3.fc13 set to be erased
--> Processing Dependency: yum >= 3.2.19 for package: PackageKit-yum-0.6.6-1.fc13.i686
.......
........
---> Package openclient-welcome.i586 0:20100226-1.fc12 set to be erased
---> Package openclient-welcome-data-icons.noarch 0:20100227-5.fc13 set to be erased
--> Finished Dependency Resolution
Error: Trying to remove "yum", which is protected
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
deb-1.10.27-3.i586 has missing requires of perl = ('0', '5.8.6', None)
deb-1.10.27-3.i586 has missing requires of update-alternatives
Yum-3.2.27 is still listed as installed. How can I start using that version and/or remove the newer version? I also tried downgrading, but yum says v3.2.28 only supports an upgrade. I found references to a conf file in /etc that lists protected packages that I can edit. it doesn't exist on my system.
 
Old 08-23-2010, 01:36 PM   #2
kkoene
Member
 
Registered: May 2008
Location: Wisconsin
Distribution: Fedora, Ubuntu, RHEL, AIX6
Posts: 33

Rep: Reputation: 0
Looking at the output. Did you try to install the missing perl modules? That may fix this.
 
Old 08-23-2010, 02:07 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
Package openclient-welcome.i586 0:20100226-1.fc12 set to be erased
---> Package openclient-welcome-data-icons.noarch 0:20100227-5.fc13 set to be erased
this looks like you did a "upgrade" and not a" update " ?

and from this
" rpmdb" the rpm data base is corrupt

if a update and not a upgrade
then the standard( and very well documented ) rpm data base fix & yum clean up will do
Code:
su -
yum clean all 
rpm --rebuilddb 
yum update
some times yum will nor "clean all" because of the rpm db
if yum gives an error then run "rpm --rebuilddb" first fallowed by "yum clean all " then "yum update"


if this was a "upgrade" ??? this might? work
 
Old 08-23-2010, 07:28 PM   #4
crokett
Member
 
Registered: Feb 2003
Distribution: Fedora 13
Posts: 92

Original Poster
Rep: Reputation: 15
clean all and rebuild db did not work. when I run the gui package manager I get this:

Code:
Traceback (most recent call last):
  File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 3270, in __init__
    self.repos.confirm_func = self._repo_gpg_confirm
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 823, in <lambda>
    repos = property(fget=lambda self: self._getRepos(),
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 551, in _getRepos
    prerepoconf = self.prerepoconf
AttributeError: 'PackageKitYumBase' object has no attribute 'prerepoconf'
Looks like a bug to me. This started when I updated yum on Friday. My work desktop has no issues and I have not updated it yet. So how do I roll back to a previous version?
 
Old 08-23-2010, 08:11 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
can you use the terminal to run yum

the python " bug" is that the gui did not install the correct version for the gui to work


Code:
yum update
that might through an error if so fallow the on screen instructions for the "complete transaction "
 
Old 08-23-2010, 10:08 PM   #6
crokett
Member
 
Registered: Feb 2003
Distribution: Fedora 13
Posts: 92

Original Poster
Rep: Reputation: 15
yum update now shows this:

Code:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
perl = 5.8.6 is needed by (installed) deb-1.10.27-3.i586
Please report this error in http://yum.baseurl.org/report
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
deb-1.10.27-3.i586 has missing requires of perl = ('0', '5.8.6', None)
deb-1.10.27-3.i586 has missing requires of update-alternatives
I tried yum install perl, that failed with similar message but different package list. yum install update-alternatives gave package not found.
 
Old 08-23-2010, 10:47 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
update-alternatives

are you installing multiple versions of gcc ? gcc 4.5 , gcc 4.3 & gcc 4.1

ok with this type of error i would not expect this to work , but it is worth a try anyway .
Code:
yum repolist all
i expect that to fail so you will need to ( Yes by hand )
read ALL the repo files in /etc/yum.repo.d

and list ALL the repos listed for ALL the files
all of the ones with " enable=0, and enable=1"
something might have been turned on ( that should not have been turned on ) and the ALL part is that something might be off now

it looks like you have a wrong repo turned on

this file " deb-1.10.27-3.i586 " looks odd
are you tiring to install the debain alien ?
a google hit shows a 2008 fedorafourm page
http://forums.fedoraforum.org/showthread.php?t=200955

Last edited by John VV; 08-23-2010 at 10:49 PM.
 
Old 08-24-2010, 09:40 AM   #8
crokett
Member
 
Registered: Feb 2003
Distribution: Fedora 13
Posts: 92

Original Poster
Rep: Reputation: 15
I will do that. I do have alien installed. I was experimenting with a debian package several weeks ago. That could be what is screwing things up.
 
Old 11-02-2010, 04:07 PM   #9
w@m
LQ Newbie
 
Registered: Jun 2007
Location: Bay Area
Distribution: RedHat, Fedora and CentOS. Since 2004
Posts: 10

Rep: Reputation: 0
Exclamation YUM and pycurl issues

I have a similar problem as reported here:
http://www.linuxquestions.org/questi...pdates-787300/

It looks like that post is dead and yours are more recent. I am having trouble using yum on my Fedora 13 yum 3.2.28, pycurl-7.19.0-7.fc13.x84_64. Here is th error
Code:
Fatal Python error: pycurl: libcurl link-time version is older than compile-time version
Aborted (core dumped)
Same error is given when trying to use yum clean all, rpm --rebuilddb. I can't get updates, install or remove software from CLI or GUI using yum.

Thanks
 
  


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 YUM and Possibly Python nikunjbadjatya Linux - Software 3 06-17-2010 12:55 AM
Broken update - yum missing libssl.so on Fedora 12 phluks Fedora 3 04-02-2010 09:33 AM
Yum repository broken for Fedora 12 x64 on updates? galliar Fedora 1 03-12-2010 02:38 PM
yum broken for YDL5 on PS3? tomva Linux - Software 0 12-30-2006 01:21 AM
broken yum - "No module named yum" shihab-alain Linux - Software 2 05-10-2006 05:09 AM

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

All times are GMT -5. The time now is 05:38 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