[Mageia-sysadm] I'm a packager and I cannot use magrepo

Shlomi Fish shlomif at shlomifish.org
Thu Jul 14 17:01:00 CEST 2011


On Thu, 14 Jul 2011 16:41:40 +0200
nicolas vigier <boklm at mars-attacks.org> wrote:

> On Thu, 14 Jul 2011, Shlomi Fish wrote:
> 
> > Hi all,
> > 
> > I'm a packager (back from Mandriva) and I cannot use mgarepo:
> > 
> > <SHELL>
> > 
> > shlomif[rpms]:$base/SRPMS$ ssh-add
> > Identity added: /home/shlomif/.ssh/id_rsa (/home/shlomif/.ssh/id_rsa)
> > Identity added: /home/shlomif/.ssh/identity (shlomi at localhost.localdomain)
> > shlomif[rpms]:$base/SRPMS$ mgarepo submit kwordquiz
> > Fetching revision...
> > URL: svn+ssh://svn.mageia.org/svn/packages/cauldron/kwordquiz
> > Commit: 122522 | mikala | Update tarball to KDE 4.6.95 (KDE SC 4.7 RC2)
> > Implicit target: cauldron
> > error: command failed: ssh
> > pkgsubmit.mageia.org /usr/local/bin/submit_package -t cauldron --define
> > sid=b5d0f26e-baa9-49f0-a929-53fa01f0def5 -r 122522
> > svn+ssh://svn.mageia.org/svn/packages/cauldron/kwordquiz error: Permission
> > denied (publickey,password,keyboard-interactive). svn: To better debug SSH
> > connection problems, remove the -q option from 'ssh' in the [tunnels]
> > section of your Subversion configuration file. svn: Network connection
> > closed unexpectedly It seems ssh-agent or ForwardAgent are not setup or
> > your username is wrong. See
> > http://wiki.mandriva.com/en/Development/Docs/Contributor_Tricks#SSH_configuration
> > for more information.
> > 
> > </SHELL>
> 
> Did you enable ssh agent forwarding for pkgsubmit.mageia.org ?
> 
> http://mageia.org/wiki/doku.php?id=basic_ssh_configuration_for_packagers
> 

Oh, I see - I didn't. In any case, now I'm getting this:

<<<

shlomif[rpms]:$base/SRPMS$ mgarepo submit kwordquiz
Fetching revision...
URL: svn+ssh://svn.mageia.org/svn/packages/cauldron/kwordquiz
Commit: 122522 | mikala | Update tarball to KDE 4.6.95 (KDE SC 4.7 RC2)
Implicit target: cauldron
error: command failed: ssh pkgsubmit.mageia.org /usr/local/bin/submit_package
-t cauldron --define sid=9f49fa75-9e09-4050-94b9-092a05f5d77d -r 122522
svn+ssh://svn.mageia.org/svn/packages/cauldron/kwordquiz error: Failed to
upload svn+ssh://svn.mageia.org/svn/packages/cauldron/kwordquiz: Executing perl
-I/usr/share/mga-youri-submit/lib /usr/share/mga-youri-submit/bin/youri-submit
--config /etc/youri/submit-todo.conf --define user=shlomif --define
sid=9f49fa75-9e09-4050-94b9-092a05f5d77d
cauldron /var/lib/schedbot/repsys/srpms/@122522:kwordquiz-4.6.95-0.mga2.src.rpm
(sudo_user shlomif) Deprecated method, use as_string now
at /usr/share/mga-youri-submit/lib/Youri/Submit/Check/ACL.pm line 32 Deprecated
method, use as_file() now
at /usr/share/mga-youri-submit/lib/Youri/Submit/Check/Host.pm line 32
Initializing repository Deprecated method, use as_string now
at /usr/lib/perl5/site_perl/5.10.1/Youri/Repository/Mageia.pm line 457
Submission errors, aborting:
- kwordquiz-4.6.95-0.mga2.src:
 - Current or newer revision(s) already exists in core/release for cauldron:
kwordquiz-4.6.95-0.mga2.src
A    /var/lib/schedbot/repsys/tmp/tmpsaeFOj/SOURCES-bin

>>>

And the mgarepo man page is lacking useful information.

Regards,

	Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
"The Human Hacking Field Guide" - http://shlom.in/hhfg

XSLT is what Chuck Norris has nightmares of.

Please reply to list if it's a mailing list post - http://shlom.in/reply .


More information about the Mageia-sysadm mailing list