Bug 20607

Summary: freshen using an ftp url doesn't check versioning before retrieving
Product: [Retired] Red Hat Linux Reporter: Need Real Name <nospam>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: bryce
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-01-09 16:29:43 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 Need Real Name 2000-11-09 23:25:38 UTC
The freshen command, when used in conjunction with an ftp url, isn't very
smart about versioning. It will retrieve the file BEFORE checking whether
it is more recent than the current version--or even whether any version is
installed at all--resulting in a tremendous amount of overhead.

For example:

	rpm -Fvh
ftp://ftp.freesoftware.com/.1/linux/redhat/current/updates/i386/*rpm

retrieves all files in the directory before even checking to see if a
current version is installed.

Comment 1 Jeff Johnson 2001-01-09 16:29:30 UTC
*** Bug 12009 has been marked as a duplicate of this bug. ***

Comment 2 Jeff Johnson 2001-12-19 19:56:40 UTC
Yes, rpm retrieves all files before installing. This is the
mannaer in which rpm was designed. No, it's not possible
to use the file name to extract versions, the header contains
version inormation. The entire package is downloaded to
eliminate possible network corruption.