Bug 7618

Summary: rpm -Uhv against multi ftp:// fails
Product: [Retired] Red Hat Linux Reporter: Christopher Abbey <cabbey>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-01-04 20:38:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christopher Abbey 1999-12-06 04:53:30 UTC
system:
RHL5.2 + errata updates

pre condition:
rpm is version 3.0.2 from rpm-3.0.2-5.x.i386.rpm
neither egcs nor egcs-c++ are installed.

failure log:
[root@tweedle src]# rpm -Uhv
ftp://ftp.cs.wisc.edu/pub/mirrors/linux/redhat/old-releases/redhat-5.2/i386
/RedHat/RPMS/egcs-c++-1.0.3a-14.i386.rpm
ftp://ftp.cs.wisc.edu/pub/mirrors/linux/redhat/old-releases/redhat-5.2/i386
/RedHat/RPMS/egcs-1.0.3a-14.i386.rpm
Retrieving
ftp://ftp.cs.wisc.edu/pub/mirrors/linux/redhat/old-releases/redhat-5.2/i386
/RedHat/RPMS/egcs-c++-1.0.3a-14.i386.rpm
Retrieving
ftp://ftp.cs.wisc.edu/pub/mirrors/linux/redhat/old-releases/redhat-5.2/i386
/RedHat/RPMS/egcs-1.0.3a-14.i386.rpm
egcs                   ##################################################
egcs                   ##################################################
[root@tweedle src]# rpm -q egcs egcs-c++
egcs-1.0.3a-14
package egcs-c++ is not installed


failure only appears to happen when accessing via ftp, perhaps temp file
for egcs-c++ overwritten by temp file for egcs?

Comment 1 Jeff Johnson 1999-12-13 11:52:59 UTC
I tried to reproduce this problem on a local ftp server and failed.

It's not a collision on temp file names. The temp file name is randomly
genereated and the name is stat'ed to prevent collisions. More likely
is some sort of FTP weirdness (but I can't hazard a guess).

Try repeating the same commands with -vv, that will permit identifying (at
least) the temp file name for the locally cached package. You might also
wish to try a different host and/or rpm-3.0.3 from ftp.rpm.org. There's
also rpm-3.0.4 from rawhide (that's almost stable now).

Comment 2 Jeff Johnson 2000-01-04 20:38:59 UTC
This problem appears to be resolved. Please reopen if I'm wrong.