[opensuse-buildservice] DoD: ignore specific versions of a package
Hi, we are currently experiencing a problem with a mirror that contains two versions of a single package: git-core-doc-2.14.5-1 git-core-doc-2.17.2-2 but only git-core-2.17.2-2 and thus, obs complains: nothing provides git-core-doc = 2.17.2-2 needed by git since that seems to confuse dodup; it doesn't download any version of git-core-doc. Is there a way to convince it to ignore git-core-doc-2.14.5-1? -- kind regards, Carsten Hoeger Engineering Services Email: carsten.hoeger@open-xchange.com ------------------------------------------------------------------------------ Open-Xchange AG, Hohenzollernring 72, 50672 Cologne, District Court Cologne HRB 95366 Managing Board: Rafael Laguna de la Vera, Carsten Dirks, Michael Knapstein, Stephan Martin Chairman of the Board: Richard Seibt European Office: Open-Xchange GmbH, Olper Huette 5f, D-57462 Olpe, Germany, District Court Siegen, HRB 8718 Managing Director: Frank Hoberg US Office: Open-Xchange. Inc., 530 Lytton Avenue, Palo Alto, CA 94301, USA ------------------------------------------------------------------------------ -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tue, Dec 03, 2019 at 02:26:38PM +0100, Carsten Höger wrote:
Hi,
we are currently experiencing a problem with a mirror that contains two versions of a single package:
git-core-doc-2.14.5-1 git-core-doc-2.17.2-2
That shouldn't be a problem, bs_dodup should select the higher version.
but only
git-core-2.17.2-2
and thus, obs complains:
nothing provides git-core-doc = 2.17.2-2 needed by git
since that seems to confuse dodup; it doesn't download any version of git-core-doc.
Please check the :full.solv file (dumpsolv :full.solv) and/or the :full/doddata file (obs_admin --dump :full/doddata). Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi Michael,
On 3. Dec 2019, at 14:42 , Michael Schroeder <mls@suse.de> wrote:
we are currently experiencing a problem with a mirror that contains two versions of a single package:
git-core-doc-2.14.5-1 git-core-doc-2.17.2-2
That shouldn't be a problem, bs_dodup should select the higher version.
but only
git-core-2.17.2-2
and thus, obs complains:
nothing provides git-core-doc = 2.17.2-2 needed by git
since that seems to confuse dodup; it doesn't download any version of git-core-doc.
Please check the :full.solv file (dumpsolv :full.solv) and/or the :full/doddata file (obs_admin --dump :full/doddata).
I did that already using the strings command and it contains both, using obs_admin, I see 'git-core-doc.x86_64' => { 'buildhost' => 'build.amazon.com', 'name' => 'git-core-doc', 'provides' => [ 'git-core-doc = 2.14.5-1.amzn2', 'git-core-doc(x86-64) = 2.14.5-1.amzn2' ], 'release' => '1.amzn2', 'version' => '2.14.5', 'type' => 'rpm', 'buildtime' => '1539726550', 'checksum' => 'sha256:a3389f4e1b114c3277b2a4ba51cfa6839f3d912e9abc4908145e057af39f406b', 'filetime' => '1540340403', 'path' => 'git-core-doc-2.14.5-1.amzn2.x86_64.rpm', 'arch' => 'x86_64', 'source' => 'git', 'requires' => [ 'git-core = 2.14.5-1.amzn2' ] }, 'git-core-doc.noarch' => { 'provides' => [ 'git-core-doc = 2.17.2-2.amzn2' ], 'buildhost' => 'build.amazon.com', 'name' => 'git-core-doc', 'version' => '2.17.2', 'release' => '2.amzn2', 'buildtime' => '1545158270', 'filetime' => '1545172037', 'checksum' => 'sha256:4730e47c5518e64f401302fae9f8ee98e71085f7561721c1fd21f5f7a15eba6b', 'type' => 'rpm', 'source' => 'git', 'path' => 'git-core-doc-2.17.2-2.amzn2.noarch.rpm', 'arch' => 'noarch', 'requires' => [ 'git-core = 2.17.2-2.amzn2' ] }, so one is noarch and onx x86_64 might that be the problem? -- kind regards, Carsten Hoeger Engineering Services Email: carsten.hoeger@open-xchange.com ------------------------------------------------------------------------------ Open-Xchange AG, Hohenzollernring 72, 50672 Cologne, District Court Cologne HRB 95366 Managing Board: Rafael Laguna de la Vera, Carsten Dirks, Michael Knapstein, Stephan Martin Chairman of the Board: Richard Seibt European Office: Open-Xchange GmbH, Olper Huette 5f, D-57462 Olpe, Germany, District Court Siegen, HRB 8718 Managing Director: Frank Hoberg US Office: Open-Xchange. Inc., 530 Lytton Avenue, Palo Alto, CA 94301, USA ------------------------------------------------------------------------------ -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tue, Dec 03, 2019 at 03:24:51PM +0100, Carsten Höger wrote:
so one is noarch and onx x86_64
might that be the problem?
Yes, you'll need to update perl-BSSolv to make it work. You need the following commit: commit 0416944cf8dcd8b98d8ed321fe8fb7c600ce4372 Author: Michael Schroeder <mls@suse.de> Date: Mon Aug 26 14:28:35 2019 +0200 Fix noarch handling in create_considered We already did some noarch handling, but failed to do a version comparison if one package was noarch and the other arch dependant. We now do the version comparison first. Please install the current version from OBS:Server:Unstable. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Carsten Höger
-
Michael Schroeder