Bug 308252

Summary: online update broken for arch specific updates
Product: [openSUSE] openSUSE 10.3 Reporter: Christoph Thiel <cthiel>
Component: libzyppAssignee: Stefan Schubert <schubi>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Blocker    
Priority: P5 - None CC: aj, coolo, meissner, ro, robin.knapp, schubi
Version: Beta 3   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: trying to update kdepim3 and kernel-default -> nothing
solver testcase
Testcase with splitted updates
Tescase after clean installation

Description Christoph Thiel 2007-09-06 15:11:45 UTC
It's impossible to install any online update on Beta3 from http://download.opensuse.org/update/10.3/

Rudi and myself were both unable to install any patch. 

Currently there are at least 3 relevant patches released: kdepim3, kernel and libzypp.


How to reproduce: Install beta3 and try to install updates.
Comment 1 Marcus Meissner 2007-09-06 15:21:36 UTC
it only was finished putpatching now.... can you try just now?
Comment 2 Christoph Thiel 2007-09-06 15:43:58 UTC
We have actually been testing against you.suse.de -- I just wanted to publish a description, that could be reproduced outside the suse network ;)
Comment 4 Stephan Kulow 2007-09-06 17:25:19 UTC
Giving it a bit easier to parse summary :)
Comment 6 Stanislav Visnovsky 2007-09-07 07:00:34 UTC
Which way of online update does not work for you?

1) zypper
2) YOU
3) updater applets
4) all of them?
Comment 8 Stephan Kulow 2007-09-07 07:51:46 UTC
I just checked with my beta3. Zypper update updates as first update-test-affects-package-manager, but doesn't seem to see the libzypp update.

After that zypper update would update all other updates nincluding the kernel-bigsmp-2.6.22.5-12 (no idea why it ignores the kernel-default I have installed too). I cancelled that and will test kde applet now
Comment 11 Marcus Meissner 2007-09-07 07:54:54 UTC
kernel-4233 is not selected nor listed for installation.

kernel-default-2.6.22.5-10 is installed,
kernel-default-2.6.22.5-12 is in the patch.

zypper and YOU show this behaviour.

I guerss this should be sufficient.
Comment 12 Stephan Kulow 2007-09-07 08:03:26 UTC
Created attachment 162611 [details]
trying to update kdepim3 and kernel-default -> nothing 

I see basically the same
Comment 13 Stanislav Visnovsky 2007-09-07 08:07:27 UTC
Created attachment 162613 [details]
solver testcase

zypper up --debug-solver

libzypp installed: 3.22.1-3
libzypp in patch: 3.22.1-5

Zypper reports: nothing to do

Expected: libzypp update
Comment 14 Stefan Schubert 2007-09-07 09:26:33 UTC
The bug is here:

ResolverContext::itemIsPresent(<UI_s_>U__s_[S2:0][atom]kdepim3-3.5.7.enterprise.0.20070831.706868-8.i586) N
ResolverContext::itemIsPresent(<UU_s_>U__s_[S2:0][atom]kdepim3-3.5.7.enterprise.0.20070831.706868-8.ppc) Y
ResolverInfo<NEEDED_BY> atom:kdepim3-3.5.7.enterprise.0.20070831.706868-8.ppc[update]
 ResolverContext[0xb57ee30]::addInfo(ResolverInfo<NEEDED_BY> atom:kdepim3-3.5.7.enterprise.0.20070831.706868-8.ppc[update]atom:kdepim3-3.5.7.enterprise.0.20070831.706868-8.ppc[update] is needed by kdepim3 ([atom] (namedcap) kdepim3 == 3.5.7.enterprise.0.20070831.706868-8))
ResolverContext::requirementIsMet([atom] (namedcap) kdepim3 == 3.5.7.enterprise.0.20070831.706868-8) Y
Comment 15 Robin Knapp 2007-09-07 10:26:59 UTC
Might be a duplicate of Bug 305204
Comment 16 Stefan Schubert 2007-09-07 11:06:01 UTC
RequirementIsMet: return true only if ALL Atoms are NOT incomplete; 
Testcase added in testsuite.
Comment 17 Stephan Kulow 2007-09-07 12:08:33 UTC
Michael or Stefan will submit a fixed version and Marcus already prepared the patchinfo.
Comment 18 Andreas Jaeger 2007-09-07 14:21:14 UTC
How will users see this?  Update manually?
Comment 19 Stanislav Visnovsky 2007-09-07 14:25:00 UTC
a) zypper in libzypp
b) start YOU/package mgmt, select the version in the details tab (if already pre-selected, select again) - this worked for me.
Comment 20 Andreas Jaeger 2007-09-07 14:29:36 UTC
Could you send an email to opensuse-testing and opensuse-factory explaining users what to do so that we get the testing for this?

Thanks!
Andreas
Comment 21 Robin Knapp 2007-09-07 14:30:10 UTC
How about a noarch patch (which works iirc) which calls a script which updates libzypp?
Comment 22 Marcus Meissner 2007-09-07 14:32:14 UTC
\relax 

coolo,mls,schubi and myself are trying something already.
Comment 23 Stephan Kulow 2007-09-07 14:40:01 UTC
@#18: by a regular online update - don't believe the topic :)
Comment 24 Marcus Meissner 2007-09-07 15:30:25 UTC
We just released 3 seperate libzypp patches, one for each architecture.

This will bring libzypp to a working state.

(If we need to release another libzypp update during beta3 we will need to 
do the same splitting.)
Comment 25 Robin Knapp 2007-09-07 17:18:06 UTC
No, this hasn't been fixed.
The separate Updates are not being offered here:

vmware:~ # zypper se libzypp
* Reading installed packages [100%]

S | Repository                 | Type    | Name                         | Version   | Arch
--+----------------------------+---------+------------------------------+-----------+-----
v | openSUSE-10.3-OSS-KDE 10.3 | package | libzypp                      | 3.22.1-3  | i586
v | Factory                    | package | libzypp                      | 3.22.1-3  | i586
v | openSUSE-10.3-Updates      | package | libzypp                      | 3.13.13-4 | i586
i | openSUSE-10.3-Updates      | package | libzypp                      | 3.22.1-5  | i586
v | openSUSE-10.3-Updates      | package | libzypp                      | 3.22.1-8  | i586
  | Factory                    | package | libzypp-devel                | 3.22.1-3  | i586
  | openSUSE-10.3-Updates      | package | libzypp-devel                | 3.13.13-4 | i586
  | openSUSE-10.3-Updates      | package | libzypp-devel                | 3.22.1-5  | i586
  | openSUSE-10.3-Updates      | package | libzypp-devel                | 3.22.1-8  | i586
  | Factory                    | package | libzypp-testsuite-tools      | 3.14.12-5 | i586
  | Factory                    | package | libzypp-testsuite-tools-data | 3.14.12-5 | i586
vmware:~ # zypper lu
* Reading repository 'openSUSE-10.3-Updates' cache
* Reading repository 'Factory' cache
* Reading repository 'KDE4' cache
* Reading repository 'openSUSE-10.3-OSS-KDE 10.3' cache
* Reading installed packages [100%]

No updates found.
vmware:~ # zypper pch
* Reading repository 'openSUSE-10.3-Updates' cache
* Reading repository 'Factory' cache
* Reading repository 'KDE4' cache
* Reading repository 'openSUSE-10.3-OSS-KDE 10.3' cache
* Reading installed packages [100%]

Repository:           | Name                                | Version | Category    | Status
----------------------+-------------------------------------+---------+-------------+---------------
openSUSE-10.3-Updates | kdepim3                             | 4231-0  | security    | Not Applicable
openSUSE-10.3-Updates | kernel                              | 4078-0  | security    | Not Applicable
openSUSE-10.3-Updates | kernel                              | 4233-0  | recommended | Not Applicable
openSUSE-10.3-Updates | kmps                                | 4077-0  | recommended | Not Applicable
openSUSE-10.3-Updates | libzypp                             | 4047-0  | recommended | Not Applicable
openSUSE-10.3-Updates | libzypp                             | 4232-0  | recommended | Not Applicable
openSUSE-10.3-Updates | libzyppi386                         | 4234-0  | recommended | Not Applicable
openSUSE-10.3-Updates | libzyppppc                          | 4236-0  | recommended | Not Applicable
openSUSE-10.3-Updates | libzyppx8664                        | 4235-0  | recommended | Not Applicable
openSUSE-10.3-Updates | sax2                                | 4134-0  | recommended | Not Needed
openSUSE-10.3-Updates | update-test-affects-package-manager | 2609-0  | recommended | Not Applicable
openSUSE-10.3-Updates | update-test-interactive             | 2625-0  | recommended | Not Applicable
openSUSE-10.3-Updates | update-test-optional                | 2627-0  | optional    | Not Applicable
openSUSE-10.3-Updates | update-test-reboot-needed           | 2628-0  | recommended | Not Applicable
openSUSE-10.3-Updates | update-test-security                | 2629-0  | security    | Not Applicable
openSUSE-10.3-Updates | update-test-trival                  | 2626-0  | recommended | Not Applicable
Comment 26 Robin Knapp 2007-09-07 17:20:08 UTC
Created attachment 162780 [details]
Testcase with splitted updates
Comment 27 Robin Knapp 2007-09-07 17:26:53 UTC
Just figured out that I already installed the first libzypp update, but even downgrading libzypp to the original beta3 version didn't help.
Comment 28 Robin Knapp 2007-09-07 17:30:26 UTC
Just FYI, after upgrading libzypp to the updated version manually, patches are shown => Fixed in libzypp
Only the online updates for the updated libzypp do not work.

Comment 29 Marcus Meissner 2007-09-07 21:12:03 UTC
3.22.1-8 is the fixed libzypp version. not sure if you had a newer already, perhaps from Factory.
Comment 30 Stephan Kulow 2007-09-08 05:52:48 UTC
it worked on three different machines with fresh installs. So I guess it's specific to your setup. I'll post to opensuse-factory to make sure people check manually of libzypp is updated though.
Comment 31 Robin Knapp 2007-09-08 13:01:53 UTC
I downgraded to the version from the KDE 1-cd installation media before trying. Well, lets see if other people have similar problems...

However, it's good to see this finally fixed :)
Comment 32 Robin Knapp 2007-09-08 13:47:20 UTC
Created attachment 162856 [details]
Tescase after clean installation

Did a clean installation as discussed on opensuse-factory - still no updates possible