[Rpm-maint] RPM <Obsoletes> tag not working
pmatilai at laiskiainen.org
Tue Oct 15 08:56:43 UTC 2013
On 10/14/2013 10:49 AM, prashant tyagi wrote:
> I have rpm documentation for renaming the package. I get to know about
> <Obsoletes> tag. I am able to build a new package successfully after
> adding this tag in spec file. For example:
> Suppose there is a package PkgA , I want to rename it to PkgB...
> For PkgB-
> Obsoletes: PkgA <= 2.00.000-1
> But When I install PkgB, it is not uninstalling PkgA. Instead PkgA and
> PkgB are installed side by side.
There are details missing here, but the most obvious reasons would be
a) Obsoletion range not matching, for example because of an epoch
b) Installing with 'rpm -i' instead of 'rpm -U', with -i rpm never
removes anything and this includes obsoletion.
- Panu -
More information about the Rpm-maint