Re: [Cooker] a solution to the error "desplist.ordered mismatch against hdlist files"

2000-06-09 Thread Guillaume Cottenceau

"Guy T. Rice" <[EMAIL PROTECTED]> writes:

> Umm, okay, but how did you fix it?  Do you need to remake the RPM (with a
> corrected spec file) or simply rename the RPM?  Won't renaming the RPM
> cause other problems (like package X depends on package Y but we just
> renamed package Y to Z)?  Of course, that might not come up, depending on
> which packages have the error...

No, I renamed the packages.

Actually, this happens when something silly between the chair and the
keyboard (an expression from Stefan AFAIR, I like that one!) renames the
package.

The packages should *never* be manually renamed.


For dependencies, no it's not a problem because when filename X gets
installed, it does not "provide X", it provides the official name of the
package.

> If this is the cause of the error, rather than attempting an install and
> seeing where the error occurs, it'd probably be easier to check the
> package name/RPM name correspondence before burning.

Of course!

We should include a "verify" script along with the "gen*" scripts.


-- 
Guillaume Cottenceau




Re: [Cooker] a solution to the error "desplist.ordered mismatch against hdlist files"

2000-06-08 Thread Guy T. Rice

On Thu, 08 Jun 2000, Guillaume Cottenceau wrote:
> Hi,
> 
> About a month ago, a lot of you who tried to compile your own Mandrake
> installation had problems: after the scan for available packages, you had
> this error:
> 
> ``desplist.ordered mismatch against hdlist files''
> 
> 
> For any of you still interested in this issue, here is how I fixed the
> problem, expecting the same problem :
> 
> Ctrl+Alt+F3 will show you the faulting packages; most of the time it's
> when the true name of the package (as reported with "rpm -qpi") mismatch
> with the filename of the package.

Umm, okay, but how did you fix it?  Do you need to remake the RPM (with a
corrected spec file) or simply rename the RPM?  Won't renaming the RPM
cause other problems (like package X depends on package Y but we just
renamed package Y to Z)?  Of course, that might not come up, depending on
which packages have the error...

If this is the cause of the error, rather than attempting an install and
seeing where the error occurs, it'd probably be easier to check the
package name/RPM name correspondence before burning.

#!/bin/bash

cd /exports/mirrors/Mandrake/cooker/Mandrake/RPMS

for file in *.rpm
do
rpm -qpi $file | gawk -v FN=$file \
'{if ( $3 != substr(FN, 1, length($3)) ) print $3, FN; exit}'
done




[Cooker] a solution to the error "desplist.ordered mismatch against hdlist files"

2000-06-08 Thread Guillaume Cottenceau

Hi,

About a month ago, a lot of you who tried to compile your own Mandrake
installation had problems: after the scan for available packages, you had
this error:

``desplist.ordered mismatch against hdlist files''


For any of you still interested in this issue, here is how I fixed the
problem, expecting the same problem :

Ctrl+Alt+F3 will show you the faulting packages; most of the time it's
when the true name of the package (as reported with "rpm -qpi") mismatch
with the filename of the package.


-- 
Guillaume Cottenceau