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
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 ################################################## #
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.