Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Installation - Getting started with Red Hat Linux
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
update with rpm?

update with rpm?

2002-08-30       - By Anne Possoz

 Back
Reply:     1     2     3     4     5     6  

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