I have an app I suspect is not working right as certain rpm's are a higher version then it recommends. If I have used a 3rd party to install the app which dragged in many dependencies with it, what is the procedure to downgrade only the specific rpms I need?
Thanks! jlc
Joseph L. Casale wrote on Mon, 31 Mar 2008 00:35:08 -0600:
If I have used a 3rd party
what is that?
to install the app which dragged in many dependencies with it, what is
the procedure to downgrade only the specific rpms I need?
downgrade to what?
I may be wrong but it sounds like you want to use CentOS in a way that it is not supposed to be used. e.g. it sounds like you want to replace CentOS rpms with older third-party rpms. Don't do that.
BTW: it would be nice if you could stop using HTML, thanks.
Kai
Kai Schaetzl wrote:
Joseph L. Casale wrote on Mon, 31 Mar 2008 00:35:08 -0600:
If I have used a 3rd party
what is that?
to install the app which dragged in many dependencies with it, what is
the procedure to downgrade only the specific rpms I need?
downgrade to what?
I may be wrong but it sounds like you want to use CentOS in a way that it is not supposed to be used. e.g. it sounds like you want to replace CentOS rpms with older third-party rpms. Don't do that.
BTW: it would be nice if you could stop using HTML, thanks.
Kai
Kai, correct me if I'm wrong, but one is allowed to use other programs not supplied by CentOS. And surely if the user feels that xyz-1.2.3.rpm is giving him problems, and he wants to use xyz-1.2.0.rpm instead that's his choice?
Kai, correct me if I'm wrong, but one is allowed to use other programs not supplied by CentOS. And surely if the user feels that xyz-1.2.3.rpm is giving him problems, and he wants to use xyz-1.2.0.rpm instead that's his choice?
Well, I have rpmforge enabled for example, and I installed an application from their repo which installed a few dependencies from their repo as well. One of those dependencies was an rpm whose version was higher than the software dev's recommended version.
In that scenario, how does one force a downgrade?
Thanks! jlc
Joseph L. Casale wrote:
Kai, correct me if I'm wrong, but one is allowed to use other programs not supplied by CentOS. And surely if the user feels that xyz-1.2.3.rpm is giving him problems, and he wants to use xyz-1.2.0.rpm instead that's his choice?
Well, I have rpmforge enabled for example, and I installed an application from their repo which installed a few dependencies from their repo as well. One of those dependencies was an rpm whose version was higher than the software dev's recommended version.
In that scenario, how does one force a downgrade?
Thanks! jlc _______________________________________________
Does the current installed version give a problem?
Using something like rpmforge to install an rpm ( I presume you used yum or something?) I think the only way is to remove it, and then manually install the correct one. The command would be something like rpm -ivh http://rmpforge-website/rpms/package-1.2.3.54-234.rpm - or something
Does the current installed version give a problem?
Using something like rpmforge to install an rpm ( I presume you used yum or something?) I think the only way is to remove it, and then manually install the correct one. The command would be something like rpm -ivh http://rmpforge-website/rpms/package-1.2.3.54-234.rpm - or something
That is what I suspect. I presume I have to block it from being upgraded after as well. How can I force the new app back in without worrying about this dependency?
Thanks! jlc
Joseph L. Casale wrote:
Does the current installed version give a problem?
Using something like rpmforge to install an rpm ( I presume you used yum or something?) I think the only way is to remove it, and then manually install the correct one. The command would be something like rpm -ivh http://rmpforge-website/rpms/package-1.2.3.54-234.rpm - or something
That is what I suspect. I presume I have to block it from being upgraded after as well. How can I force the new app back in without worrying about this dependency?
Thanks! jlc _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Well, you'd need to install the dependencies as well, if needed. Maybe the dependencies will work with the release that you want? But still, does it give problems? Running a recommended version, or higher should yield the same results
That is what I suspect. I presume I have to block it from being upgraded after as well. How can I force the new app back in without worrying about this dependency?
to prevent a package from being updated or installed from a certain repo you'd add
exclude=package_name
to the yum config for that particular repo - that way if you add it to rpmforge and the package exists in rpmforge and base then the installation and or update would occur from the base repo.
Joseph L. Casale wrote on Mon, 31 Mar 2008 07:42:24 -0600:
In that scenario, how does one force a downgrade?
On first thought: Force an uninstall via yum (if yum won't do it, use rpm), install the older version via yum (if available from rpmforge) and then exclude it (and probably all related rpms) from yum updating.
There may be better ways.
Kai
Kai Schaetzl wrote:
Joseph L. Casale wrote on Mon, 31 Mar 2008 07:42:24 -0600:
In that scenario, how does one force a downgrade?
On first thought: Force an uninstall via yum (if yum won't do it, use rpm), install the older version via yum (if available from rpmforge) and then exclude it (and probably all related rpms) from yum updating.
There may be better ways.
Kai
Well, yes that could work. use "yum erase package name" to remove it. But, can one install a specific version of a package from the yum command?
On 31/03/2008, Rudi Ahlers Rudi@softdux.com wrote:
But, can one install a specific version of a package from the yum command?
Yes.
Alan.
On Mon, 2008-03-31 at 16:38 +0200, Rudi Ahlers wrote:
Kai Schaetzl wrote:
Joseph L. Casale wrote on Mon, 31 Mar 2008 07:42:24 -0600:
In that scenario, how does one force a downgrade?
On first thought: Force an uninstall via yum (if yum won't do it, use rpm), install the older version via yum (if available from rpmforge) and then exclude it (and probably all related rpms) from yum updating.
There may be better ways.
Kai
Well, yes that could work. use "yum erase package name" to remove it. But, can one install a specific version of a package from the yum command?
Use rpm -i --oldpackage filename?
Rudi Ahlers wrote on Mon, 31 Mar 2008 16:38:12 +0200:
But, can one install a specific version of a package from the yum command?
Sure. You do a find and then get all available packages. Then you pick the one you want. You need to use it's "long name" then, of course. There might be a new problem then, though: more dependencies on older versions of packages. So, depending on the whole scenario it might be easier to use rpm instead of yum.
Kai
Rudi Ahlers wrote on Mon, 31 Mar 2008 15:36:48 +0200:
Kai, correct me if I'm wrong
Just read again what I wrote ;-) And read it in the context of the provided information.
Kai