|
Bugzilla – Full Text Bug Listing |
| Summary: | zypper info gives incorrect result | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.1 | Reporter: | Dave Plater <davejplater> |
| Component: | libzypp | Assignee: | Jan Kupec <jkupec> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P3 - Medium | CC: | dmacvicar |
| Version: | Factory | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | zypper.log compressed | ||
|
Description
Dave Plater
2008-10-22 18:34:29 UTC
Priority for repository local is 50 and priority for repository factory is 120. I have set the priorities thus in an attempt to prevent downloading of packages that I already have stored locally. Zypper is supposed to show the best available version here (but see also bug #357264). I guess this bug is because i incorrectly used ui::Selectable::theObj() to get the the best version, fooled by it's docs and by a few successful tests. I'll check this. Just checked with and without local repo enabled on out of date kdebase3 and get this output:- Repository: local Name: kdebase3 Version: 3.5.10-14.1 Arch: i586 Vendor: openSUSE Build Service Installed: Yes Status: up-to-date Installed Size: 51.5 M Summary: The KDE Core Components Description: This package contains kdebase, one of the basic packages of the K Desktop Environment. It contains, among others, kwin (the KDE window manager), Konqueror (the KDE Web browser), and KControl (the configuration program) This package is needed if you want to use the KDE Desktop. It is not needed if you only want to start some KDE applications. and without local:- Repository: factory Name: kdebase3 Version: 3.5.10-15.15 Arch: i586 Vendor: Installed: Yes Status: out-of-date (version 3.5.10-14.1 installed) Installed Size: 51.5 M Summary: The KDE Core Components Description: This package contains kdebase, one of the basic packages of the KDesktop Environment. It contains, among others, kwin (the KDE windowmanager), Konqueror (the KDE Web browser), and KControl (the configuration program) This package is needed if you want to use the KDE Desktop.It is not needed if you only want to start some KDE applications. local repo contains all of my beta 2 packages. Yast2 software management has the same problem, it shows no updates if local is enabled and updates if only factory is enabled. I will attach zypper.log in case you need it. Created attachment 247497 [details]
zypper.log compressed
If factory and local repositories have the same priority then factory's newer version is shown. Just a thought, this libzypp behavior, due to priority settings, might be good in a case where one wishes to only have packman or videolan versions of a package. Jano, feel free to close as WONTFIX if this is the desired behavior. *** Bug 444051 has been marked as a duplicate of this bug. *** I tried install -r kernel, the only command that would install kernel-source was dup. I can uninstall and make dup --debug-solver if wanted. Here's a clue the kernel-pae packages are 2.6.27.5-1.1.i586 and the source is kernel-source-2.6.27.5-2.1.i586 The versions are so close I didn't notice. Zypper now refuses to install kernel-pae-2.6.27.5-2.2 packages as well, it must be something to do with the version numbers. I'll save a solver test case and am going to use yast. Will upload solver test case if needed Dave, try also 'zypper in kernel-pae-2.6.27.5-2.2' (with the exact version you want to install). The kernel binary packages differ in build number from the source packages in factory and have all day. I'm going to wait until factory settles into something more consistent. I need matching sources for nvidia driver and kernel update for bug 439126 and bug 440891 test. (In reply to comment #7 from Duncan Mac-Vicar Prett) > Jano, feel free to close as WONTFIX if this is the desired behavior. It probably is, but it is suprising as well :O) see http://lists.opensuse.org/zypp-devel/2008-11/msg00019.html I changed it back to show the best available version regardless of repo priorities. submitted |