Hi, Erling Try erase and install rpm -e --nodeps openssl0.9.8e20.el5_x86_64 openssl0.9.8e20.el5_i686
rpm -Ivh openssl-0.9.8e-20.x86_64.rpm On 2011/09/15, at 20:25, Erling Ringen Elvsrud <erlin...@gmail.com> wrote: > Hello, > > I need to rebuild OpenSSL with the "enable-cms" option. > I have sucessfully altered openssl.spec to include "enable-cms" when > the package is built. > > I rebuild the package with "rpmbuild -bb SPECS/openssl.spec", the > package builds correctly. > Then I want to replace the aldredy installed openssl-package in order > to use the rebuilt one like this: > > > [root@XXXXXXXX x86_64]# rpm -ivh --replacepkgs openssl-0.9.8e-20.x86_64.rpm > Preparing... ########################################### [100%] > package openssl-0.9.8e-20.el5.x86_64 (which is newer than > openssl-0.9.8e-20.x86_64) is already installed > package openssl-0.9.8e-20.el5.i686 (which is newer than > openssl-0.9.8e-20.x86_64) is already installed > file /lib64/.libcrypto.so.0.9.8e.hmac from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.x86_64 > file /lib64/.libssl.so.0.9.8e.hmac from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.x86_64 > file /lib64/libcrypto.so.0.9.8e from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.x86_64 > file /lib64/libssl.so.0.9.8e from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.x86_64 > file /usr/bin/openssl from install of openssl-0.9.8e-20.x86_64 > conflicts with file from package openssl-0.9.8e-20.el5.x86_64 > file /usr/lib64/openssl/engines/lib4758cca.so from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.x86_64 > file /usr/lib64/openssl/engines/libaep.so from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.x86_64 > file /usr/lib64/openssl/engines/libatalla.so from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.x86_64 > file /usr/lib64/openssl/engines/libchil.so from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.x86_64 > file /usr/lib64/openssl/engines/libcswift.so from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.x86_64 > file /usr/lib64/openssl/engines/libgmp.so from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.x86_64 > file /usr/lib64/openssl/engines/libnuron.so from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.x86_64 > file /usr/lib64/openssl/engines/libsureware.so from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.x86_64 > file /usr/lib64/openssl/engines/libubsec.so from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.x86_64 > file /usr/share/man/man1/asn1parse.1ssl.gz from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.x86_64 > file /usr/share/man/man1/ca.1ssl.gz from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.x86_64 > file /usr/share/man/man1/enc.1ssl.gz from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.x86_64 > file /usr/share/man/man1/nseq.1ssl.gz from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.x86_64 > file /usr/share/man/man1/ocsp.1ssl.gz from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.x86_64 > file /usr/share/man/man1/openssl.1ssl.gz from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.x86_64 > file /usr/share/man/man1/req.1ssl.gz from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.x86_64 > file /usr/share/man/man1/rsautl.1ssl.gz from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.x86_64 > file /usr/share/man/man1/sess_id.1ssl.gz from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.x86_64 > file /usr/share/man/man1/x509.1ssl.gz from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.x86_64 > file /usr/share/man/man1/asn1parse.1ssl.gz from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.i686 > file /usr/share/man/man1/ca.1ssl.gz from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.i686 > file /usr/share/man/man1/enc.1ssl.gz from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.i686 > file /usr/share/man/man1/nseq.1ssl.gz from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.i686 > file /usr/share/man/man1/ocsp.1ssl.gz from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.i686 > file /usr/share/man/man1/openssl.1ssl.gz from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.i686 > file /usr/share/man/man1/req.1ssl.gz from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.i686 > file /usr/share/man/man1/rsautl.1ssl.gz from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.i686 > file /usr/share/man/man1/sess_id.1ssl.gz from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.i686 > file /usr/share/man/man1/x509.1ssl.gz from install of > openssl-0.9.8e-20.x86_64 conflicts with file from package > openssl-0.9.8e-20.el5.i686 > [root@e11apvl145 x86_64]# > > [root@XXXXXXX x86_64]# rpm -qf /usr/share/man/man1/asn1parse.1ssl.gz > --queryformat "%{NAME}%{VERSION}%{RELEASE}_%{ARCH}\n" > openssl0.9.8e20.el5_x86_64 > openssl0.9.8e20.el5_i686 > > How do you recommend that I install the rebuilt package without > creating any rpm-troubles? > > Best regards, > > Erling Ringen Elvsrud > > _______________________________________________ > rhelv5-list mailing list > rhelv5-list@redhat.com > https://www.redhat.com/mailman/listinfo/rhelv5-list _______________________________________________ rhelv5-list mailing list rhelv5-list@redhat.com https://www.redhat.com/mailman/listinfo/rhelv5-list