Bug 4650

Summary: --freshen installs new packages
Product: [Retired] Red Hat Linux Reporter: Ragnar Kjørstad <bugzilla>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 6.0CC: bjn, bugzilla, pekkas
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: 1999-11-15 14:03:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ragnar Kjørstad 1999-08-22 15:49:49 UTC
The "-F" / "--freshen" option seems to install the packages
even if they're not alreaddy installed when an ftp-url is
specified instead of a local file.

On an i386 RedHat 6.0 system:

[root@stine 6.0]# rpm -q squid
package squid is not installed

[root@stine 6.0]# rpm -F i386/squid-2.2.STABLE4-5.i386.rpm
rpm: no packages given for install

[root@stine 6.0]# rpm -q squid
package squid is not installed

[root@stine 6.0]# rpm -F
ftp://ftp.vestdata.no/pub/linux/mirrors/redhat-updates/6.0/i386/squid-2.2.STABLE4-5.i386.rpm

[root@stine 6.0]# rpm -q squid
squid-2.2.STABLE4-5

Comment 1 bjn 1999-11-15 14:03:59 UTC
Also happens with RedHat 6.1, when using an ftp URL:

# rpm -qa | grep ypserv
# rpm -Fvh ftp://kepler/pub/redhat-updates/6.1/i386/ypserv-1.3.9-1.i386.rpm
Retrieving ftp://kepler/pub/redhat-updates/6.1/i386/ypserv-1.3.9-1.i386.rpm
ypserv                      ##################################################
#

Comment 2 Jeff Johnson 2001-02-21 19:30:37 UTC
Now that --freshen is implemented in C rather than in a shell script, I don't
believe
that this is still a problem. Please reopen if I'm wrong.