Mailinglist Archive: zypp-devel (149 mails)

< Previous Next >
Re: [zypp-devel] vendor
  • From: Stefan Schubert <schubi@xxxxxxx>
  • Date: Tue, 02 Sep 2008 10:02:24 +0200
  • Message-id: <48BCF310.8070800@xxxxxxx>
Martin Vidner schrieb:
Hi,

I have tried to update oS 11.0 to SLES 11 Alpha2 using zypper dup.
The proposed transaction only contained a dozen of packages, and it
turned out that zypp thinks the SLES packages have no vendor
specified. Is that a known bug? (Or a "feature"?)

Consequently the solver thought that I would be changing the vendor
of all packages and did not allow to update them.
So I thought never mind, there I see a mention of "vendors.d" in the
log file where I should be able to say that the empty vendor is
Empty vendors are bad. Repo error ? Could you please generate a testcase ?
equivalent to "SUSE LINUX Products GmbH, Nuernberg, Germany".

But there is no documentation :(
It is documented in the zypp.conf:
##
## Defining directory which contains vendor description files.
##
## One file in this directory reflects a group of equivalent vendors. 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 (like strncmp, case-insensitive)
## 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

(And after reading the code I suspect that it is unusable because it
assumes the vendor name does not contain a comma.)
You only need the "beginning" of the string. See the docu above.
Is this supposed to work at all?
Yes. :-)

Greetings
Stefan

--
*******************************************************************************
Stefan Schubert
SUSE LINUX GmbH - Maxfeldstrasse 5 - D-90409 Nuernberg, Germany
e-mail: schubi@xxxxxxx
-------------------------------------------------------------------------------
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)


--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
References