Kai Schaetzl
2009-Jun-10 23:07 UTC
[CentOS] yum --allow-downgrade and versionlocking not working
with installed version 1.3.7 from rpmforge yum --allow-downgrade update rrdtool-1.2.30-1.el5.rf results in "no packages to update" yum --allow-downgrade install rrdtool-1.2.30-1.el5.rf says "already installed" So, how am I supposed to use --allow-downgrade then? I had to rpm -e --nodeps the newer packages to be able to install the older packages. Now I want to lock the package version. However, again, yum doesn't work as I read from documentation. After adding rrdtool-1.2.30-1.el5.rf perl-rrdtool-1.2.30-1.el5.rf to versionlock.list I get: Error: Package tuple ('rrdtool', 'i386', '0', '1.3.7', '1.el5.rf') could not be found in packagesack where I can't find any fix for. Interestingly, I'm also getting this error on a simple "yum update", that I haven't seen before: Error: Package tuple ('perl-DBD-mysql', 'i386', '0', '4.011', '1.el5.rf') could not be found in packagesack This package was removed quite some time ago the same way because downgrading didn't work. (This package wrongly obsoletes a base package.) What's going on here? Even yum clean all doesn't help. Kai -- Kai Sch?tzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com
Filipe Brandenburger
2009-Jun-11 03:31 UTC
[CentOS] yum --allow-downgrade and versionlocking not working
Hi, On Wed, Jun 10, 2009 at 19:07, Kai Schaetzl<maillists at conactive.com> wrote:> Now I want to lock the package version.Another way to do it is to add: exclude=rrdtool perl-rrdtool to the [rpmforge] repository configuration in /etc/yum.repos.d/rpmforge.repo. I don't really know the versionlock plug-in so I don't know if it was supposed to do something different than what that does... HTH, Filipe