Hello,
So I created a amd64 channel as you described. That resulted in exactly the
same problem.
I believe the issue lies somewhere in the script “use WWW::Mechanize;”
I added an environment variable to use a our proxy
“use strict;
$ENV{HTTPS_PROXY} = 'my_proxy:8080';”
This allowed me to get one package in and then it failed. So is there some
extra things that need to be added to the script for it to pull through a proxy
server?
Cheers
Nick Tailor
Nicktailor.com
From: [email protected]
[mailto:[email protected]] On Behalf Of Waldirio Manhães
Pinheiro
Sent: December-11-14 10:17 AM
To: [email protected]
Subject: Re: [Spacewalk-list] Debian reposync fails on spacewalk
Nick and Friends,
Just to add information, I just created a new channel using the arch IA-64
named teste_deb
# perl spacewalk-debian-sync.pl<http://spacewalk-debian-sync.pl> --url
http://ftp.br.debian.org/debian/dists/stable/main/binary-amd64/ --username
admin --password <my pass> --channel teste_deb
### the result ###
INFO: Repo URL: http://ftp.br.debian.org/debian/dists/stable/main/binary-amd64/
INFO: Debian root is http://ftp.br.debian.org/debian/
INFO: Fetching Packages.gz... done
INFO: Packages in repo: 35923
INFO: Packages already synced: 0
INFO: Packages to sync: 35923
INFO: 1/35923 : virtuoso-opensource_6.1.4+dfsg1-7_all.deb
INFO: 2/35923 : libghc6-regex-tdfa-doc_8_all.deb
INFO: 3/35923 : libsys-gamin-perl_0.1-1+b2_amd64.deb
Error Message:
Package arch amd64-deb incompatible with channel teste_deb
Error Class Code: 50
Error Class Info: Invalid information uploaded to the server
ERROR: rhnpush failed
[root@spacewalk spacewalk-debian-sync-master]#
###
And yes, the link used in your sample is to amd64
(http://ftp.ca.debian.org/debian/dists/wheezy/main/binary-amd64/), so just
recreate a channel using arch amd64 and enjoy!
Wish you all a great week!
______________
Atenciosamente
Waldirio
msn: [email protected]<mailto:[email protected]>
Skype: waldirio
Site: www.waldirio.com.br<http://www.waldirio.com.br>
Blog: blog.waldirio.com.br<http://blog.waldirio.com.br>
LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
PGP: www.waldirio.com.br/public.html<http://www.waldirio.com.br/public.html>
On Thu, Dec 11, 2014 at 4:11 PM, Waldirio Manhães Pinheiro
<[email protected]<mailto:[email protected]>> wrote:
Nick
As I told you in a private email, I'm testing in lab and probably your problem
in the arch channel. To check, execute the commands as bellow:
Take a look, I've in my env one channel named debian_7.7_amd64
[root@spacewalk ~]# spacecmd softwarechannel_list|grep deb
INFO: Connected to https://localhost/rpc/api as admin
debian_7.7_amd64
To retrieve more information, execute the command as bellow:
[root@spacewalk ~]# spacecmd softwarechannel_details debian_7.7_amd64
INFO: Connected to https://localhost/rpc/api as admin
Label: debian_7.7_amd64
Name: debian_7.7_amd64
Architecture: AMD64 Debian ###### Here is the point.
What can you see in your environment !? IA-64 !? ;-)
Parent:
Systems Subscribed: 0
Number of Packages: 745
Summary
-------
debian_7.7_amd64
GPG Key:
GPG Fingerprint:
GPG URL:
Repos
-----
debian
[root@spacewalk ~]#
Waiting your reply!
Take Care
______________
Atenciosamente
Waldirio
msn: [email protected]<mailto:[email protected]>
Skype: waldirio
Site: www.waldirio.com.br<http://www.waldirio.com.br>
Blog: blog.waldirio.com.br<http://blog.waldirio.com.br>
LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
PGP: www.waldirio.com.br/public.html<http://www.waldirio.com.br/public.html>
On Mon, Dec 8, 2014 at 8:00 PM, Nick Tailor
<[email protected]<mailto:[email protected]>> wrote:
Hello,
I was wondering if someone could point in the right direction?
I created an empty debian channel and trying to sync the repo as follows below,
however it keeps failing.
https://github.com/stevemeier/spacewalk-debian-sync/blob/master/spacewalk-debian-sync.pl
(this is the script I’m using)
./spacewalk-debian-sync.pl<http://spacewalk-debian-sync.pl> --username admin -p
blablah --channel 'debian64bit' --url
'http://ftp.ca.debian.org/debian/dists/wheezy/main/binary-amd64/'
/binary-amd64/'
INFO: Repo URL: http://ftp.ca.debian.org/debian/dists/wheezy/main/binary-amd64/
INFO: Debian root is http://ftp.ca.debian.org/debian/
INFO: Fetching Packages.gz... done
INFO: Packages in repo: 35923
INFO: Packages already synced: 0
INFO: Packages to sync: 35923
INFO: 1/35923 : virtuoso-opensource_6.1.4+dfsg1-7_all.deb
Error Message:
Package arch all-deb incompatible with channel debian64bit
Error Class Code: 50
Error Class Info: Invalid information uploaded to the server
ERROR: rhnpush failed
Please and thank you
Cheers
Nick Tailor
http://www.nicktailor.com
________________________________
This email is intended only for the addressee. It may contain confidential or
proprietary information that cannot be disclosed without BCLC's permission. If
you have received this email in error, please notify the sender immediately and
delete the email.
_______________________________________________
Spacewalk-list mailing list
[email protected]<mailto:[email protected]>
https://www.redhat.com/mailman/listinfo/spacewalk-list
________________________________
This email is intended only for the addressee. It may contain confidential or
proprietary information that cannot be disclosed without BCLC's permission. If
you have received this email in error, please notify the sender immediately and
delete the email.
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list