Jay Mistry wrote: <snip>
Is there a way to do this for the Yast > Software > Software Management / Yast > Software > Online Repositories ?
There isn't a way to do it with Yast (at least in 11.0 and by 11.1 I was so used to just using zypper, I never looked)
Alternately, will doing the above through zypper CLI work (ensure packages are stored locally) when I install packages through Yast Software Management module ?
Thanks,
Jay
Yes, that's the beauty of using 'zypper mr -k <repo alias>' to modify your existing repository files to enable the permanent saving of all updates/(or regular package rpms) that you install. To enable the same behavior when you are adding new repositories, just use 'zypper ar -k <repo URL> <repo alias>'. Both accomplish the exact same thing which is simply to set the keeppackages=1 parameter in the repository configuration files located in /etc/zypp/repos.d/*. (The repository files have a .repo 'extension', for lack of better words) Each repository you have added to your system has a very short config file located under the /etc/zypp/repos.d/ directory that controls the repository attributes for its name, alias, refresh behavior, etc. and whether rpms from that repository are cached (the keeppackages=0/1 parameter). The files are just text files that you can edit with any text editor if you want to set everything up by hand. An example of a repo file is: 00:10 alchemy:~> cat /etc/zypp/repos.d/updatesgwdg.repo [updatesgwdg] name=updatesgwdg baseurl=ftp://ftp5.gwdg.de/pub/opensuse/update/11.0/ type=rpm-md enabled=0 autorefresh=1 gpgcheck=1 keeppackages=1 Changing keeppackages=1 to keeppackages=0 *disables* rpm caching, changing keeppackages=0 to keeppackages=1 *enables* rpm caching. Here is where I think your question was headed. Once you modify the /etc/zypp/repos.d/ config file for a repository -- then it *doesn't* matter whether you use zypper (in/up) or Yast to install or update packages, the rpms are saved under /var/cache/zypp/packages/ (default dir) for later use. The config file that controls 'where' the rpms are saved is /etc/zypp/zypp.conf. It's well documented and will let you further tailor how and where the cached rpms are saved. Once you set things up with zypper (or by simply editing the config files) you can go back to using yast and your rpms are still saved. (Basically yast package management just uses zypper anyway) It is really a slick and simple system when you take a closer look at it. I'm sure some day in the future there will be a GUI interface that lets you set all the individual parameter for the repo conf files, but for now, it's simple enough just to do it from the command line -- and like most, once you start using the command line interface (CLI) to manage one part of your system, you usually end up getting hooked and find out just how many other things you can tweak/manage from the CLI that there simply is no GUI interface to. HTHs, Cheers -- 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