[Bug 555627] New: Check dependencies for upgrade to 11.2
http://bugzilla.novell.com/show_bug.cgi?id=555627
Summary: Check dependencies for upgrade to 11.2
Classification: openSUSE
Product: openSUSE 11.1
Version: Final
Platform: x86-64
OS/Version: openSUSE 11.2
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Installation
AssignedTo: bnc-team-screening@forge.provo.novell.com
ReportedBy: Markus.Elfring@web.de
QAContact: jsrain@novell.com
Found By: ---
Blocker: ---
--- Comment #0 from Markus Elfring
http://bugzilla.novell.com/show_bug.cgi?id=555627
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=555627
http://bugzilla.novell.com/show_bug.cgi?id=555627#c2
Markus Elfring
http://bugzilla.novell.com/show_bug.cgi?id=555627
http://bugzilla.novell.com/show_bug.cgi?id=555627#c3
shuang qiu
http://bugzilla.novell.com/show_bug.cgi?id=555627
http://bugzilla.novell.com/show_bug.cgi?id=555627#c4
Markus Elfring
http://bugzilla.novell.com/show_bug.cgi?id=555627
http://bugzilla.novell.com/show_bug.cgi?id=555627#c5
shuang qiu
http://bugzilla.novell.com/show_bug.cgi?id=555627
http://bugzilla.novell.com/show_bug.cgi?id=555627#c6
Michael Andres
http://bugzilla.novell.com/show_bug.cgi?id=555627
http://bugzilla.novell.com/show_bug.cgi?id=555627#c7
--- Comment #7 from Markus Elfring
http://bugzilla.novell.com/show_bug.cgi?id=555627
http://bugzilla.novell.com/show_bug.cgi?id=555627#c8
Markus Elfring
http://bugzilla.novell.com/show_bug.cgi?id=555627
http://bugzilla.novell.com/show_bug.cgi?id=555627#c9
Michael Andres
http://bugzilla.novell.com/show_bug.cgi?id=555627
http://bugzilla.novell.com/show_bug.cgi?id=555627#c10
Markus Elfring
If you give 11.1 repositories a higher priority than the 11.2 based repos, you are begging for problems.
I agree that I will usually not get expected results in this case. I wonder how the "intermediate" value 99 slipped in for it. I adjusted the priority for my "Haupt-Repository 11.2" to the value 20 before and at the moment for sure intentionally. Could Marcus Meissner forward more solver test cases to you? Do they show which repository priorities were really applied for each of them?
Especially if you are using 'zypper dup'. 'dup' does not look at the package versions, it strictly arranges your system according to the repo priorities.
It might depend also on vendor stickiness. http://mlandres.blogspot.com/2009/05/libzypp-660-disable-solvers-vendor.html -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555627
http://bugzilla.novell.com/show_bug.cgi?id=555627#c11
--- Comment #11 from Markus Elfring
http://bugzilla.novell.com/show_bug.cgi?id=555627
http://bugzilla.novell.com/show_bug.cgi?id=555627#c12
--- Comment #12 from Markus Elfring
With your setup e.g each update released for 11.1 (Haupt-Repository 11.1, prio 23) will supersede the 11.2 package (Haupt-Repository (Open Source Software) 11.2, prio 99).
Your view confused me. - The value 20 is displayed between some 99s in the attached list.
Don't put 11.1 repos on top of 11.2.
This is not the case. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555627
http://bugzilla.novell.com/show_bug.cgi?id=555627#c13
Michael Andres
http://bugzilla.novell.com/show_bug.cgi?id=555627
http://bugzilla.novell.com/show_bug.cgi?id=555627#c14
--- Comment #14 from Markus Elfring
http://bugzilla.novell.com/show_bug.cgi?id=555627
http://bugzilla.novell.com/show_bug.cgi?id=555627#c15
--- Comment #15 from Markus Elfring
http://bugzilla.novell.com/show_bug.cgi?id=555627
http://bugzilla.novell.com/show_bug.cgi?id=555627#c16
Markus Elfring
Disable the 11.1 repos, or at least move them below the 11.2 ones.
I have also recognized my "mistake" now. (I imagine that a few software components might only be provided by a previous repository.) The adjusted priorities result still in unexpected suggestions by the solver as you can see it in the attachment #333562.
Anyway the 11.2 solver should be faster then. My 11.2 solver solves your 'install zypper=1.2.8-0.1.3' testcase in 1 sec.)
This is an interesting experience. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555627
http://bugzilla.novell.com/show_bug.cgi?id=555627#c17
Michael Andres
Created an attachment (id=333559) --> (http://bugzilla.novell.com/attachment.cgi?id=333559) [details] my repository selection (sorted by priority)
I have prioritised a few repositories differently once again.
Better, but the priority of the update repo (download.opensuse.org/update/11.2) should be higher than the distro(download.opensuse.org/distribution/11.2) to be sure you actually get the released updates. It's also no problem if you assign a buildservice repo which is based on 11.2 the same (or even an higher) priority as the 11.2 distro. Just take care the 11.1 based ones are low. (In reply to comment #15)
Created an attachment (id=333562) --> (http://bugzilla.novell.com/attachment.cgi?id=333562) [details] questionable suggestion for package dependency resolutions
Can the solver cope with the dependency hell here?
Yes. I admit the messages are sometimes hard to interpret, but that's not a bug. So please stop reopening this report unless you actually hit one. If you more need, check the links at help http://en.opensuse.org/Communicate. -- Problem: libapt-pkg-libc6_8-6-2-0.5.15lorg3.2-78.1.x86_64 requires librpm-4.4.so()(64bit), but this requirement cannot be provided The new zypper needs a new librpm. librpm-4.4 belongs to the the old 11.1 rpm. You've got several apt related 11.1 packages, that wont work with the 11.2 rpm. As there's no update for them, the solver asks you what to do. If you are uncertain what to do, try 'zypper up --force' instead. The solver won't ask you how to resolve the conflict, but suggest to delete the conflicting packages. Check whether the suggested deletions are acceptable, and proceed if they are. If they are not, you need to find an 11.2 based repo that provides newer versions of the software which works on 11.2 -- or you stay with 11.1. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555627
http://bugzilla.novell.com/show_bug.cgi?id=555627#c18
--- Comment #18 from Michael Andres
http://bugzilla.novell.com/show_bug.cgi?id=555627
http://bugzilla.novell.com/show_bug.cgi?id=555627#c19
--- Comment #19 from Markus Elfring
http://bugzilla.novell.com/show_bug.cgi?id=555627
http://bugzilla.novell.com/show_bug.cgi?id=555627#c20
--- Comment #20 from Markus Elfring
Check whether the suggested deletions are acceptable, and proceed if they are.
I find it suspect that dependency resolution for software components like "Advanced Packaging Tool" and "Boost" causes so many unexpected difficulties. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555627
http://bugzilla.novell.com/show_bug.cgi?id=555627#c21
--- Comment #21 from Michael Andres
Created an attachment (id=333744) --> (http://bugzilla.novell.com/attachment.cgi?id=333744) [details] questionable suggestion for package dependency resolutions
According to the testcase you sent: on Thu Apr 2 2009 you installed NetworkManager-glib-0.7.0.r4359-15.2.2 i586 and x86_64 at the same time (manually using 'rpm -i'? zypper/yast would not have done this.). That's what now causes some confusion. I hope you took Solution 2: architecture change of NetworkManager-glib-0.7.0.r4359-15.2.2.i586 to NetworkManager-glib-0.7.1_git20090811-4.2.x86_64 So NetworkManager-glib is now again installed only once.
I find it suspect that dependency resolution for software components like "Advanced Packaging Tool" and "Boost" causes so many unexpected difficulties.
The problem mostly arises from the fact that there is no repo with apt packages for 11.2. The packages were AFAIK dropped. If you'd disable the 11.1 repos and perform a zypper dup, the solver will probably consider those packages being orphaned, and suggest to delete them if they cause trouble. But keeping them on your system you maintain a small "11.1 environment" for them. This is what causes the problems. It's not the software, but the fact that it's old (compared to your system). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555627
http://bugzilla.novell.com/show_bug.cgi?id=555627#c22
--- Comment #22 from Markus Elfring
So NetworkManager-glib is now again installed only once.
The version "0.7.1_git20090811-4.2-x86_64" was installed yesterday. Will the YaST package management ever support different releases for software components in parallel use? (A single option list is displayed on the tab "versions" instead of a check box for each entry.)
But keeping them on your system you maintain a small "11.1 environment" for them. This is what causes the problems. It's not the software, but the fact that it's old (compared to your system).
It will take more time to make the previous software also available for a new distribution release. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555627
http://bugzilla.novell.com/show_bug.cgi?id=555627#c23
--- Comment #23 from Michael Andres
Will the YaST package management ever support different releases for software components in parallel use?
First of all it's the package that must support this. It does not help much to install 2 versions in parallel, if one damages the other. With the latest versions, you can configure which packages should be installed in parallel. The solver will correctly handle this, and also the Qt-GUI will support selecting the individual versions. This feature might(!) become available on 11.2 with an next online update. But you'll also need packages that support this. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555627
http://bugzilla.novell.com/show_bug.cgi?id=555627#c24
--- Comment #24 from Markus Elfring
With the latest versions, you can configure which packages should be installed in parallel. The solver will correctly handle this, and also the Qt-GUI will support selecting the individual versions. This feature might(!) become available on 11.2 with an next online update.
Thanks for this information. Did a feature request or "bug" report exist for this already? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555627
http://bugzilla.novell.com/show_bug.cgi?id=555627#c25
--- Comment #25 from Michael Andres
http://bugzilla.novell.com/show_bug.cgi?id=555627
http://bugzilla.novell.com/show_bug.cgi?id=555627#c26
--- Comment #26 from Markus Elfring
participants (1)
-
bugzilla_noreply@novell.com