Hi,
with rpm 5.3.1 (not sure when it started, may go back as far as 5.2), "rpm
-Fvh *" doesn't update packages if some of the packages are already
installed.

e.g. in this situation:

[r...@pilatus x86_64]# rpm -q qt-core qt-webkit
qt-core-4.7.0-0.20100425.1ark.x86_64
qt-webkit-4.7.0-0.20100603.1ark.x86_64
[r...@pilatus x86_64]# ls -l qt-core-4* qt-webkit-4*
-rw-r--r-- 1 arkbuild src 1262460 Jun  3 18:55
qt-core-4.7.0-0.20100603.1ark.x86_64.rpm
-rw-r--r-- 1 arkbuild src 5306664 Jun  3 19:11
qt-webkit-4.7.0-0.20100603.1ark.x86_64.rpm

rpm 5.3.1 does:

[r...@pilatus x86_64]# rpm -Fvh qt*rpm
Preparing...                ###########################################
[100%]
error: Install/Erase problems:
        package qt-webkit-4.7.0-0.20100603.1ark.x86_64 is already
installed

And the needed qt-core update isn't done.

What I'd expect from older versions is that -F would just skip over
packages that are already installed with the current version, and updates
the remaining ones.

Is this change intentional? (Personally, I prefer the old behavior a lot
-- running rpm -F on the directory with all current packages is an easy way
to keep a system up to date while apt/zypper/yum/smart/whatever aren't
there)

ttyl
bero
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
Developer Communication List                        rpm-devel@rpm5.org

Reply via email to