problem with rpm 4.1

Michal Moskal malekith at pld-linux.org
Tue Oct 22 13:14:23 CEST 2002


On Tue, Oct 22, 2002 at 11:33:06AM +0200, Artur Frysiak wrote:
> On Mon, Oct 21, 2002 at 05:41:31PM +0200, Michal Moskal wrote:
> > poldek> install php-common-4.2.3-1 --force     
> > Processing dependencies...
> > There are 1 package to install:
> > I php-common-4.2.3-1
> > Executing sudo /bin/rpm --upgrade -vh --force --root / --noorder...
> > error: Failed dependencies:
> > 	php-common = 4.2.3 is needed by (installed) php-4.2.3-1
> > There were errors
> > poldek>
> > 
> > Of course php-common-4.2.3-1 also provides php-common = 4.2.3 so rpm is
> > wrong. I've seen few similar situations.
> 
> Show me rpm -qp --qf '%{NAME}\n' php-common-new-version.arch.rpm
> And rpm -qp --provides php-common-new-version.arch.rpm

Hmm.. Strange I posted detailed bug report to rpm-list at redhat.com
yestarday (IIRC it does not have only-subscribers-can-post policy), 
and it does not appear in google group:linux.redhat.rpm.

So again:

[malekith at roke rpm-test]$ sudo rpm -Uvh php-common-4.2.3-5.i686.rpm 
warning: php-common-4.2.3-5.i686.rpm: V3 DSA signature: NOKEY, key ID f9651d5a
error: Failed dependencies:
	php-common = 4.2.3 is needed by (installed) php-4.2.3-1
[malekith at roke rpm-test]$ rpm -qp --provides php-common-4.2.3-1.i686.rpm|grep php-common
php-common = 3:4.2.3-1
[malekith at roke rpm-test]$ rpm -qp --provides php-common-4.2.3-5.i686.rpm|grep php-common
warning: php-common-4.2.3-5.i686.rpm: V3 DSA signature: NOKEY, key ID f9651d5a
php-common = 3:4.2.3-5
[malekith at roke rpm-test]$ rpm -qp --qf "%{NAME}\n" php-common-4.2.3-*
php-common
warning: php-common-4.2.3-5.i686.rpm: V3 DSA signature: NOKEY, key ID f9651d5a
php-common
[malekith at roke rpm-test]$ 

-- 
: Michal Moskal ::::: malekith/at/pld-linux.org :  GCS {C,UL}++++$ a? !tv
: PLD Linux ::::::: Wroclaw University, CS Dept :  {E-,w}-- {b++,e}>+++ h



More information about the pld-devel-en mailing list