Bug 625090

Summary: libsnmp15 related upgrade issue
Product: [openSUSE] openSUSE 11.3 Reporter: Karl Eichwalder <ke>
Component: Update ProblemsAssignee: Leonardo Chiquitto <lchiquitto>
Status: VERIFIED WONTFIX QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P3 - Medium CC: lchiquitto, ma, mrueckert
Version: Final   
Target Milestone: ---   
Hardware: All   
OS: openSUSE 11.3   
Whiteboard:
Found By: Documentation Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Karl Eichwalder 2010-07-23 13:46:09 UTC
There is a small issue when renewing the package management stack before calling "zypper dup" to go from 11.2 to 11.3:

13:56 < ke> zypper in zypper
13:56 < ke> Loading repository data...
13:56 < ke> Reading installed packages...
13:56 < ke> Resolving package dependencies...
13:56 < ke> Problem: zypper-1.4.5-1.10.i586 requires libzypp.so.706, but this requirement cannot 
            be provided
13:56 < ke>   uninstallable providers: libzypp-7.7.5-7.2.i586[openSUSE-11.3-Oss]
13:56 < ke>  Solution 1: deinstallation of libsnmp15-5.4.2.1-11.2.1.i586
13:56 < ke>  Solution 2: do not ask to install a solvable providing zypper > 1.3.4-0.1.3
13:56 < ke>  Solution 3: break zypper by ignoring some of its dependencies
13:56 < ke> Choose from above solutions by number or cancel [1/2/3/c] (c):

I selected 1/ and succeeded in the end.  Maybe, there is a missing obsolete somewhere.

This happenend on a plain 11.2 installation (GNOME desktop), when I had configured the 11.3 repositories (oss and update).
Comment 1 Leonardo Chiquitto 2010-07-26 14:46:03 UTC
I don't know if it's possible to fix something like this now that the product is already release :(

Marcus, can you help me here?
Comment 2 Leonardo Chiquitto 2010-07-26 15:47:20 UTC
Karl, I talked to Marcus on IRC and he explained that you should upgrade directly from 11.2 to 11.3, without upgrading zypper first. I tried this here and it works:

- Configured 11.3 repositories (oss, non-oss, debug, updates) and disabled 11.2
- Executed "zypper dup" directly.

Zypper then tells me it will remove libsnmp15 and install libsnmp20.

We can't add "Obsoletes: libsnmp15" because this would prevent the parallel installation of libsnmp15 and libsnmp20, and this is something we want to support.
Comment 3 Leonardo Chiquitto 2010-07-26 15:56:16 UTC
Let me know if you agree with comment #2, so I can close this bug. Thanks.
Comment 4 Karl Eichwalder 2010-07-27 08:51:59 UTC
I'm not that sure whether calling "zypper dup" directly is good enough.

In the past, I was told that you first must update the PM stack with the said commands and that's how it is documented in the manual.  http://en.opensuse.org/SDB:System_upgrade is related documentation, which I don't fully understand, though.

Jano, Michel, can you please shed some light on this issue?  TIA!
Comment 5 Leonardo Chiquitto 2010-08-09 16:44:23 UTC
Hi, may I assume comment #2 is right and close this as wont fix?
Comment 6 Leonardo Chiquitto 2010-08-20 14:42:49 UTC
I'm sorry but, considering that we can't add the "Obsoletes" tag to the net-snmp package and "zypper dup" works fine, I'm closing this as WONTFIX.
Comment 7 Karl Eichwalder 2010-08-20 15:09:16 UTC
But the documented and up 'til now recommended upgrade procedure does not work.  I'll create a separate bug...
Comment 8 Karl Eichwalder 2010-08-20 15:15:07 UTC
(In reply to comment #7)
> But the documented and up 'til now recommended upgrade procedure does not work.
>  I'll create a separate bug...

See Bug 633240.