use %pre section of .rpm file to check if this package is already installed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


One rpm .spec file was developed long time ago and the %pre section of
it was used to check if a previous major version of this software is
already installed or not. And it did work before. I saw it personally.
In the rpm 4.8 (rhel 6.5-6.7), this does not work anymore. During
installation the rpm installer does not reach (or ignore?) the %pre
section and complains that "file ... from install of
our-software-23.01.el6.i386 conflicts with file from package
our-software-22.07.el6.i386" and then the installation aborts.

I have posted the same question also on the

Is there a way to make it work or the check is supposed be done
different? Any help is much appreciated! Thank you in advance.
Rpm-list mailing list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux