On 10/19/2010 07:36 PM, Philipp Thomas wrote:
BTW, what do you use createrepo for?
I have done a lot of work on a set of scripts that maintain a local repository of my opensuse installs on my local server. The scripts handle the collection and rsync of installed/updated packages from from /var/cache/zypp/packages to a local server, separates all packages into openSUSE_11.X and factory_11.X repositories, cleans the repo of old versions and then rebuilds and signs the repositories... and then builds html pages for the packages with repoview. The original directory structure from /var/cache/zypp/packages is then moved from / to /home/back/rpms/suse_11.X on the local box (to get the storage off /) where the original structure is parsed for duplicates/old versions which are then moved to /home/back/rpms/suse_11.X-old. That way if I ever have to reload after a hdw failure (or if I royally screw something up), I simply use my local repo to re-install with all updates already current without using a bit of bandwidth. Plus, I'm protected when a release hits eol and suse pulls all the repos before I have time or a reason to reinstall all my boxes. Further, on the local box I have /home/back/rpms/suse_11.X-old in case an update for the current release breaks something and the working versions of the packages on build service no longer exist. (kernel:/HEAD is a prime example) So -- without createrepo working correctly, my little scheme kind of falls apart... -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org