[softwaremgmt] How /etc/zypp/vendors.d works?
From my installed Packman packages, some use vedor string "http://packman.links2linux.de", some use "packman.links2linux.de", and one of them uses "Packman". Recently an update changed the vendor from "http://packman.links2linux.de" to "packman.links2linux.de" and so zypper up -t package didn't see it. In /etc/zypp/zypp.conf can be read: ## ## Defining directory for equivalent vendors ## ## Valid values: A directory ## Default value: {configdir}/vendors.d ## # vendordir = /etc/zypp/vendors.d
So, can I make libzypp interpret the three string like a single vendor? If so, how? I create the vendors.d dir (since the rpm package doesn't) and... what I'm exactly supposed to put inside it? Between, is /etc/zypp/zypp.conf updated? I though patchrpm were not used anymore, but zypp.conf still contains a "download.use_patchrpm" example. -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org
Christian Morales Vega schrieb:
From my installed Packman packages, some use vedor string "http://packman.links2linux.de", some use "packman.links2linux.de", and one of them uses "Packman". Recently an update changed the vendor from "http://packman.links2linux.de" to "packman.links2linux.de" and so zypper up -t package didn't see it. In /etc/zypp/zypp.conf can be read: ## ## Defining directory for equivalent vendors ## ## Valid values: A directory ## Default value: {configdir}/vendors.d ## # vendordir = /etc/zypp/vendors.d
So, can I make libzypp interpret the three string like a single vendor? If so, how? I create the vendors.d dir (since the rpm package doesn't) and... what I'm exactly supposed to put inside it?
Yes, that's a good question about a bad ducumentation. I have added some comments: ## ## Defining directory for equivalent vendors ## ## One file in this directory reflects a group of equivalent vendors. e.G.: ## e.G. (filename = nvidia): ## ------------------------- file contains begin ----------------------- ## [main] ## ## vendors = nvidia,suse,opensuse ## ## ------------------------- file contains end ----------------------- ## ## Valid values: A directory ## Default value: {configdir}/vendors.d ## # vendordir = /etc/zypp/vendors.d
Between, is /etc/zypp/zypp.conf updated? I though patchrpm were not used anymore, but zypp.conf still contains a "download.use_patchrpm" example.
Hm, there is some code in libzypp which asks for this flag. mls, ma should know if it is still supported. As far I know it is not supported anymore. -- ******************************************************************************* Stefan Schubert SUSE LINUX GmbH - Maxfeldstrasse 5 - D-90409 Nuernberg, Germany e-mail: schubi@suse.de ------------------------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org
participants (2)
-
Christian Morales Vega
-
Stefan Schubert