[Bug 734152] New: libzypp losts (discontinues) a packages from repo ..
https://bugzilla.novell.com/show_bug.cgi?id=734152 https://bugzilla.novell.com/show_bug.cgi?id=734152#c0 Summary: libzypp losts (discontinues) a packages from repo .. Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: nettezzaumanaa@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=465246) --> (http://bugzilla.novell.com/attachment.cgi?id=465246) zypper logs are included User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111101 SUSE/3.6.24-0.2.1 Firefox/3.6.24 Hello, i've found a pretty interesting libzypp behaviour i'd consider as *not *optimal: with releasing 12.1 the content of KDS repo (http://download.opensuse.org/repositories/KDE:/Distro:/Stable/openSUSE_11.3/) for 11.3 changed that way that configured repo in system discontinued a packages brought from there. example: # zypper -vv se -s | perl -ne 'print if /^i.*libkde.*System\ Package/' i | libkde4 | package | 4.6.0-6.20.1 | x86_64 | (System Packages) i | libkde4-devel | package | 4.6.0-6.20.1 | x86_64 | (System Packages) i | libkdecore4 | package | 4.6.0-6.20.1 | x86_64 | (System Packages) i | libkdecore4-devel | package | 4.6.0-6.20.1 | x86_64 | (System Packages) i | libkdegames4 | package | 4.6.0-4.5 | x86_64 | (System Packages) i | libkdepim4 | package | 4.4.10-4.3 | x86_64 | (System Packages) i | libkdepimlibs4 | package | 4.6.0-4.8.3 | x86_64 | (System Packages) i | libkdevplatform-devel | package | 1.2.0-3.3 | x86_64 | (System Packages) i | libkdevplatform0 | package | 1.2.0-3.3 | x86_64 | (System Packages) the result is rot of many parentless System Packages. i'd never claim that's some critical or very important bug but i'd say that we should re-consider this way of dealing with either repository setup or libzypp's own behaviour ... thanks and regards by daniel Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=734152 https://bugzilla.novell.com/show_bug.cgi?id=734152#c1 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Severity|Normal |Enhancement --- Comment #1 from Michael Andres <ma@suse.com> 2011-12-02 13:04:16 CET --- Yes. Ideally we could remember the original repo a package came from as a custom header entry in the rpm database. But rpm does not support something like this. So we don't know easily where a package was installed from. For installed packages zypper shows 'System Packages', unless the very same version is available in some other repo. But 'System Packages' does not mean the package is discontinued or orphaned. It just says that the exact same version is no longer available in any other repo. Discontinued or orphaned means that there also is also no update candidate in any other repo. I'm keeping this as request to enhance guessing of an installed packages origin. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=734152 https://bugzilla.novell.com/show_bug.cgi?id=734152#c2 --- Comment #2 from Daniel Pecka <nettezzaumanaa@gmail.com> 2011-12-02 12:19:15 UTC --- hello Michael, but they act like orphaned because you won't simply update them .. if you pass obvious zypper up the list of new packages with higher versions which won't be applied is shown and there's no way to update them unless you allow global vendor change policy .. the only cure is ``zypper dup --from $repo'' and you have still no certainty that all of these (System Package)s will be replaced by appropriate candidate because some of them could remain .. i don't how it's internally resolved at this moment in libzypp but zypper apparently recognizes a source repository of particular package, or isn't it ? regards, daniel -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=734152 https://bugzilla.novell.com/show_bug.cgi?id=734152#c3 --- Comment #3 from Michael Andres <ma@suse.com> 2011-12-05 16:51:35 CET --- - If you want to install a specific version of a package you can call: 'zypper install [--force] <name-version-release.arch>' 'zypper install --force zypper-1.5.3-3.2.x86_64' or 'zypper install [--force] --from <repo> <package>'
i don't how it's internally resolved at this moment in libzypp but zypper apparently recognizes a source repository of particular package, or isn't it
An 'update candidate' is a package with same arch, same vendor and higher version than the installed one. 'vendor' is different from 'repository'. The vendor is a string in the rpm package header, filled in by the person/institution who built the package. While a repo is just a collection of packages, often but not necessarily all from the same vendor. No matter to which repos a package is copied, the package vendor will always stay the same. The vendor protection assures that packages installed from vendor e.g. obs://build.opensuse.org/KDE are updated by packages from the same vendor only. No matter which repos or media are used to distribute the package. 'zypper dup' and 'zypper dup --from $repo' are the intended commands to allow switching from one vendor to another by softly enforcing the use of packages provided by a specific $repo. There is also a way to 'allow' vendor changes for commands like 'zypper up'. Actually you do not allow vendor changes, but you can define which vendor strings should be treated as 'the same vendor'. (see also http://doc.opensuse.org/projects/libzypp/HEAD/pg_zypp-solv-vendorchange.html) A vendors.d entry like vendors = suse,opensuse,obs://build.opensuse.org/KDE would allow opensuse and obs://build.opensuse.org/KDE packages to replace each other without considering this being a vendor change. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com