Hi all, I am trying to figure out how to build a localised YOU repository for the Suse 9.1 patches.... I am constantly having to re-pull patches, so a local copy would benefit both myself, and I guess SuSE in general due to lower bandwidth use. Can anyone point me in the direction of help ? I have looked at /etc/youservers and have seen in Yast where I can set it to use an NFS directory, but I am stuck now... Where do I get the updates from ??? - ie, can I rsync a specific folder nightly to maintain the local copy ??? Where do the updates need storing ? (I guess this is irrelevant as if I have the local copy, I can export it via NFS and then specify that patch in Yast. Can anyone point me in the right direction please ?? Richard
* Richard Curtis;
Hi all, Suse 9.1 patches.... I am constantly having to re-pull patches, so a local copy would benefit both myself, and I guess SuSE in general due to lower bandwidth use.
Can anyone point me in the direction of help ?
http://susefaq.sourceforge.net/howto/you_local.html it should work for 9.1 as well ( adjust paths as necessary along with servers -- Togan Muftuoglu | Unofficial SuSE FAQ Maintainer | Please reply to the list; http://susefaq.sf.net | Please don't put me in TO/CC. Nisi defectum, haud refiecendum
On Friday 23 July 2004 11:41, Richard Curtis wrote:
Hi all, I am trying to figure out how to build a localised YOU repository for the Suse 9.1 patches.... I am constantly having to re-pull patches, so a local copy would benefit both myself, and I guess SuSE in general due to lower bandwidth use.
Can anyone point me in the direction of help ? I have looked at /etc/youservers and have seen in Yast where I can set it to use an NFS directory, but I am stuck now...
Where do I get the updates from ??? - ie, can I rsync a specific folder nightly to maintain the local copy ???
Where do the updates need storing ? (I guess this is irrelevant as if I have the local copy, I can export it via NFS and then specify that patch in Yast.
Can anyone point me in the right direction please ??
Richard I thought of the same thing here for a couple machines. I think that if you left the updates on a master machine and did an nfs share on the dir you could point the other machines there. The dir is something like /var/tmp/ you-machine_name. HTH. Mike -- From my SuSe Linux Desktop
Linux, Because rebooting is for new hardware!
Fredag 23 juli 2004 18:16 kvad ka1ifq:
On Friday 23 July 2004 11:41, Richard Curtis wrote:
Hi all, I am trying to figure out how to build a localised YOU repository for the Suse 9.1 patches.... I am constantly having to re-pull patches, so a local copy would benefit both myself, and I guess SuSE in general due to lower bandwidth use.
Can anyone point me in the direction of help ? I have looked at /etc/youservers and have seen in Yast where I can set it to use an NFS directory, but I am stuck now...
Where do I get the updates from ??? - ie, can I rsync a specific folder nightly to maintain the local copy ???
Where do the updates need storing ? (I guess this is irrelevant as if I have the local copy, I can export it via NFS and then specify that patch in Yast.
Can anyone point me in the right direction please ??
Richard
I thought of the same thing here for a couple machines. I think that if you left the updates on a master machine and did an nfs share on the dir you could point the other machines there. The dir is something like /var/tmp/ you-machine_name. HTH. Mike -- From my SuSe Linux Desktop
Linux, Because rebooting is for new hardware!
Good day, I think the path is /var/lib/YaST2/you/mnt This is the easier way if Richard's machines are all the same architecture, CPU and all use the same software as the master machine, or a subset thereof. If not, Togans pointer is better. Best regards :o) Johnny :o)
On Fri, 23 Jul 2004 16:41:09 +0100
Richard Curtis
Hi all, I am trying to figure out how to build a localised YOU repository for the Suse 9.1 patches.... I am constantly having to re-pull patches, so a local copy would benefit both myself, and I guess SuSE in general due to lower bandwidth use.
Can anyone point me in the direction of help ? I have looked at /etc/youservers and have seen in Yast where I can set it to use an NFS directory, but I am stuck now...
Where do I get the updates from ??? - ie, can I rsync a specific folder nightly to maintain the local copy ???
Where do the updates need storing ? (I guess this is irrelevant as if I have the local copy, I can export it via NFS and then specify that patch in Yast.
Can anyone point me in the right direction please ??
Richard
*********** Hi, This little script will download the complete 9.1 update site. You must first create this directories../mnt/i386/update/9.1/ and rsync will create the rest. Now the dots after 9.1/. are required. To avoid downloading all the source dirs you may create an --exclude list. I strongly suggest that you make an exclude list. There is a lot of stuff there. I used this when I was using 9.0 with an --exclude list with success. The script stays the same only the version change. I made a quick test before posting and it worked . The first time will take .. many .. hours but next time only changed files will be downloaded. I assume that you know how to update from a local directory. Note that there is a reason the way the local dirs is created..yast will not accept it otherwise. This script is modified to be without the exclude list. rsync -auvv --stats -- delete ftp.gwdg.de::pub/linux/suse/ftp.suse.com/suse/i386/update/9.1/. /mnt/i386/update/9.1/. Goodluck. Should you require more info .. feel free to ask. -- Johan Sch Registered Linux User #330034 May this be a good day for learning
*********** Hi, This little script will download the complete 9.1 update site. You must first create this directories../mnt/i386/update/9.1/ and rsync will create the rest. Now the dots after 9.1/. are required. To avoid downloading all the source dirs you may create an --exclude list. I strongly suggest that you make an exclude list. There is a lot of stuff there. I used this when I was using 9.0 with an --exclude list with success. The script stays the same only the version change. I made a quick test before posting and it worked . The first time will take .. many .. hours but next time only changed files will be downloaded. I assume that you know how to update from a local directory. Note that there is a reason the way the local dirs is created..yast will not accept it otherwise. This script is modified to be without the exclude list.
rsync -auvv --stats -- delete ftp.gwdg.de::pub/linux/suse/ftp.suse.com/suse/i386/update/9.1/. /mnt/i386/update/9.1/.
Goodluck. Should you require more info .. feel free to ask.
I have failed on this one because my firewall appears not to like the port 873 forward. Is there anyway to make it work with a socks proxy? -- Tim Nicholson http://www.bbc.co.uk/ - World Wide Wonderland This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this.
On Wed, 28 Jul 2004 14:57:59 +0100
Tim Nicholson
*********** Hi, This little script will download the complete 9.1 update site. You must first create this directories../mnt/i386/update/9.1/ and rsync will create the rest. Now the dots after 9.1/. are required. To avoid downloading all the source dirs you may create an --exclude list. I strongly suggest that you make an exclude list. There is a lot of stuff there. I used this when I was using 9.0 with an --exclude list with success. The script stays the same only the version change. I made a quick test before posting and it worked . The first time will take .. many .. hours but next time only changed files will be downloaded. I assume that you know how to update from a local directory. Note that there is a reason the way the local dirs is created..yast will not accept it otherwise. This script is modified to be without the exclude list.
rsync -auvv --stats -- delete ftp.gwdg.de::pub/linux/suse/ftp.suse.com/suse/i386/update/9.1/. /mnt/i386/update/9.1/.
Goodluck. Should you require more info .. feel free to ask.
I have failed on this one because my firewall appears not to like the port 873 forward.
Is there anyway to make it work with a socks proxy?
-- Tim Nicholson
***************** I am really sorry but I only have a workstation and a gateway with suse firewall setup. The above works fine for me on my setup. I have no knowledge of proxies. Trust some one on list may be able to assist you with the proxy issue. Regards -- Johan Sch Registered Linux User #330034 May this be a good day for learning
On Wed, 28 Jul 2004 14:57:59 +0100
Tim Nicholson
*********** Hi, This little script will download the complete 9.1 update site. You must first create this directories../mnt/i386/update/9.1/ and rsync will create the rest. Now the dots after 9.1/. are required. To avoid downloading all the source dirs you may create an --exclude list. I strongly suggest that you make an exclude list. There is a lot of stuff there. I used this when I was using 9.0 with an --exclude list with success. The script stays the same only the version change. I made a quick test before posting and it worked . The first time will take .. many .. hours but next time only changed files will be downloaded. I assume that you know how to update from a local directory. Note that there is a reason the way the local dirs is created..yast will not accept it otherwise. This script is modified to be without the exclude list.
rsync -auvv --stats -- delete ftp.gwdg.de::pub/linux/suse/ftp.suse.com/suse/i386/update/9.1/. /mnt/i386/update/9.1/.
Goodluck. Should you require more info .. feel free to ask.
I have failed on this one because my firewall appears not to like the port 873 forward.
Is there anyway to make it work with a socks proxy?
-- Tim Nicholson
*********************************** Hi Tim , Not a lot of replies coming by .. I suggest you join the rsync maillist ( I am a member of the list) for a while and I am sure you will get the correct info. The maintainer of rsync is also active on that list. Here is some leads to that list..I am not on line now and can only supply the info from incoming post downloaded.. To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- Johan Sch Registered Linux User #330034 May this be a good day for learning
Johan Sch wrote:
*********** Hi, This little script will download the complete 9.1 update site. You must first create this directories../mnt/i386/update/9.1/ and rsync will create the rest. Now the dots after 9.1/. are required. To avoid downloading all the source dirs you may create an --exclude list. I strongly suggest that you make an exclude list. There is a lot of stuff there. I used this when I was using 9.0 with an --exclude list with success. The script stays the same only the version change. I made a quick test before posting and it worked . The first time will take .. many .. hours but next time only changed files will be downloaded. I assume that you know how to update from a local directory. Note that there is a reason the way the local dirs is created..yast will not accept it otherwise. This script is modified to be without the exclude list.
rsync -auvv --stats -- delete ftp.gwdg.de::pub/linux/suse/ftp.suse.com/suse/i386/update/9.1/. /mnt/i386/update/9.1/.
Goodluck. Should you require more info .. feel free to ask.
ftp.gwdg.de only seems to have 8.2 and 8.1 repositories listed, any other rsync servers people know of with 9.0 on them? -- Tim Nicholson http://www.bbc.co.uk/ - World Wide Wonderland This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this.
Tim Nicholson said:
ftp.gwdg.de only seems to have 8.2 and 8.1 repositories listed, any other rsync servers people know of with 9.0 on them?
ftp.gwdg.de does have upate with 9.0 and 9.l it's just that they are net setup explicitely with rsync, there is a more generic "share" on rsync, I think it may be called SuSE, this is my rsync fetch command: rsync -tvrl --stats --exclude=*.src.rpm --delete ftp.gwdg.de::SuSE/suse_update/9.1/ /home/SuSE/i386/update/9.1/ David -- David Bottrill david@bottrill.org www.bottrill.org Registered Linux user number 330730
Today at 12:57pm, David Bottrill wrote:
think it may be called SuSE, this is my rsync fetch command:
rsync -tvrl --stats --exclude=*.src.rpm --delete ftp.gwdg.de::SuSE/suse_update/9.1/ /home/SuSE/i386/update/9.1/
You may also want to specify '--exclude=*.spm', otherwise you'll get a bunch of symbolic links in the src directory to excluded .src.rpm files. Or, you might be able to say '--exclude=*/src/*' and catch both type of file name in one pattern. (I haven't tried this.) Jim
Tim Nicholson wrote:
ftp.gwdg.de only seems to have 8.2 and 8.1 repositories listed, any other rsync servers people know of with 9.0 on them?
Hmmm. Actually it does, but it doesn't list it when you do a simple rsync with no source path, but it does list the others.... -- Tim Nicholson http://www.bbc.co.uk/ - World Wide Wonderland This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this.
On Mon, 02 Aug 2004 11:46:31 +0100
Tim Nicholson
Johan Sch wrote:
*********** Hi, This little script will download the complete 9.1 update site. You must first create this directories../mnt/i386/update/9.1/ and rsync will create the rest. Now the dots after 9.1/. are required. To avoid downloading all the source dirs you may create an --exclude list. I strongly suggest that you make an exclude list. There is a lot of stuff there. I used this when I was using 9.0 with an --exclude list with success. The script stays the same only the version change. I made a quick test before posting and it worked . The first time will take .. many .. hours but next time only changed files will be downloaded. I assume that you know how to update from a local directory. Note that there is a reason the way the local dirs is created..yast will not accept it otherwise. This script is modified to be without the exclude list.
rsync -auvv --stats --delete ftp.gwdg.de::pub/linux/suse/ftp.suse.com/suse/i386/update/9.1/. /mnt/i386/update/9.1/.
Goodluck. Should you require more info .. feel free to ask.
ftp.gwdg.de only seems to have 8.2 and 8.1 repositories listed, any other rsync servers people know of with 9.0 on them?
-- Tim Nicholson
wrong..have a look at this link . it is the same as above except :: replaced by / and another ftp. for rsync the one as stated..is correct and I tested it again now..copy the rsync as root to your command line .. after you created those files as instructed it will work unless your system way otherwise than mine. ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/suse/i386/update/ This link will show you al the versions available. -- Johan Sch Registered Linux User #330034 May this be a good day for learning
On Sat, 24 Jul 2004 01:41 am, Richard Curtis wrote:
I am trying to figure out how to build a localised YOU repository for the Suse 9.1 patches.... I am constantly having to re-pull patches, so a local copy would benefit both myself, and I guess SuSE in general due to lower bandwidth use.
If you have many machines to keep updated, set up a shared distribution and patches repository. I keep it in: /home/Source/Suse/i386 In this are distribution CDs for all the SuSE versions I am currently interested in thusly: suse:/etc # ls -l /home/Source/SuSE/i386/ dr-xr-xr-x 7 root root 664 2002-09-14 08:45 8.1/ dr-xr-xr-x 7 root root 664 2003-03-20 00:47 8.2/ dr-xr-xr-x 8 root root 784 2003-09-25 06:01 9.0/ drwxrwxrwx 7 root root 792 2004-06-01 10:02 9.1/ drwxr-xr-x 3 root root 72 2004-06-08 15:56 9.1-source/ drwxr-xr-x 6 root root 144 2003-09-24 15:42 contrib/ drwxr-xr-x 6 root root 144 2004-06-01 10:25 update/ This is the directory structure you will find on SuSEservers. It contains an "update" directory with patches for current versions: suse:/etc # ls -l /home/Source/SuSE/i386/update/ total 0 drwxr-xr-x 5 root root 120 2003-09-22 15:38 8.1 drwxr-xr-x 5 root root 120 2003-09-23 11:17 8.2 drwxr-xr-x 4 root root 96 2003-11-12 15:15 9.0 drwxr-xr-x 5 root root 120 2004-06-01 10:25 9.1 NFS export this (rw no_root_squash) to all interested (trustable) machines. This is my /etc/exports line: /home/Source 10.0.0.0/8(rw,async,no_subtree_check,no_root_squash) Start /etc/init.d/nfs-server NFS import it on all client machines, put this in /etc/fstab suse:/home/Source /home/Source nfs nosuid,async,soft 0 0 And start /etc/init.d/nfs If you have Susefirewall2 running, modify /etc/sysconfig/SuSEfirewall2 to allow sunrpc # Common: smtp domain #FW_SERVICES_EXT_TCP="ssh smtp domain http sunrpc" # Common: domain FW_SERVICES_EXT_UDP="domain ntp sunrpc" Run /etc/init.d/SuSEfirewall2_final reload To make each machine share patches: cd /var/lib/YaST2/you This is where updates are kept mv mnt mnt.old in a directory called "mnt" ln -s /home/Source/SuSE mnt which must contain "i386/" rsync -au mnt.old/ mnt/ copy in patches you already have rm -r mnt.old Not needed any more. Also use YaST to set your distribution source to the appropriate local directory say: /home/Source/SuSE/i386/9.1/ You will never have to load another CD to install another package and once one machine has downloaded a patch the others will get it at local network speeds. ONLY UPDATE ONE MACHINE AT A TIME, or they will squabble over saving the download. michaelj -- Michael James michael.james@csiro.au System Administrator voice: 02 6246 5040 CSIRO Bioinformatics Facility fax: 02 6246 5166
participants (9)
-
David Bottrill
-
Jim Cunning
-
Johan Sch
-
Johnny Ernst Nielsen
-
ka1ifq
-
Michael James
-
Richard Curtis
-
Tim Nicholson
-
Togan Muftuoglu