Mailinglist Archive: zypp-devel (3 mails)

< Previous Next >
Re: [zypp-devel] Relation between Products and <dist>-release package
Thanks, it works as detailed below now.

Anas

On 29/07/2013 03:38, "Michael Andres" <ma@xxxxxxx> wrote:

On Friday 26 July 2013 20:35:09 Nashif, Anas wrote:
Hi,

There seem to be a hard dependency between product definition and the
<dist>-release package, when the release-package is updated, the
product is
being removed:

Reading installed packages...
Computing distribution upgrade...

The following product is going to be REMOVED:
XXXX


Is the ­release package a special package that can't be updated or am I
missing something here?

Expected is a 1-1 releation between a product (.prod file in
/etc/products.d/)
and it's release package (actually the package containing the .prod file).

As the .prod file is included in a package, the repo metadata need to
contain
an abstract of the product metadata (at lest everything required to
properly
resolve the product).

As Jiri mentioned, these data are shipped in eiter repodata/products.xml
(rpmmd repo format) or in the content file (suse repo).

For each product version in the repo, its coresponding -release package
is
found by looking for the package providing:

Provides: product()
Provides: product(<PRODUCTNAME>) = <PRODUCTVERSION>-<PRODUCTRELEASE>

<PRODUCTNAME>, <PRODUCTVERSION> and <PRODUCTRELEASE> in the package
provides
and in the repos product metadata must match the products data stored in
the .prod file included in the release package.


Without product metadata or the linking Provides: the resolver does not
see
that the product is continued when the -release package is updated.


--

cu,
Michael Andres

+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres SUSE LINUX Products GmbH, Development, ma@xxxxxxx
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@xxxxxxxxxxxx
To contact the owner, e-mail: zypp-devel+owner@xxxxxxxxxxxx


--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: zypp-devel+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation
This Thread
  • No further messages