create your own apt repository! - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html) +--- Forum: Tips and Tricks (https://www.linux-noob.com/forums/forum-59.html) +---- Forum: Updating Linux (https://www.linux-noob.com/forums/forum-25.html) +---- Thread: create your own apt repository! (/thread-3717.html) |
create your own apt repository! - hijinks - 2004-01-18 My job only has a T1 line and we have around 100 RH servers that need to stay updated. If there are upgrades to apply it will quickly saturate the line for a period of time and I could space out all of the upgrade times but that is no fun. So what do I do? I create my own apt mirror from an offical RH mirror site. I use rsync. Here is the contents of my script. Code: #!/bin/sh that will create an apt updates directory. I also have a RPMS.os dir there all the rpms that come on the 3 cd's are placed. As you can see that script will grab all the rpms but not grab any src.rpm files. Doing things this way only grabs a file once per upgrade. If i did normal upgrades it would need to do that 100 times |