I am looking for some advice on deciding an installation and maintenance strategy for openSuse 11.0
I currently have 4 Pc’s all running different distributions of various ages and I want to bring all PC’s under a common OS with identical software components and service levels. (i.e. When an installation or service update occurs on 1 PC it will be migrated to all the others too).
My Internet connection is ADSL (2 Mb download/128K upload) with a 3GB per month cap.
Because of the connection cap I see it as imperative to capture every RPM file downloaded and use them to create a local repo for updating the other PC’s.
Therefore I think my question is which is the best package manager for me to use?
I have used YAST up till now on the openSUSE 10.0 system I have running and have noted that it does seem to capture the RPM files in a cache structure at /var/adm/YaST/InstSrcManager/IS_CACHE_0x0000000?/MEDIA/suse/*/xxxxxxxxxx.rpm however I believe from reading the forums that YAST no longer maintains that local cache.
Any advice and comment on the advisability of trying to maintain my own repos is welcome.
The smart package manager will, with the correct setting, keep installed rpms on one’s PC. The setting is “smart config --set remove-packages=false”
I’ve read in 11.0, that zypper will also do this. I have not experimented with this yet, but there is purportedly a flag in zypper that will allow downloaded/installed rpms to remain in zypper’s cache.
Having give careful thought to the all the input I have received I am going to go with zypper … will have to do a little research (next week after I have my hands on 11.0 DVD) to see how the -k -K options work but that’s no problem.
Finally … I found this blog that demystifies a lot of software maintenance issues especially for sites with multiple PC’s.
One thing I have not found out to my satisfaction is whether or not YAST2 also uses zypper as a backend. Do any of the oldhands here know the answer to this one?
Back to my original question … “How to ensure dowloaded RPM’s arenot flushed from the cache?” … I have found a standards document that describes the .repo files that are used by some package managers and stored in /etc/zypp/repos.d.
It specifically says:
keeppackages - if set to ‘1’, the packages downloaded from repository will be kept in a cache on the local disk. If the value is set to ‘0’, the packages will be removed after the commit transaction finishes. (supported since libzypp-4.2.7)
So all in all I have it sorted. Last thing will be to find where the cache is but even I should be able to work that out.