Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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"
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?
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.
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 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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.