Bug 624320

Summary: zypper install NAME-VERSION-RELEASE.ARCH selects random packages
Product: [openSUSE] openSUSE 11.3 Reporter: Marcus Meissner <meissner>
Component: libzyppAssignee: Jan Kupec <jkupec>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P2 - High CC: aj, cyberorg, forgotten_zOWss6Gs9u, jengelh, jsmeix, ma
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard: maint:released:11.3:37206
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: zypper.solverTestCase.tar.bz2
zypper.log

Description Marcus Meissner 2010-07-21 14:32:05 UTC
the following commands pulls in tuxguitar and perl-Set-Crontab plus their dependencies for now obvious reason. Wine has no relation to tuxguitar.

$ zypper install wine-1.2-5.1.x86_64
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: wine-32bit-1.1.49_1.2rc6-2.1.i586 requires wine = 1.1.49_1.2rc6, but this requirement cannot be provided
 Solution 1: install wine-32bit-1.2-5.1.i586 (with vendor change)
  openSUSE  -->  obs://build.opensuse.org/home:msmeissn
 Solution 2: do not install wine-1.2-5.1.x86_64
 Solution 3: break wine-32bit by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/3/c] (c): 1
Resolving dependencies...
Resolving package dependencies...

The following NEW packages are going to be installed:
  lash-libs libfluidsynth1 libswt3-gtk2 perl-Set-Crontab timidity tuxguitar tuxguitar-debuginfo tuxguitar-debugsource wine-devel 

The following packages are going to be upgraded:
  wine wine-32bit 

The following packages are going to change vendor:
  wine        openSUSE -> obs://build.opensuse.org/home:msmeissn
  wine-32bit  openSUSE -> obs://build.opensuse.org/home:msmeissn


2 packages to upgrade, 9 new, 2  to change vendor.
Overall download size: 34.4 MiB. After the operation, additional 47.0 MiB will be used.
Continue? [y/n/?] (y):
Comment 1 Marcus Meissner 2010-07-21 14:33:44 UTC
Created attachment 377484 [details]
zypper.solverTestCase.tar.bz2

solver testcase
Comment 2 Michael Schröder 2010-07-21 14:57:21 UTC
Is that a dup of #607482? Is this bug still not fixed yet? Michael/Jano, please investigate...
Comment 3 Jan Kupec 2010-07-21 15:21:35 UTC
I guess not - that would yield much wilder result :O) Can you please add also zypper.log?
Comment 4 Marcus Meissner 2010-07-21 15:24:21 UTC
Created attachment 377495 [details]
zypper.log

as reqiuested
Comment 5 Michael Andres 2010-07-22 14:15:59 UTC
@Jano: Don't know what you are doing, but 

 Install U_Tu_(13395)perl-Set-Crontab-1.02-5.1.x86_64(11.3)
 Install U_Tu_(14461)tuxguitar-1.2-5.1.x86_64(11.3)
 Install U_Tu_(27656)tuxguitar-debuginfo-1.2-5.1.x86_64(11.3-debug)
 Install U_Tu_(27657)tuxguitar-debugsource-1.2-5.1.x86_64(11.3-debug)
 Install U_Tu_(29350)wine-1.2-5.1.x86_64(Wine)
 Install U_Tu_(29353)wine-devel-1.2-5.1.x86_64(Wine)

I'd say you select everything that has a version '1.2-5.1'. So similar to bug #614362 (and #607482), but this time with version, not arch.


Maybe zypper should require libzypp-7.8.0 and use 

   PoolQuery q;
   q.addDependency( sat::SolvAttr::name, "wine",
                    Rel::EQ, Edition("1.2-5.1"),
                    Arch("x86_64") 0;
Comment 6 Michael Andres 2010-07-26 10:22:08 UTC
*** Bug 625390 has been marked as a duplicate of this bug. ***
Comment 7 Andreas Jaeger 2010-07-26 11:05:10 UTC
Any update on this one?  this looks like a serious regression from openSUSE 11.2 that should be fixed via online update.
Comment 9 Jan Kupec 2010-07-26 18:03:25 UTC
Currently i'm so tired that i even don't remember clearly whether we supported someting like name-version.arch as the package argument in 11.2, but i have a feeling we did not - which would mean no regression. I hope simple name or name-version work alright.

I will try to fix it ASAP anyway of course, but currently i'm busy with other stuff :O(
Comment 10 Michael Andres 2010-07-27 09:34:23 UTC
I'm busy too, but I'll spend today on investigating and fixing it if possible.
Comment 11 Michael Andres 2010-07-27 13:15:52 UTC
*** Bug 614362 has been marked as a duplicate of this bug. ***
Comment 12 Michael Andres 2010-07-27 14:40:12 UTC
fixed with zypper-1.4.7
Comment 13 Marcus Meissner 2010-07-27 14:45:17 UTC
reopen for maintenance update
Comment 14 Marcus Meissner 2010-07-27 14:46:09 UTC
maintenance update?
Comment 15 Christian Dengler 2010-07-29 15:26:58 UTC
+1 for an update
Comment 16 Leonardo Chiquitto 2010-08-04 17:59:30 UTC
I think it's important to fix, +1 (although I'm not sure if it's better to wait for more zypper/libzypp issues to appear).
Comment 17 Michael Andres 2010-08-05 14:38:00 UTC
*** Bug 625634 has been marked as a duplicate of this bug. ***
Comment 18 Jan Kupec 2010-08-23 15:32:52 UTC
*** Bug 632743 has been marked as a duplicate of this bug. ***
Comment 19 Marcus Meissner 2010-09-06 05:44:27 UTC
chris, lets just start it there ... dont wait for libzypp (if unrelated).
Comment 20 Christian Dengler 2010-09-07 11:21:05 UTC
done: softwaremgmt update (libyzpp, zypper, zypper-qt-pkg)

Are 11.2 and 11.1 also affected by this bug?
Comment 21 Jan Kupec 2010-09-08 19:00:10 UTC
no, only 11.3. I guess we can close this report now. Thanx a lot guys!
Comment 22 Jan Kupec 2010-10-07 14:08:03 UTC
Christian, i don't see zypper in 11.3 update repos. Did this get lost somewhere? Seems people are stuck with zypper-1.4.5 on 11.3.
Comment 24 Jigish Gohil 2010-10-14 05:42:44 UTC
This is not fixed in 11.3, please close after an update is released
Comment 25 Jigish Gohil 2010-10-14 05:43:06 UTC
*** Bug 614362 has been marked as a duplicate of this bug. ***
Comment 27 Jan Kupec 2010-10-14 16:10:33 UTC
Chris?
Comment 28 Marcus Meissner 2010-10-14 16:15:39 UTC
We do not want to break the update stack, it one of the things we cannot fix
via online update. 

SO I would suggest still waiting for a QA slot.

You can already help by adding the -test repo and installing this update.

(zypper at least works, and I verified that this specific bug is no longer there.)
Comment 29 Marcus Meissner 2010-10-14 16:16:38 UTC
(Especially as the update also brings a new libzypp and yast2-qt-pkg and fixes
lots of more bugs.)
Comment 30 Christian Dengler 2010-10-15 13:13:56 UTC
My opinion is also to wait.

People who need it urgently can use the version from the update-test repo and provide feedback ;-)
Comment 32 Christian Dengler 2010-10-18 12:56:45 UTC
Okay. Update rejected. Be so kind and submit a new patchinfo and the new fixed sources for bug 647214 by using the old SwampID 34988.
Comment 33 Jan Kupec 2010-10-19 15:49:18 UTC
I added two more bug fixes and submitted new patchinfo. Cannot submit the package, since i can't create submitrequest from zypp:Code11_3-Branch. But if you can fetch it from there, the package is ready (zypper 1.4.8).
Comment 34 Jan Kupec 2010-10-20 09:09:48 UTC
$ osc sr openSUSE:11.3:Update -m "swamp 34988"
created request id 51112
Comment 35 Swamp Workflow Management 2010-12-02 09:52:22 UTC
Update released for: libsatsolver, libsatsolver-debugsource, libsatsolver-demo, libsatsolver-demo-debuginfo, libsatsolver-devel, libsatsolver-devel-debuginfo, libzypp, libzypp-bindings, libzypp-debuginfo, libzypp-debugsource, libzypp-devel, perl-satsolver, perl-satsolver-debuginfo, perl-zypp, python-satsolver, python-satsolver-debuginfo, python-zypp, ruby-satsolver, ruby-satsolver-debuginfo, ruby-zypp, satsolver-tools, satsolver-tools-debuginfo, yast2-qt-pkg, yast2-qt-pkg-debuginfo, yast2-qt-pkg-debugsource, zypper, zypper-debuginfo, zypper-debugsource
Products:
openSUSE 11.3 (debug, i586, x86_64)
Comment 36 Johannes Meixner 2010-12-08 13:17:14 UTC
*** Bug 658206 has been marked as a duplicate of this bug. ***
Comment 37 Jan Kupec 2011-01-27 14:59:39 UTC
released