On Monday 06 December 2010 13:36:35 Lars Volker wrote:
The zypper version is very old on SLES10 and does not seem to support the lock-managing commands. sles10:~ # rpm -qa | grep zypp zypper-0.6.200-0.4.49 libzypp-2.100.3-0.4.23 libzypp-zmd-backend-7.1.1.0_2.16-0.4.46
The concept in this old zypp version is slightly different. Zypp just distinguishes between known (trusted) and unknown (foreign) vendor. Packages from unknown vendor are locked to prevent them from being damaged (removed or replaced by known vendor packages). This happens on a per package base, so it does not depend on the repository that provides the package, but soleley on the packages vendor string. [libzypp.changes] - Allow configuration of trusted vendors via /var/lib/zypp/db/trustedVendors. (#186636) - version 2.15.4 So if all packages in you repo use a common vendor string, you could unprotect them by creating an entry in /var/lib/zypp/db/trustedVendors. [http://old-en.opensuse.org/Standards/Libzypp_Store#db.2FtrustedVendors] An optional configuration file extending the builtin list of trusted aka known vendors. In contrary to packages from known vendors, installed packages from unknown vendors are by default protected. Libzypp will not delete or update them automaticaly. The user has to unlock them in order to change their state. The file defines a list of vendor patterns, one per line. If a pattern matches the initial portion of a vendor string (case insensitive), the vendor is considered as trusted or known. Empty lines and lines beginning with '#' are ignored. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres ZYPP Development ma@suse.de SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org