RPM Community Forums

Mailing List Message of <rpm-devel>

Re: problem upgrading packages with epoch

From: Per Øyvind Karlsen <pkarlsen@mandriva.com>
Date: Tue 04 Mar 2008 - 22:37:54 CET
Message-id: <200803042237.54280.pkarlsen@mandriva.com>
På Tirsdag 04 mars 2008 , 21:55:15 skrev Per Øyvind Karlsen:
> This is weird:
> [peroyvind@localhost SPECS]$ sudo
> rpm -Uvh /home/peroyvind/RPM/RPMS/x86_64/rpm-5.0.3-1mdv2008.1.x86_64.rpm
> /home/peroyvind/RPM/RPMS/x86_64/lib64rpm5.0-5.0.3-1mdv2008.1.x86_64.rpm
> /home/peroyvind/RPM/RPMS/x86_64/lib64rpm-devel-5.0.3-1mdv2008.1.x86_64.rpm
> /home/peroyvind/RPM/RPMS/x86_64/rpm-build-5.0.3-1mdv2008.1.x86_64.rpm
> /home/peroyvind/RPM/RPMS/x86_64/python-rpm-5.0.3-1mdv2008.1.x86_64.rpm
> /home/peroyvind/RPM/RPMS/x86_64/perl-RPM-5.0.3-1mdv2008.1.x86_64.rpm
> /home/peroyvind/RPM/RPMS/x86_64/rpm-debug-5.0.3-1mdv2008.1.x86_64.rpm
> error: Failed dependencies:
>         lib64rpm5.0 = 5.0.3-1mdv2008.1 is needed by
> rpm-5.0.3-1mdv2008.1.x86_64
>         rpm = 5.0.3-1mdv2008.1 is needed by
> lib64rpm-devel-5.0.3-1mdv2008.1.x86_64
>         rpm = 5.0.3-1mdv2008.1 is needed by
> rpm-build-5.0.3-1mdv2008.1.x86_64 rpm = 5.0.3-1mdv2008.1 is needed by
> python-rpm-5.0.3-1mdv2008.1.x86_64 [peroyvind@localhost SPECS]$ sudo
> rpm -Uvh /home/peroyvind/RPM/RPMS/x86_64/*-5.0.3-1mdv2008.1.x86_64.rpm
> error: Failed dependencies:
>         rpm = 5.0.3-1mdv2008.1 is needed by
> lib64rpm-devel-5.0.3-1mdv2008.1.x86_64
>         rpm = 5.0.3-1mdv2008.1 is needed by
> python-rpm-5.0.3-1mdv2008.1.x86_64 lib64rpm5.0 = 5.0.3-1mdv2008.1 is needed
> by
> rpm-5.0.3-1mdv2008.1.x86_64
>         rpm = 5.0.3-1mdv2008.1 is needed by
> rpm-build-5.0.3-1mdv2008.1.x86_64 [peroyvind@localhost SPECS]$
> rpm -qp --provides
> /home/peroyvind/RPM/RPMS/x86_64/rpm-5.0.3-1mdv2008.1.x86_64.rpm rpm =
> 1:5.0.3-1mdv2008.1
>
> So, original packages are 5.0.3-1, new packages are 1:5.0.3-1 and should
> therefore be newer..
>
> More verbosive rpm output attached.

actually I'm a bit wrong, original packages are 5.0.3-0.7, so these packages 
should be newer regardless of epoch or not.

Btw. I forgot to unset locale for attachment, should be easy to understand, 
but if not; "JA" = "YES", "NEI" = "NO". :)

-- 
Regards,
Per Øyvind Karlsen
Mandriva Norway
Received on Tue Mar 4 22:41:07 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.