I update my system almost on a daily basis with YOU on-line feature. The RPM patches end up in the /var/lib/....../8.0/<various> sub-directories (I think :-)). I want to apply these patches to another copy of the SuSE V8.0 system (my testbed) and not have to go thru the whole on-line update process again. Could someone please point me to the place where I can find information on how I can achieve this or give me an outline of how to do this. I've looked in the SDB but can't even find what the command line to apply one of these patches looks like (eg, is it rpm -Uvh --nodeps <name>.rpm or is it without the --nodeps?). I can see in the sub-directories that the patches are dated (according to the date they were downloaded and applied) so I guess that one condition for applying the patches would be in date order otherwise an earlier patch may overwrite a later patch which corrected the first one - or am I misunderstanding things? Or can i put all the patches into the one directory and then apply (say) RPM -Uvh *.rpm to the lot? Any help gratefully appreciated (as I would like to re-install v8.0, recompile the kernel and then apply the patches). Cheers.
This is how I do. May be someone have a better solution but it works fine for me so far. I use wget to keep a mirror of one of the mirrors updat on my own harddisk. Crontab runs this twice a week (thats enough for me). This is the line as crontab -l shows it: "20 3 * * 3,6 /usr/bin/wget --mirror --no-host-directories --cut-dirs=7 --directory-prefix=/suse/i386/update ftp://ftp.sunet.se/pub/Linux/distributions/suse/suse/i386/update/8.0" Then I have disabled Yast to upload a list of mirrors by changing in /etc/sysconfig/onlineupdate to 'YAST2_LOADFTPSERVER="no"' On the clients I added a line to /etc/suseservers: "nfs://192.168.0.1/suse" before all ftp lines. this makes 192.168.0.1 default server for updating. I hope this can be an alternative for you. Nils-Olov
On Tue, Aug 06, 2002 at 03:19:45PM +0200, Nils-Olov Fransson wrote:
This is how I do. May be someone have a better solution but it works fine for me so far.
I use wget to keep a mirror of one of the mirrors updat on my own harddisk. Crontab runs this twice a week (thats enough for me). This is the line as crontab -l shows it: "20 3 * * 3,6 /usr/bin/wget --mirror --no-host-directories --cut-dirs=7 --directory-prefix=/suse/i386/update ftp://ftp.sunet.se/pub/Linux/distributions/suse/suse/i386/update/8.0"
Then I have disabled Yast to upload a list of mirrors by changing in /etc/sysconfig/onlineupdate to 'YAST2_LOADFTPSERVER="no"'
On the clients I added a line to /etc/suseservers: "nfs://192.168.0.1/suse" before all ftp lines. this makes 192.168.0.1 default server for updating.
How *very* nifty !-) This I gotta try... ;) Jon Clausen
Nils-Olov Fransson wrote:
This is how I do. May be someone have a better solution but it works fine for me so far.
I use wget to keep a mirror of one of the mirrors updat on my own harddisk. Crontab runs this twice a week (thats enough for me). This is the line as crontab -l shows it: "20 3 * * 3,6 /usr/bin/wget --mirror --no-host-directories --cut-dirs=7 --directory-prefix=/suse/i386/update ftp://ftp.sunet.se/pub/Linux/distributions/suse/suse/i386/update/8.0"
Then I have disabled Yast to upload a list of mirrors by changing in /etc/sysconfig/onlineupdate to 'YAST2_LOADFTPSERVER="no"'
On the clients I added a line to /etc/suseservers: "nfs://192.168.0.1/suse" before all ftp lines. this makes 192.168.0.1 default server for updating.
I hope this can be an alternative for you.
Nils-Olov
Thanks for this information but I think that it goes far beyond what I do with my system. I'll keep it mind for when I progress further along my learning curve in dealing with Linux. Cheers.
On Tuesday 06 August 2002 11:59, Basil Chupin wrote:
I update my system almost on a daily basis with YOU on-line feature. The RPM patches end up in the /var/lib/....../8.0/<various> sub-directories (I think :-)). I want to apply these patches to another copy of the SuSE V8.0 system (my testbed) and not have to go thru the whole on-line update process again.
I managed to do this by copying the directories (/var/lib/YaST/patches/i386/update/8.0/) from a patched machine to the new machine. Then I ran Yast2 as normal, and it seemed to work because it thought it already had the files. Good luck! Jon
Le Mardi 6 Août 2002 19:16, Jon a écrit / wrote :
On Tuesday 06 August 2002 11:59, Basil Chupin wrote:
I update my system almost on a daily basis with YOU on-line feature. The RPM patches end up in the /var/lib/....../8.0/<various> sub-directories (I think :-)). I want to apply these patches to another copy of the SuSE V8.0 system (my testbed) and not have to go thru the whole on-line update process again.
I managed to do this by copying the directories (/var/lib/YaST/patches/i386/update/8.0/) from a patched machine to the new machine. Then I ran Yast2 as normal, and it seemed to work because it thought it already had the files.
Yes i do the same on different machines and it works just fine : just copying directories and their patch.rpms and run Yast2 do the trick ! Francis
participants (5)
-
Basil Chupin
-
Francis Allouchery
-
Jon
-
Jon Clausen
-
Nils-Olov Fransson