Can rpm packages be over installed?
I have two rpm packages:
1)ns-2.0.0.0-0.dl.web.rpm.bin 2)ns-2.0.0.0-0.dl.rcd.rpm.bin If I install ns-2.0.0.0-0.dl.web.rpm.bin it installs succesfully and after that if I install this ns-2.0.0.0-0.dl.rcd.rpm.bin this also installs successfuly When I do a rpm -qa | grep ns It shows both the packages I want to have an over installation . How do I prevent the existence of both the packages? |
Quote:
Quote:
Not dead which eternal lie Stranger eons death may die Drain you of your sanity Uninstall The Thing That Should Not Be. |
No I donot want to reinstall. I install one package and without uninstalling the !st package I want to install the 2nd one. At a time I want only the existence of a single package.
|
Quote:
In this case Obsolete: tag should help |
Quote:
|
maybe you mean .
rpm -Uvh and not rpm -ivh on this way you will install 2 versions of the same package |
How to use the Obsolete tag?I am new to making rpm packages.Can anyone elaborate with an example?
|
Quote:
Code:
Obsolete: bar Code:
Obsolete: foo Code:
Obsolete: bar Code:
Obsolete: foo |
All times are GMT -5. The time now is 02:33 AM. |