On Thursday 10 November 2011 11:20:10 Rieke, Manuel wrote:
Thank you for your Help I noticed this Parameter as well, but it does not work for me:
# zypper lr No repositories defined. .. # zypper-own --config /opt/zypper-own/etc/zypp/zypp.conf ar ... # zypper lr # | Alias | Name | Enabled | Refresh --+-----------+-----------+---------+-------- 1 | sles11sdk | sles11sdk | Yes | No
There are 2 configs: - /etc/zypp/zypper.conf (for zypper) - /etc/zypp/zypp.conf (for libzypp) The zypper manpage is a bit missleading, you actually can't overwrite libzypp options in zypper.conf. Location of repositories, metadata, etc. are properties of the software management as a whole. They apply to zypper as well as PackageKit or YaST, thus they are controlled by libzypp (zypp.conf), which is the common library those applications use. There is no way to use a different zypp.conf. .. unless you read through the code and find the name of the ZYPP_CONF environment variable we use to redirect libzypp to a different config file for testing. Using two different zypp.confs for maintaining the same system is neither advisable nor supported. Be sure you have backups at hand. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres SUSE LINUX Products GmbH, Development, ma@suse.de GF:Jeff Hawn,Jennifer Guild,Felix Imendörffer, HRB16746(AG Nürnberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org