aleX Kiausch wrote on Thu, Jun 13, 2002 at 10:22:40PM +0200 : > Can anybody tell me how to update the cooker via internet (without > installing everytime new) can I use SoftDrake or urpmi?
1) Make a script to synchronize with a Cooker public mirror using something like rsync or wget and put it someplace where you have lots of free space. Maybe some directory like /work where /work is a 20 Gig partition or similar. The script should delete files that are no longer on the mirror (--delete in rsync). Run the script and give it a couple days to catch up (unless you have a really fast connection :) 2) Use urpmi.addmedia to point to the new rpms. I have "Main" pointing to /work/Mandrake-devel/cooker/i586/Mandrake/RPMS and I have "Contribs" pointing to /work/Mandrake-devel/contrib/i586. 3) Add to your script at the very end: urpmi.update -a This will make it read in the new list of RPMS after each new batch of rpms gets downloaded. 4) Now configure your script to run every few hours, something like two, three, or four times a day, using crontab. 5) Each morning when you login, run 'urpmi --auto-select' and it takes off. Be aware that there are MANY days where there are broken provides and conflicts between packages. Half of the battle is knowing which ones will cause problems and which ones are known issues. Voila. You now have a current Cooker system. Blue skies... Todd -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-19mdk
msg66184/pgp00000.pgp
Description: PGP signature
