[Mageia-dev] Urpmi raise an erreur when installing a .spec file

Thierry Vignaud thierry.vignaud at gmail.com
Thu Aug 9 22:47:50 CEST 2012


On 9 August 2012 22:42, Olivier Thauvin <nanardon at nanardon.zarb.org> wrote:
>> > [olivier at localhost forge]$ LC_ALL=C urpmi --buildrequires forge.spec
>> >
>> >
>> > installing forge.spec
>> > Preparing...
>> > #############################################################################################################################################################
>> > error: perl-Forge-0.4.5-1.mga3.noarch: install failed
>> >
>> > In past trying to install a spec did not end by an erreur (even
>> > --buildrequires was not specified).
>> >
>> > Can we back to a more standard behavior ?
>>
>> That has nothing to do with urpmi.
>> That message came from rpm.
>> Your package is bogus.
>
> Hu ?
>
> In what the spec file can be bogus (and not the package)?
>
> No message is ouput but indeed, a spec file is not a noarch rpm and I
> don't see why urpmi/rpm assume I'am installing a noarch rpm from spec
> file.

Sorry but I really don't understand what you try to tell.

What's the link with "assume I'am installing a noarch rpm" and
"from spec file" ???

You asked urpmi to install missing BR from the spec, it tries
to do so, and one of the needed BR is provided by this perl-Forge
package of yours (so we can't check it) and it must do something
very weird (maybe silent error in %pre, I really can't tell w/o
looking at that package).


More information about the Mageia-dev mailing list