[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rpm-devel
Subject:    Changed behavior of rpm -F -- bug or =?UTF-8?Q?=28mis=29feature?=
From:       Bernhard Rosenkraenzer <bero () arklinux ! org>
Date:       2010-06-04 9:36:03
Message-ID: bfd9464c6dac6420666932b4779ee2c5 () blankpage ! ch
[Download RAW message or body]

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:

[root@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
[root@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:

[root@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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic