Discussion:
[Spacewalk-list] Debian/Ubuntu spacewalk help - need assistance with setting up Debian/ubuntu channels/repos/client.
Morgan Cox
2012-08-16 11:42:40 UTC
Permalink
Hi

is there any other info anywhere abouts adding ubuntu + debian
channels/repos and clients ?

I have seen the debian section here :-

https://fedorahosted.org/spacewalk/wiki/RegisteringClients, but just

managed to break apt on a server attempting to set it up (fixed now..)

I am also not sure about the URL's to use , etc when adding a debian
channel/repo
- what is the ' Repository URL*' for (example) Debian *squeeze*

I tried ' /usr/bin/spacewalk-repo-sync --channel debian6-x86-64 --type apt '

but got - Channel has no URL associated

Where can I find out what I should be using for debian/ubuntu?

Is debian support really a no go at present ?

I notice that Ubuntu now has official spacewalk packages in its repos - i.e

http://packages.ubuntu.com/quantal/apt-transport-spacewalk

Regards
Simon Lukasik
2012-08-16 12:55:39 UTC
Permalink
Post by Morgan Cox
I tried ' /usr/bin/spacewalk-repo-sync --channel debian6-x86-64 --type apt '
This one still waits for implementation.
--
Simon Lukasik
Morgan Cox
2012-08-16 13:24:25 UTC
Permalink
Hi

Thanks for the response?

- How do you sync an apt channel at present ?

- Also where can I find the URL to add to the repos?

- At present is spacewalk 1.7 capable of pushing updates to
debian/ubuntu clients?
Simon Lukasik
2012-08-16 13:40:21 UTC
Permalink
Post by Morgan Cox
Hi
Thanks for the response?
- How do you sync an apt channel at present ?
Actually, I do not have .deb based machines anymore.

But, you can download the packages to a directory and then use the
rhnpush tool in order to upload them to the server.
Post by Morgan Cox
- Also where can I find the URL to add to the repos?
I am sorry, I can't understand this question.
Post by Morgan Cox
- At present is spacewalk 1.7 capable of pushing updates to
debian/ubuntu clients?
Morgan Cox
2012-08-16 14:06:49 UTC
Permalink
Post by Morgan Cox
Also where can I find the URL to add to the repos?
I mean when adding a repository in the spacewalk web gui - what URL
should I add for (as an example) debian squeeze - i.e
http://debian.org/debian/squeeze... etc

But your response kind of answers that - you don't.

So just to clarify...

Say I want debian squeeze - how can a setup the repo - I take it I
cant just make a local mirror of the debian repo and keep the same
structure i.e

/debian/pool/main
/debian/pool/non-free

i.e does it need all the packages in one directory - or can I point to
to a file in

http://ftp.debian.org/debian/dists/stable-updates/Contents-amd64.gz
and that contains the directory structure?

(sorry if this isn't making sense)

regards
Post by Morgan Cox
Post by Morgan Cox
Hi
Thanks for the response?
- How do you sync an apt channel at present ?
Actually, I do not have .deb based machines anymore.
But, you can download the packages to a directory and then use the
rhnpush tool in order to upload them to the server.
Post by Morgan Cox
- Also where can I find the URL to add to the repos?
I am sorry, I can't understand this question.
Post by Morgan Cox
- At present is spacewalk 1.7 capable of pushing updates to
debian/ubuntu clients?
Simon Lukasik
2012-08-16 15:20:56 UTC
Permalink
Post by Morgan Cox
Post by Morgan Cox
Also where can I find the URL to add to the repos?
I mean when adding a repository in the spacewalk web gui - what URL
should I add for (as an example) debian squeeze - i.e
http://debian.org/debian/squeeze... etc
But your response kind of answers that - you don't.
So just to clarify...
Say I want debian squeeze - how can a setup the repo - I take it I
cant just make a local mirror of the debian repo and keep the same
structure i.e
/debian/pool/main
/debian/pool/non-free
You can have a whatever structure you have. You just need a bit of
scripting, like

find $mycooldirectory/ -name '*.deb' \
| xargs rhnpush -u admin --channel=$mycoolchannel
--server=$mycoolserver --
Post by Morgan Cox
i.e does it need all the packages in one directory - or can I point to
to a file in
http://ftp.debian.org/debian/dists/stable-updates/Contents-amd64.gz
and that contains the directory structure?
(sorry if this isn't making sense)
regards
Post by Morgan Cox
Post by Morgan Cox
Hi
Thanks for the response?
- How do you sync an apt channel at present ?
Actually, I do not have .deb based machines anymore.
But, you can download the packages to a directory and then use the
rhnpush tool in order to upload them to the server.
Post by Morgan Cox
- Also where can I find the URL to add to the repos?
I am sorry, I can't understand this question.
Post by Morgan Cox
- At present is spacewalk 1.7 capable of pushing updates to
debian/ubuntu clients?
Morgan Cox
2012-08-17 09:55:27 UTC
Permalink
Thanks for that
Post by Simon Lukasik
Post by Morgan Cox
Post by Morgan Cox
Also where can I find the URL to add to the repos?
I mean when adding a repository in the spacewalk web gui - what URL
should I add for (as an example) debian squeeze - i.e
http://debian.org/debian/squeeze... etc
But your response kind of answers that - you don't.
So just to clarify...
Say I want debian squeeze - how can a setup the repo - I take it I
cant just make a local mirror of the debian repo and keep the same
structure i.e
/debian/pool/main
/debian/pool/non-free
You can have a whatever structure you have. You just need a bit of
scripting, like
find $mycooldirectory/ -name '*.deb' \
| xargs rhnpush -u admin --channel=$mycoolchannel
--server=$mycoolserver --
Post by Morgan Cox
i.e does it need all the packages in one directory - or can I point to
to a file in
http://ftp.debian.org/debian/dists/stable-updates/Contents-amd64.gz
and that contains the directory structure?
(sorry if this isn't making sense)
regards
Post by Morgan Cox
Post by Morgan Cox
Hi
Thanks for the response?
- How do you sync an apt channel at present ?
Actually, I do not have .deb based machines anymore.
But, you can download the packages to a directory and then use the
rhnpush tool in order to upload them to the server.
Post by Morgan Cox
- Also where can I find the URL to add to the repos?
I am sorry, I can't understand this question.
Post by Morgan Cox
- At present is spacewalk 1.7 capable of pushing updates to
debian/ubuntu clients?
Morgan Cox
2012-08-17 10:44:00 UTC
Permalink
Sorry one last thing :-

Is there a (easy) way of just downloding updates from the debian repo ?

As far as I can see in debian the directories are arranged alphabetically.

i.e is it possible to just mirror the updates repo ?

Any help on this would be welcomed.

Regards
Post by Morgan Cox
Thanks for that
Post by Simon Lukasik
Post by Morgan Cox
Post by Morgan Cox
Also where can I find the URL to add to the repos?
I mean when adding a repository in the spacewalk web gui - what URL
should I add for (as an example) debian squeeze - i.e
http://debian.org/debian/squeeze... etc
But your response kind of answers that - you don't.
So just to clarify...
Say I want debian squeeze - how can a setup the repo - I take it I
cant just make a local mirror of the debian repo and keep the same
structure i.e
/debian/pool/main
/debian/pool/non-free
You can have a whatever structure you have. You just need a bit of
scripting, like
find $mycooldirectory/ -name '*.deb' \
| xargs rhnpush -u admin --channel=$mycoolchannel
--server=$mycoolserver --
Post by Morgan Cox
i.e does it need all the packages in one directory - or can I point to
to a file in
http://ftp.debian.org/debian/dists/stable-updates/Contents-amd64.gz
and that contains the directory structure?
(sorry if this isn't making sense)
regards
Post by Morgan Cox
Post by Morgan Cox
Hi
Thanks for the response?
- How do you sync an apt channel at present ?
Actually, I do not have .deb based machines anymore.
But, you can download the packages to a directory and then use the
rhnpush tool in order to upload them to the server.
Post by Morgan Cox
- Also where can I find the URL to add to the repos?
I am sorry, I can't understand this question.
Post by Morgan Cox
- At present is spacewalk 1.7 capable of pushing updates to
debian/ubuntu clients?
Simon Lukasik
2012-08-20 07:13:50 UTC
Permalink
Post by Morgan Cox
Sorry one last thing :-
Is there a (easy) way of just downloding updates from the debian repo ?
As far as I can see in debian the directories are arranged alphabetically.
i.e is it possible to just mirror the updates repo ?
Any help on this would be welcomed.
Dunno. Maybe there is some tool in Debian world for it? Maybe some
manual intervention would be needed? I am sorry, but I don't know.

Of course, the best thing would be to implement spacewalk-repo-sync for
deb packages.
Post by Morgan Cox
Regards
Post by Morgan Cox
Thanks for that
Post by Simon Lukasik
Post by Morgan Cox
Post by Morgan Cox
Also where can I find the URL to add to the repos?
I mean when adding a repository in the spacewalk web gui - what URL
should I add for (as an example) debian squeeze - i.e
http://debian.org/debian/squeeze... etc
But your response kind of answers that - you don't.
So just to clarify...
Say I want debian squeeze - how can a setup the repo - I take it I
cant just make a local mirror of the debian repo and keep the same
structure i.e
/debian/pool/main
/debian/pool/non-free
You can have a whatever structure you have. You just need a bit of
scripting, like
find $mycooldirectory/ -name '*.deb' \
| xargs rhnpush -u admin --channel=$mycoolchannel
--server=$mycoolserver --
Post by Morgan Cox
i.e does it need all the packages in one directory - or can I point to
to a file in
http://ftp.debian.org/debian/dists/stable-updates/Contents-amd64.gz
and that contains the directory structure?
(sorry if this isn't making sense)
regards
Post by Morgan Cox
Post by Morgan Cox
Hi
Thanks for the response?
- How do you sync an apt channel at present ?
Actually, I do not have .deb based machines anymore.
But, you can download the packages to a directory and then use the
rhnpush tool in order to upload them to the server.
Post by Morgan Cox
- Also where can I find the URL to add to the repos?
I am sorry, I can't understand this question.
Post by Morgan Cox
- At present is spacewalk 1.7 capable of pushing updates to
debian/ubuntu clients?
Loading...