  | |  | update with rpm? | update with rpm? 2002-08-30 - By Anne Possoz
Back Hello,
Today, I encoutered the following problem while trying to update openssl.
On my local machine, I have # rpm -qa | grep openssl openssl-0.9.6b-24 openssl-devel-0.9.6b-24
On the server, all the latest updates are in one directory (except kernel, glibc) # ls -C1 7.3/i386/openssl-* 7.3/i386/openssl-0.9.6b-28.i386.rpm 7.3/i386/openssl-0.9.6b-28.i686.rpm 7.3/i386/openssl-devel-0.9.6b-28.i386.rpm 7.3/i386/openssl-perl-0.9.6b-28.i386.rpm
Now, if I try to update: # rpm -Fvh 7.3/i386/openssl-* Preparing... ########################################### [100%] file /lib/libcrypto.so.0.9.6b conflicts between attempted installs of openssl-0.9.6b-28 and openssl-0.9.6b-28 file /lib/libssl.so.0.9.6b conflicts between attempted installs of openssl-0.9.6b-28 and openssl-0.9.6b-28 (...)
This seems to come from the fact that both openssl-0.9.6b-28.i386.rpm and openssl-0.9.6b-28.i686.rpm are in the same directory. How is it that rpm cannot take into account the i686? How should I have done it?
I also tested this with apt for rpms (following
http://freshrpms.net/apt/
)
The directory with updated rpms for apt has the same rpms: # ls -C1 7.3/en/i386/RPMS.updates/openssl-* 7.3/en/i386/RPMS.updates/openssl-0.9.6b-28.i386.rpm 7.3/en/i386/RPMS.updates/openssl-0.9.6b-28.i686.rpm 7.3/en/i386/RPMS.updates/openssl-devel-0.9.6b-28.i386.rpm 7.3/en/i386/RPMS.updates/openssl-perl-0.9.6b-28.i386.rpm
And apt-get does solve it cleanly: # apt-get install openssl Processing File Dependencies... Done Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: openssl-devel The following packages will be upgraded openssl openssl-devel 2 packages upgraded, 0 newly installed, 0 to remove(replace) and 27 not upgraded. Need to get 2622kB of archives. After unpacking 208B will be used. Do you want to continue? [Y/n] y Get:1
http://x
redhat/7.3/en/i386/updates openssl 0.9.6b-28 [1401kB] Get:2
http://x
redhat/7.3/en/i386/updates openssl-devel 0.9.6b-28 [1220kB] Fetched 2622kB in 0s (4844kB/s) Executing RPM (-U)... Preparing... ########################################### [100%] 1:openssl ########################################### [ 50%] 2:openssl-devel ########################################### [100%]
It has to be noted that RedHat up2date is absolutely prohibited for us as it costs too much. We have a redhat mirror here (mirrored from an academic swiss site). The cost for using the european network is included in an annual package. But every byte that comes from the US is charged separately. What would be the aim of having any single machine going to Red Hat for update? I am surprised here by the strategy of Red Hat.
Anne
|
|
 |