[Mageia-dev] please help with mgarepo

Oliver Burger oliver.bgr at googlemail.com
Thu Apr 12 11:22:45 CEST 2012


Am 12.04.2012 11:16, schrieb Zézinho:
> hi, trying to use mgarepo on another machine, I get stuck here :
> - mgarepo co works
> - mgarepo ci works
> - mgarepo sync does not work :
>
>
> jose at acer:~/applis/mageia/phpmyadmin$ mgarepo sync -c -d
> error: line 6: Tag takes single token only: Release: %mkrel 1
> Traceback (most recent call last):
> File "/usr/bin/mgarepo", line 93, in <module>
> do_command(parse_options, dispatch_command)
> File "/usr/lib/python2.7/site-packages/MgaRepo/command.py", line 39, in
> do_command
> main_func(**opt.__dict__)
> File "/usr/bin/mgarepo", line 84, in dispatch_command
> command_module.main()
> File "/usr/lib/python2.7/site-packages/MgaRepo/commands/sync.py", line
> 38, in main
> do_command(parse_options, sync)
> File "/usr/lib/python2.7/site-packages/MgaRepo/command.py", line 39, in
> do_command
> main_func(**opt.__dict__)
> File "/usr/lib/python2.7/site-packages/MgaRepo/rpmutil.py", line 514, in
> sync
> spec = rpm.TransactionSet().parseSpec(specpath)
> File "/usr/lib/python2.7/site-packages/rpm/transaction.py", line 35, in
> parseSpec
> return _rpmb.spec(specfile)
> ValueError: can't parse specfile
>
>
> Any clue appreciated.

Is rpm-build installed? Just asking because mgarepo seems to have 
problems parsing the spec file.

Oliver


More information about the Mageia-dev mailing list