[Bug 408675] New: repository priorities ignored by package management apps
https://bugzilla.novell.com/show_bug.cgi?id=408675 Summary: repository priorities ignored by package management apps Product: openSUSE 11.0 Version: Final Platform: x86 OS/Version: openSUSE 11.0 Status: NEW Severity: Major Priority: P5 - None Component: Update Problems AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jkossen@xs4all.nl QAContact: jsrain@novell.com Found By: --- I've set the 'packman' repository (nr 3 in the list below) priority to 130 (lower than all other priorities. While zypper behaves correctly, PackageKit and 'yast2 --install' want to update gstreamer packages (which were installed from the Main OSS reository) with gstreamer packages from the packman repository. myth:/home/jochem # zypper lr -P # | Alias | Name | Enabled | Refresh | Priority ---+----------------------------------------------------------+---------------------------+---------+---------+--------- 5 | repo-debug | openSUSE-11.0-Debug | No | No | 120 9 | repo-oss | openSUSE-11.0-Oss | Yes | No | 120 10 | repo-non-oss | openSUSE-11.0-Non-Oss | Yes | No | 120 3 | http://ftp.skynet.be/pub/packman/suse/11.0/ | Packman Repository | Yes | Yes | 130 1 | openSUSE-DVD 11.0 | openSUSE-DVD 11.0 | No | No | 99 2 | Main Repository (OSS) | Main Repository (OSS) | Yes | Yes | 99 4 | openSUSE-11.0-Updates | openSUSE-11.0-Updates | Yes | Yes | 99 6 | http://download.videolan.org/pub/videolan/vlc/SuSE/11.0/ | VideoLan Repository | Yes | Yes | 99 7 | Main Repository (NON-OSS) | Main Repository (NON-OSS) | Yes | Yes | 99 8 | http://download.nvidia.com/opensuse/11.0 | NVIDIA Repository | Yes | Yes | 99 myth:/home/jochem/ # zypper up Reading installed packages... Nothing to do. myth:/home/jochem/ # zypper dup Reading installed packages... Nothing to do. myth:/home/jochem/ # -- 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=408675 User jkossen@xs4all.nl added comment https://bugzilla.novell.com/show_bug.cgi?id=408675#c1 --- Comment #1 from Jochem Kossen <jkossen@xs4all.nl> 2008-07-12 06:02:33 MDT --- Created an attachment (id=227447) --> (https://bugzilla.novell.com/attachment.cgi?id=227447) screenshot of PackageKit showing updates -- 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=408675 User jkossen@xs4all.nl added comment https://bugzilla.novell.com/show_bug.cgi?id=408675#c2 --- Comment #2 from Jochem Kossen <jkossen@xs4all.nl> 2008-07-12 06:03:19 MDT --- Created an attachment (id=227448) --> (https://bugzilla.novell.com/attachment.cgi?id=227448) screenshot of yast showing updates -- 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=408675 User chrubis@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=408675#c3 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |jkossen@xs4all.nl --- Comment #3 from Cyril Hrubis <chrubis@novell.com> 2008-07-17 02:06:50 MDT --- Please attach y2logs and resolver test case. If you are in doubt follow: http://en.opensuse.org/Bugs/YaST Thanks! -- 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=408675 User jkossen@xs4all.nl added comment https://bugzilla.novell.com/show_bug.cgi?id=408675#c4 --- Comment #4 from Jochem Kossen <jkossen@xs4all.nl> 2008-07-17 12:26:27 MDT --- Created an attachment (id=228548) --> (https://bugzilla.novell.com/attachment.cgi?id=228548) y2logs + resolver test case -- 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=408675 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |lslezak@novell.com Status|NEEDINFO |NEW Info Provider|jkossen@xs4all.nl | -- 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=408675 User cmorve69@yahoo.es added comment https://bugzilla.novell.com/show_bug.cgi?id=408675#c5 Christian Morales Vega <cmorve69@yahoo.es> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cmorve69@yahoo.es --- Comment #5 from Christian Morales Vega <cmorve69@yahoo.es> 2008-07-19 02:50:11 MDT --- Note I reported something similar, but more KDE centric, at bug #402770. I thing it NEEDS a fix. Repository priorities were implemented in libzypp, but just a single command uses them. - zypper lu -t package ignores them - zypper dup ignores them - kde updater applet, with both libzypp and packagekit backends, ignores them - YaST QT PM ignores them - gnome updater aplet ignores them - YaST GTK PM ignores them Only zypper up -t package looks at repository priorites! -- 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=408675 User jkossen@xs4all.nl added comment https://bugzilla.novell.com/show_bug.cgi?id=408675#c6 --- Comment #6 from Jochem Kossen <jkossen@xs4all.nl> 2008-07-19 03:10:46 MDT --- Well, for me, 'zypper up' and 'zypper dup' seem to handle priorities correctly (check the terminal output in the original bug text, they both don't want to update anything, which is correct). Gnome updater applet does not, and Yast GTK PM does not. They both want to update the system with packages from the packman repository, which has the lowest priority of all activated repositories: 130 (higher number thus lower priority), thus should not be used. -- 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=408675 User cmorve69@yahoo.es added comment https://bugzilla.novell.com/show_bug.cgi?id=408675#c7 --- Comment #7 from Christian Morales Vega <cmorve69@yahoo.es> 2008-07-19 03:30:30 MDT --- "zypper up" only updates patches, no packages, and "zypper up -t package" works correctly. But zypper dup doesn't gives you problems just because the "don't change vendor" rule. Create a "/etc/zypp/vendors.d/packman" file with content: ---Start file content (do not include) [main] vendors=http://packman,packman,videolan ---End file Put videolan repo with a lower priority than packman. Be sure to have "vlc" or "libffmpeg0" package installed from packman... and "zypper dup" will try to change your packman package with a videolan one. -- 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=408675 User cmorve69@yahoo.es added comment https://bugzilla.novell.com/show_bug.cgi?id=408675#c8 --- Comment #8 from Christian Morales Vega <cmorve69@yahoo.es> 2008-07-19 07:37:11 MDT --- Between, yes... "don't change vendor" rule is also ignored by updater applets and YaST PM. I think that rule isn't documented anywhere, but it's my understanding that is supposed to be applied. So we have three behaviors: - zypper lu -t package... the one used by all the GUI apps (or something very similar). Only looks at package version, ignores vendor (bad) and repo priority (bad). - zypper up -t package... doesn't changes vendor (good) and honours repo priorities (good). "The Good One (TM)". - zypper dup. It doesn't changes vendor (good), but doesn't honours repo priorities (bad). -- 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=408675 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lslezak@novell.com AssignedTo|lslezak@novell.com |zypp-maintainers@forge.provo.novell.com Component|Update Problems |libzypp QAContact|jsrain@novell.com |qa@suse.de -- 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=408675 User lslezak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=408675#c9 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |support@microtechniques.com --- Comment #9 from Ladislav Slezak <lslezak@novell.com> 2008-09-01 05:50:28 MDT --- *** Bug 416082 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=416082 -- 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=408675 Duncan Mac-Vicar <dmacvicar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmacvicar@novell.com AssignedTo|zypp-maintainers@forge.provo.novell.com |mls@novell.com Severity|Major |Normal Priority|P5 - None |P4 - Low -- 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=408675 User ronnypeine@gmx.de added comment https://bugzilla.novell.com/show_bug.cgi?id=408675#c10 Ronny Peine <ronnypeine@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ronnypeine@gmx.de --- Comment #10 from Ronny Peine <ronnypeine@gmx.de> 2009-02-16 12:53:26 MST --- This bug seems to be fixed in openSUSE 11.1. Repository-priorities and dont-change-vendor-rule works here in Yast Packagemanagement. -- 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