How to reuse YOU downloads
![](https://seccdn.libravatar.org/avatar/dfe06c8916c12ab0c01e5b0131dce989.jpg?s=120&d=mm&r=g)
I think this has been asked a lot before, but I cant find the information.. We just updated a SuSE 8.1 machine, and YOU downloaded a lot of RPMS to /var/lib.... Is there a procedure to reuse all that information and downloaded packages on a different machine? How can this be done? Thank you -------------------------------------------------------- Juan Torres
![](https://seccdn.libravatar.org/avatar/42f902b8fbca78fb20e925002af0a89e.jpg?s=120&d=mm&r=g)
On Tue, 2003-09-23 at 14:23, Juan Francisco Torres Chacón wrote:
I think this has been asked a lot before, but I cant find the information..
We just updated a SuSE 8.1 machine, and YOU downloaded a lot of RPMS to /var/lib....
Is there a procedure to reuse all that information and downloaded packages on a different machine?
How can this be done?
Thank you
-------------------------------------------------------- Juan Torres
Find is your friend here. find /var -name you -type d Will find the location you need. -- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998
![](https://seccdn.libravatar.org/avatar/dfe06c8916c12ab0c01e5b0131dce989.jpg?s=120&d=mm&r=g)
On Tue, 2003-09-23 at 14:23, Juan Francisco Torres Chacón wrote:
I think this has been asked a lot before, but I cant find the information..
We just updated a SuSE 8.1 machine, and YOU downloaded a lot of RPMS to /var/lib....
Is there a procedure to reuse all that information and downloaded
That was not exactly my question.
I just omitted the full path because it is too long and I didnt remember it,
but I know where all this is.
What I would like to know is how to use all those RPM packages on another
machine.
May be YOU can be redirected to a folder with all this?
Thanks
--------------------------------------------------------
Juan F
----- Original Message -----
From: "Ken Schneider"
on a different machine?
How can this be done?
Thank you
-------------------------------------------------------- Juan Torres
Find is your friend here.
find /var -name you -type d
Will find the location you need.
-- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
![](https://seccdn.libravatar.org/avatar/42f902b8fbca78fb20e925002af0a89e.jpg?s=120&d=mm&r=g)
On Tue, 2003-09-23 at 15:10, Juan Francisco Torres Chacón wrote:
That was not exactly my question.
I just omitted the full path because it is too long and I didnt remember it, but I know where all this is.
What I would like to know is how to use all those RPM packages on another machine.
You copy all of them to the other machine -OR- you export the directory and mount it on the other machine using nfs. Then tell YOU where to get them from. That you can find the answer to in YaST. Seems like a simple solution to me.
May be YOU can be redirected to a folder with all this?
Thanks
-------------------------------------------------------- Juan F
----- Original Message ----- From: "Ken Schneider"
To: Sent: Tuesday, September 23, 2003 1:21 PM Subject: Re: [SLE] How to reuse YOU downloads I think this has been asked a lot before, but I cant find the information..
We just updated a SuSE 8.1 machine, and YOU downloaded a lot of RPMS to /var/lib....
Is there a procedure to reuse all that information and downloaded
On Tue, 2003-09-23 at 14:23, Juan Francisco Torres Chacón wrote: packages
on a different machine?
How can this be done?
Thank you
-------------------------------------------------------- Juan Torres
Find is your friend here.
find /var -name you -type d
Will find the location you need.
-- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
![](https://seccdn.libravatar.org/avatar/e20e0dc27c992315fbb0409d415b2b15.jpg?s=120&d=mm&r=g)
I doing wget --mirror on ftp.suse.com/pub/suse/i386/update/8.2 through a CRON. Then exported the dir through NFS, even set up my own ftp server on <ip>/pub/suse/i386/update/8.2. Running YOU on a NFS mount or local hard disk is way faster then ftp... wget --mirror doesn't however clean up old files in the repositories, and before my disk crashed, I used to have a nifty scripts that compared the .listings files with the actual directory. I am pretty sure wget has a feature of doing that, but I never figured it out... /Magnus On Tue, 2003-09-23 at 12:10, Juan Francisco Torres Chacón wrote:
That was not exactly my question.
I just omitted the full path because it is too long and I didnt remember it, but I know where all this is.
What I would like to know is how to use all those RPM packages on another machine.
May be YOU can be redirected to a folder with all this?
Thanks
-------------------------------------------------------- Juan F
----- Original Message ----- From: "Ken Schneider"
To: Sent: Tuesday, September 23, 2003 1:21 PM Subject: Re: [SLE] How to reuse YOU downloads I think this has been asked a lot before, but I cant find the information..
We just updated a SuSE 8.1 machine, and YOU downloaded a lot of RPMS to /var/lib....
Is there a procedure to reuse all that information and downloaded
On Tue, 2003-09-23 at 14:23, Juan Francisco Torres Chacón wrote: packages
on a different machine?
How can this be done?
Thank you
-------------------------------------------------------- Juan Torres
Find is your friend here.
find /var -name you -type d
Will find the location you need.
-- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
![](https://seccdn.libravatar.org/avatar/851a3c5e1f11f380856bf7d3bd9137cb.jpg?s=120&d=mm&r=g)
Op woensdag 24 september 2003 17:56, schreef Magnus Hagebris:
wget --mirror doesn't however clean up old files in the repositories, and before my disk crashed, I used to have a nifty scripts that compared the .listings files with the actual directory. I am pretty sure wget has a feature of doing that, but I never figured it out...
You might be better of using "rsync". -- Richard Bos Without a home the journey is endless
![](https://seccdn.libravatar.org/avatar/861b5545c111d2257fa12e533e723110.jpg?s=120&d=mm&r=g)
The 03.09.23 at 13:23, Juan Francisco Torres Chacón wrote:
I think this has been asked a lot before, but I cant find the information..
We just updated a SuSE 8.1 machine, and YOU downloaded a lot of RPMS to /var/lib....
It is partly documented on the unofficial SuSE FAQ from this list. The idea is to setup a local mirror - which can be a CD, a dir for use with ftp or nfs, whatever. But, instead of refetching the rpm files, you already have them on the "you" path somewhere. So, read the doc about how to do a mirror. copy the rpms etc, but not the "patches" dir, one with small files with the patches description: this one you have to download directly from the server. After copying your local files, you might need to get a bunch of files from the server, depends. Let me see... I still have the script around - take it, "mutandis mutandi": echo Actualizando lista de parches ---------------------- rsync --archive --update --compress --delete -P \ ftp.gwdg.de::SuSE-8.1_update/patches/. \ /usr/local/update/i386/update/8.1/patches/. \ | tee /home/cer/rsync.81.patches.log echo Actualizando listas de ficheros -------------------- #rsync --archive --update --compress --size-only -vv --dry-run \ # ftp.gwdg.de::SuSE-8.1_update/rpm/i586/. \ # /usr/local/update/i386/update/8.1/rpm/i586/. | tee /home/cer/rsync.81.dryrun.rpm. #rsync --archive --update --compress --size-only -vv --dry-run \ # ftp.gwdg.de::SuSE-8.1_update/rpm/i686/. \ # /usr/local/update/i386/update/8.1/rpm/i686/. | tee /home/cer/rsync.81.dryrun.rpm. # #rsync --archive --update --compress --size-only -vv --dry-run \ # ftp.gwdg.de::SuSE-8.1_update/rpm/noarch/. \ # /usr/local/update/i386/update/8.1/rpm/noarch/. | tee /home/cer/rsync.81.dryrun.rp #rsync --archive --update --compress --size-only -vv --dry-run \ # ftp.gwdg.de::SuSE-8.1_update/rpm/nosrc/. \ # /usr/local/update/i386/update/8.1/rpm/nosrc/. | tee /home/cer/rsync.81.dryrun.rpm echo Actualizando rpm/i586 ------------------------------ rsync --archive --update --compress --size-only -vv -P \ --exclude-from=/home/cer/bin/rsync.81.exc \ ftp.gwdg.de::SuSE-8.1_update/rpm/i586/. \ /usr/local/update/i386/update/8.1/rpm/i586/. | tee /home/cer/rsync.81.rpm.i586 echo Actualizando rpm/i686 ----------------------------- rsync --archive --update --compress --size-only -vv -P \ --exclude-from=/home/cer/bin/rsync.81.exc \ ftp.gwdg.de::SuSE-8.1_update/rpm/i686/. \ /usr/local/update/i386/update/8.1/rpm/i686/. | tee /home/cer/rsync.81.rpm.i686 echo Actualizando rpm/noarch --------------------------- rsync --archive --update --compress --size-only -vv -P \ --exclude-from=/home/cer/bin/rsync.81.exc \ ftp.gwdg.de::SuSE-8.1_update/rpm/noarch/. \ /usr/local/update/i386/update/8.1/rpm/noarch/. | tee /home/cer/rsync.81.rpm.no echo Actualizando rpm/nosrc --------------------------- rsync --archive --update --compress --size-only -vv -P \ --exclude-from=/home/cer/bin/rsync.81.exc \ ftp.gwdg.de::SuSE-8.1_update/rpm/nosrc/. \ /usr/local/update/i386/update/8.1/rpm/nosrc/. | tee /home/cer/rsync.81.rpm.nos You see that I have sections commented out, because I already have them. First I downloaded the list of files with dry-run sessions, then I wrote the next sections. I have it divided in sections because I did not want to download the full update tree, my bandwidth is limited (modem). I used a "rsync.81.exc" file containing files to exclude: # Poner las reglas particulares antes + kdeaddons3-sound-3.0.4-4.i586.rpm # Paquetes que me faltan del tcl (no debe tener parches) + tcl-8.4-64.noarch.rpm + tcl-8.4-64.i586.rpm + itcl-3.3-41.i586.rpm + tk-8.4-64.i586.rpm *i586.rpm *i686.rpm k_psmp-2.4.19-167.i586.patch.rpm k_smp-* + susehelp_en* - susehelp_* + kde3-i18n-es-3.0.4-10.noarch.rpm - kde3-i18n-* - yast2-trans-de-2.6.24-0.noarch.rpm I will not bother to translate, ein? ;-)
Is there a procedure to reuse all that information and downloaded packages on a different machine?
I created a CD. Bad luck has it that you may need a file that you didn't download because the first machine doesn't need it, and the second does, depending on what it has installed.
How can this be done?
Read the FAQ doc on the mirror, it is the first step - saves me typing O:-) -- Cheers, Carlos Robinson
![](https://seccdn.libravatar.org/avatar/1a9af646da2d1aa9023e5dfbb7cd574d.jpg?s=120&d=mm&r=g)
On Wed, 24 Sep 2003 04:23 am, Juan Francisco Torres Chacón wrote:
We just updated a SuSE 8.1 machine, and YOU downloaded a lot of RPMS to /var/lib....
Is there a procedure to reuse all that information and downloaded packages on a different machine?
Back with Suse 7.3 or 8 I had a simple system going, all machines NFS mounted /var/lib/YaST/... off a central server. Whichever machine needed it first actually downloaded each patch and all subsequent machines simply found it already available. It all looked the same as YOU ran but the download phase happened almost instantly. Then Suse went to YaST2 and changed the location. I never bothered to find out where the patches were kept. Till now. It looks as if /var/lib/YaST2/you/mnt/ is a good mount point. Under that a fairly familiar tree branches out .../i386/update/8.2/rpm, patches and scripts Having found that out, I'll re-instate this on the cluster. But at home, I've been using the house squid to cache downloads. At home a network joins all computers to a Suse-server with a shared ADSL connection, which runs a squid web cache. Configure this into YaST:Network Services:Proxy as a URL ( for me this is: HTTP: http://brennan.localdomain:3128 FTP: http://brennan.localdomain:3128 ) and yast will use the squid It will cache all downloads and re-supply them at 100 Meg. Messier as we will end up with 3 copies of the patch, 1 in the squid cache, 1 in the workstation and 1 in the server's patch dir. Also depending on the squid's settings, it may not cache it (too big) or may dump it for lack of space. There's 2 more methods... michaelj -- Michael James michael.james@csiro.au System Administrator voice: 02 6246 5040 CSIRO Bioinformatics Facility fax: 02 6246 5166
![](https://seccdn.libravatar.org/avatar/861b5545c111d2257fa12e533e723110.jpg?s=120&d=mm&r=g)
The 03.09.24 at 12:13, Michael.James@csiro.au wrote:
It looks as if /var/lib/YaST2/you/mnt/ is a good mount point. Under that a fairly familiar tree branches out .../i386/update/8.2/rpm, patches and scripts
For SuSE 8.1 they were under: /var/lib/YaST2/you/i386/update/ For 8.2 they have changed again.
Having found that out, I'll re-instate this on the cluster.
Notice that the contents of the patches dir (not the rpms dir) for 8.1 (the original poster is asking about 8.1) are not the original patches files on the server, but they are modified by YOU after downloading and installing. I'm talking about those little files containing the patch info, not the rpm patches themselves. In the case of SuSE 8.2, this might be different, I have not checked yet; in the case they are identical to those on the server then they can be used to create a mirror or local update server. SuSE might think of developing a local YOU server: if there is a local copy, use it; if there isn't, retrieve it, all in a way transparent for other YOU sessions in the local intranet. -- Cheers, Carlos Robinson
participants (6)
-
Carlos E. R.
-
Juan Francisco Torres Chacón
-
Ken Schneider
-
Magnus Hagebris
-
Michael.James@csiro.au
-
Richard Bos