Bug 20607 - freshen using an ftp url doesn't check versioning before retrieving
Summary: freshen using an ftp url doesn't check versioning before retrieving
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 7.0
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: David Lawrence
URL:
Whiteboard:
: 12009 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-11-09 23:25 UTC by Need Real Name
Modified: 2007-04-18 16:29 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-01-09 16:29:43 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.