Funny, Klaus Kaempf has had almost the same request. So I have added: ## ## Defining directory for equivalent vendors ## ## One file in this directory reflects a group of equivalent vendors. e.G.: ## e.G. (filename is "nvidia" but could be any other name): ## ------------------------- file contains begin ----------------------- ## [main] ## ## vendors = nvidia,suse,opensuse ## ## ------------------------- file contains end ----------------------- ## Libzypp makes an string comparision whereas the beginning of the ## strings are compared only. e.G. vendor "opensuse11.0" is compatible to "opensuse". ## ## Valid values: A directory ## Default value: {configdir}/vendors.d ## # vendordir = /etc/zypp/vendors.d Christian Morales Vega schrieb:
2008/7/8 Stefan Schubert <schubi@suse.de <mailto:schubi@suse.de>>:
Christian Morales Vega schrieb: > From my installed Packman packages, some use vedor string > "http://packman.links2linux.de", some use "packman.links2linux.de <http://packman.links2linux.de>", > and one of them uses "Packman". Recently an update changed the vendor > from "http://packman.links2linux.de" to "packman.links2linux.de <http://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
Now is clearer, thanks. But, the comma separated strings must be the full vendor string? If a vendor is "Star Trek films" and another vendor is "Star Wars films". A vendors file with "vendors = Star Trek,Star Wars" whould make both vendors equivalents, or I need to use "vendors = Star Trek films,Star Wars films"? I ask because official packages use "SUSE LINUX Products GmbH, Nuernberg, Germany". Since this vendor string has commas... there is some way to make another vendor equivalent to the official one?
> 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.
I only asked in case the file was outdated and the vendors.d function wasn't available anymore. Isn't really important.
-- ******************************************************************************* 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