Hi list,
I am trying to mirror the suse 10.1 distro locally to make it easier for me to install and update all our suse x86_64 boxes.
I have managed to use rsync to get a working mirror of Suse 10.1 which I used to install on a bunch of x86_64 servers.
I can do this with this rsync line:
rsync -avP --delete rsync://suse.mirrors.tds.net/opensuse-full/ /scratch/
The updates directory for updates to 10.1 don't seem to be in this rsync module. Does anyone know where the suse 10.1 updates are located and what the rsync line to mirror it would be ?
I found this on the suse site but can't seem to get my servers using yast to check for updates there any ideas?
http://suse.mirrors.tds.net/pub/suse/update/
thanks Rene
Rene Salmon rsalmon@tulane.edu writes:
Hi list,
I am trying to mirror the suse 10.1 distro locally to make it easier for me to install and update all our suse x86_64 boxes.
I have managed to use rsync to get a working mirror of Suse 10.1 which I used to install on a bunch of x86_64 servers.
I can do this with this rsync line:
rsync -avP --delete rsync://suse.mirrors.tds.net/opensuse-full/ /scratch/
The updates directory for updates to 10.1 don't seem to be in this rsync module. Does anyone know where the suse 10.1 updates are located and what the rsync line to mirror it would be ?
It's on ftp.suse.com and it's mirrors - and not on ftp.opensuse.com and it's mirrors.
I found this on the suse site but can't seem to get my servers using yast to check for updates there any ideas?
The path should be:
http://suse.mirrors.tds.net/pub/suse/update/10.1
Just register it,
Andreas
Hi,
Got another problem now. I have managed to mirror both opensuse 10.1 and the suse updates 10.1. I have them both on a www server on our internal network 10.0.x.x. I have several clients on our internal network that need to install and update from this www mirror i made.
When I try to add an intallation source via yast I always get this error message:
Unable to create installation source ? ?from URL 'http://10.0.0.9/pub/opensuse/opensuse/distribution/SL-10.1/inst-sour? ?Details: ? ?Cannot create the installation source ? ?Try again?
Is this related to the novell-zmd stuff that is running on the servers? Do I need to have this novell-zmd thing running? These are servers and no one but root needs to be able to install software so I don't really need novell-zmd right?
What I am missing here?
Thanks Rene
Andreas Jaeger wrote:
Rene Salmon rsalmon@tulane.edu writes:
Hi list,
I am trying to mirror the suse 10.1 distro locally to make it easier for me to install and update all our suse x86_64 boxes.
I have managed to use rsync to get a working mirror of Suse 10.1 which I used to install on a bunch of x86_64 servers.
I can do this with this rsync line:
rsync -avP --delete rsync://suse.mirrors.tds.net/opensuse-full/ /scratch/
The updates directory for updates to 10.1 don't seem to be in this rsync module. Does anyone know where the suse 10.1 updates are located and what the rsync line to mirror it would be ?
It's on ftp.suse.com and it's mirrors - and not on ftp.opensuse.com and it's mirrors.
I found this on the suse site but can't seem to get my servers using yast to check for updates there any ideas?
The path should be:
http://suse.mirrors.tds.net/pub/suse/update/10.1
Just register it,
Andreas
Rene Salmon rsalmon@tulane.edu writes:
Hi,
Got another problem now. I have managed to mirror both opensuse 10.1 and the suse updates 10.1. I have them both on a www server on our internal network 10.0.x.x. I have several clients on our internal network that need to install and update from this www mirror i made.
When I try to add an intallation source via yast I always get this error message:
Unable to create installation source ? ?from URL 'http://10.0.0.9/pub/opensuse/opensuse/distribution/SL-10.1/inst-sour?
Double check the path.
?Details: ? ?Cannot create the installation source ? ?Try again?
Is this related to the novell-zmd stuff that is running on the servers? Do I need to have this novell-zmd thing running? These are servers and no one but root needs to be able to install software so I don't really need novell-zmd right?
You do not need novell-zmd running, you can just disable it,
Andreas
Hi,
I noticed the typo on the path also. The path is correct it was just a typo on the copy and paste I did to the email the path is:
http://10.0.0.9/pub/opensuse/opensuse/distribution/SL-10.1/inst-source
I can't seem to add this as an installation source with yast. I did an rsync of 10.1 then I started the http server on the box and I can go to http://10.0.0.9/pub/opensuse/opensuse/distribution/SL-10.1/inst-source
from a client machine and see the files just fine. I am missing something? Should I be starting some other yast service? Is there a way to enable debug on the yast client so that I can get more info on to why its failing. All I get is "Cannot create the installation source" How can I get more detailed info as to why its failing.
Thanks
Rene
When I try to add an intallation source via yast I always get this error message:
Unable to create installation source ? ?from URL 'http://10.0.0.9/pub/opensuse/opensuse/distribution/SL-10.1/inst-sour?
Double check the path.
?Details: ? ?Cannot create the installation source ? ?Try again?
Is this related to the novell-zmd stuff that is running on the servers? Do I need to have this novell-zmd thing running? These are servers and no one but root needs to be able to install software so I don't really need novell-zmd right?
You do not need novell-zmd running, you can just disable it,
Andreas
Hi,
I have some updates on this.
I started up the novell-zmd stuff on my suse 10.1 www server with the suse mirror in its local partition /scratch
The I did a:
rug sd 1 rug sd 1
finally a :
rug sl
showed nothing
next I added the local dir to the www server like this: rug sa --type=zypp dir:///scratch/pub/opensuse/opensuse/distribution/SL-10.1/inst-source opensuse-local
then I subscribed to it like this:
rug subscribe opensuse-local
after this I started up yast and the installations sources just appeared and now it works fine.
The problem I am having now is with the suse clients that need to access the local suse mirror via http. I tried the same aproach as above but I get this error message when I try to add the repo.
/root# rug sa --type=zypp http://10.0.0.9/pub/opensuse/opensuse/distribution/SL-10.1/inst-source opensuse-local
Adding zypp service...
0%
ERROR: Could not add 'http://10.0.0.9/pub/opensuse/opensuse/distribution/SL-10.1/inst-source': Failed to parse XML metadata: Can't add repository at http://10.0.0.9/pub/opensuse/opensuse/distribution/SL-10.1/inst-source: Cannot create the installation source
any ideas? Thanks Rene
Andreas Jaeger wrote:
Rene Salmon rsalmon@tulane.edu writes:
Hi,
Got another problem now. I have managed to mirror both opensuse 10.1 and the suse updates 10.1. I have them both on a www server on our internal network 10.0.x.x. I have several clients on our internal network that need to install and update from this www mirror i made.
When I try to add an intallation source via yast I always get this error message:
Unable to create installation source ? ?from URL 'http://10.0.0.9/pub/opensuse/opensuse/distribution/SL-10.1/inst-sour?
Double check the path.
?Details: ? ?Cannot create the installation source ? ?Try again?
Is this related to the novell-zmd stuff that is running on the servers? Do I need to have this novell-zmd thing running? These are servers and no one but root needs to be able to install software so I don't really need novell-zmd right?
You do not need novell-zmd running, you can just disable it,
Andreas
I just noticed that on my www server that when yast tries to add a repo it looks for this:
/pub/opensuse/opensuse/distribution/SL-10.1/inst-source/repodata/repomd.xml HTTP/1.1" 404 1040 "-" "Novell ZYPP I nstaller"
There is no such repodata folder or xml file either in suse.mirrors.tds.net nor on my local copy of it.
could this be part of the problem? why is yast looking for it?
thanks Rene
Andreas Jaeger wrote:
Rene Salmon rsalmon@tulane.edu writes:
Hi,
Got another problem now. I have managed to mirror both opensuse 10.1 and the suse updates 10.1. I have them both on a www server on our internal network 10.0.x.x. I have several clients on our internal network that need to install and update from this www mirror i made.
When I try to add an intallation source via yast I always get this error message:
Unable to create installation source ? ?from URL 'http://10.0.0.9/pub/opensuse/opensuse/distribution/SL-10.1/inst-sour?
Double check the path.
?Details: ? ?Cannot create the installation source ? ?Try again?
Is this related to the novell-zmd stuff that is running on the servers? Do I need to have this novell-zmd thing running? These are servers and no one but root needs to be able to install software so I don't really need novell-zmd right?
You do not need novell-zmd running, you can just disable it,
Andreas
Hi,
Finally fixed the problem. Here is what I did in case some else is interested.
1) install suse 10.1 2) upgrade the broken yast libzypp rpms from suse/update/10.1 just download the rpms and do an rpm -Uhv or something. 3) Also install createrepo rpm 4) all I did now was run createrepo
cd /scratch/pub/opensuse/opensuse/distribution/SL-10.1/inst-source createrepo .
5) now i can add my local suse mirror as a install source. /root# rug sa --type=zypp http://10.0.0.9/pub/opensuse/opensuse/distribution/SL-10.1/inst-source/ opensuse-local
/root# rug subscribe opensuse-local Subscribed to 'opensuse-local'
Any idea why the SL-10.1/inst-source/repodata dir and files are not on the main opensuse site so that they can be part of the mirror?
This worked for me but is there a better way? Any one else having problems with yast?
thanks Rene
Rene Salmon wrote:
I just noticed that on my www server that when yast tries to add a repo it looks for this:
/pub/opensuse/opensuse/distribution/SL-10.1/inst-source/repodata/repomd.xml HTTP/1.1" 404 1040 "-" "Novell ZYPP I nstaller"
There is no such repodata folder or xml file either in suse.mirrors.tds.net nor on my local copy of it.
could this be part of the problem? why is yast looking for it?
thanks Rene
Andreas Jaeger wrote:
Rene Salmon rsalmon@tulane.edu writes:
Hi,
Got another problem now. I have managed to mirror both opensuse 10.1 and the suse updates 10.1. I have them both on a www server on our internal network 10.0.x.x. I have several clients on our internal network that need to install and update from this www mirror i made.
When I try to add an intallation source via yast I always get this error message:
Unable to create installation source ? ?from URL 'http://10.0.0.9/pub/opensuse/opensuse/distribution/SL-10.1/inst-sour?
Double check the path.
?Details: ? ?Cannot create the installation source ? ?Try again?
Is this related to the novell-zmd stuff that is running on the servers? Do I need to have this novell-zmd thing running? These are servers and no one but root needs to be able to install software so I don't really need novell-zmd right?
You do not need novell-zmd running, you can just disable it,
Andreas
On Tue, 2006-08-01 at 15:07 -0500, Rene Salmon wrote:
Hi,
Finally fixed the problem. Here is what I did in case some else is interested.
- install suse 10.1
- upgrade the broken yast libzypp rpms from suse/update/10.1
just download the rpms and do an rpm -Uhv or something. 3) Also install createrepo rpm 4) all I did now was run createrepo
cd /scratch/pub/opensuse/opensuse/distribution/SL-10.1/inst-source createrepo .
- now i can add my local suse mirror as a install source.
/root# rug sa --type=zypp http://10.0.0.9/pub/opensuse/opensuse/distribution/SL-10.1/inst-source/ opensuse-local
/root# rug subscribe opensuse-local Subscribed to 'opensuse-local'
Any idea why the SL-10.1/inst-source/repodata dir and files are not on the main opensuse site so that they can be part of the mirror?
This worked for me but is there a better way? Any one else having problems with yast?
thanks Rene
It is my understanding the repodata is used for the updates: http://10.0.0.9/pub/opensuse/opensuse/updates/10.1/ (or where the updates folder resides).
I have the boxed version 10.1 and here is where my repodata is located: http://mirrors.kernel.org/suse/update/10.1/
Hope that helps!
t o n y