[Bug 406870] New: zypper can't downgrade
https://bugzilla.novell.com/show_bug.cgi?id=406870 Summary: zypper can't downgrade Product: openSUSE 11.0 Version: Final Platform: x86 OS/Version: Linux Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jengelh@gmx.de QAContact: qa@suse.de Found By: Beta-Customer zypper horribly fails at downgrading packages. What's installed? 11.0 RC1 probably, as /etc/suse-release already shows "11.0". But nfs-client-1.1.2-9 to be precise. Now the real 11.0 comes with nfs-client-1.1.2-8.1 and there's no way to make zypper make a repository have higher priority than the local database. I'm back to the 'smart' package manager, zypper is just too immature. -- 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=406870 User jengelh@gmx.de added comment https://bugzilla.novell.com/show_bug.cgi?id=406870#c1 --- Comment #1 from Jan Engelhardt <jengelh@gmx.de> 2008-07-07 12:17:43 MDT --- no matter how fast it may be. -- 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=406870 Jan Engelhardt <jengelh@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Major |Minor -- 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=406870 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |jkupec@novell.com -- 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=406870 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406870#c2 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |jengelh@gmx.de --- Comment #2 from Ján Kupec <jkupec@novell.com> 2008-07-08 08:21:23 MDT --- If you better describe what you expect, maybe we can provide or fix it. So again, what's wrong and how it should be? -- 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=406870 User jengelh@gmx.de added comment https://bugzilla.novell.com/show_bug.cgi?id=406870#c3 Jan Engelhardt <jengelh@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|jengelh@gmx.de | --- Comment #3 from Jan Engelhardt <jengelh@gmx.de> 2008-07-08 08:27:58 MDT --- It should somehow be possible to do a large-scale downgrade. In smart, this is done by giving "rpm-sys" a priority lower than the other repositories (e.g. suse110-oss). Since I do not see an rpm-sys or equivalent in zypper, that's going to be hard to do. -- 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=406870 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406870#c4 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jkupec@novell.com |zypp-maintainers@forge.provo.novell.com Severity|Minor |Enhancement Component|Basesystem |libzypp Summary|zypper can't downgrade |zypper: sync system with highest priority repo | |(upgrading/downgrading all the packages) --- Comment #4 from Ján Kupec <jkupec@novell.com> 2008-07-08 08:53:32 MDT --- So smart upgrades/downgrades all packages to corresponding versions in the highest priority repo? Is there a special command for this? Looks like an interesting feature - to sync to certain repo - e.g. to get back to pure 110 stable... but only via a special command. What do you guys think? -- 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=406870 User jengelh@gmx.de added comment https://bugzilla.novell.com/show_bug.cgi?id=406870#c5 --- Comment #5 from Jan Engelhardt <jengelh@gmx.de> 2008-07-08 09:12:07 MDT --- The local rpm database is a channel ("repository" in zypper slang) itself in smart. [rpm-sys] type = rpm-sys name = RPM System priority = 1 # less is lower dammit! [suse110-base] baseurl = <mirror>/distribution/11.0/repo/oss type = yast2 priority = 2 This will stitch the local RPM database on upgrade (zypper: "dist-upgrade") so that packages from suse110-base are preferably installed *regardless* of their version. No special command. Just plain basic priority management. -- 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=406870 User mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406870#c6 --- Comment #6 from Michael Schröder <mls@novell.com> 2008-07-08 09:27:56 MDT --- I do not want silent downgrades just because some priority is higher. Every downgrade is problematic and needs an ack by the user. Plus, priorities come only into play if there's a choice between multiple packages to be made. Forcing packages into specific versions is exactly what 'zypper dup' is for No need to mess around with priorities. Doesn't 'zypper dup' do the downgrades you need? If no, maybe there's a bug in 'zypper dup'... -- 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=406870 User jengelh@gmx.de added comment https://bugzilla.novell.com/show_bug.cgi?id=406870#c7 --- Comment #7 from Jan Engelhardt <jengelh@gmx.de> 2008-07-08 09:34:00 MDT --- Silent downgrade? Of course not, both zypper and smart tell you it is going to get downgraded. -- 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=406870 User dmacvicar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406870#c8 Duncan Mac-Vicar <dmacvicar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmacvicar@novell.com Priority|P5 - None |P4 - Low --- Comment #8 from Duncan Mac-Vicar <dmacvicar@novell.com> 2008-07-15 09:22:20 MDT --- First. Wrong attitude for reporting bugs :-( Only because a repo has higher priority, the fact that a package is at lower version there doesn't mean you want the lower version. -- 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=406870 User jengelh@gmx.de added comment https://bugzilla.novell.com/show_bug.cgi?id=406870#c9 --- Comment #9 from Jan Engelhardt <jengelh@gmx.de> 2008-07-15 09:26:21 MDT ---
the fact that a package is at lower version there doesn't mean you want the lower version
If so, what would I need priorities for, besides the rare case that (version,release) tuple numbers are exactly equal for two given packages? -- 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=406870 User mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406870#c10 --- Comment #10 from Michael Schröder <mls@novell.com> 2008-07-16 04:05:55 MDT --- You need them to tell the solver with version to use if there is a choice. Downgrading is bad, see: http://www.cs.arizona.edu/people/justin/packagemanagersecurity/attacks-on-pa... -- 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=406870 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406870#c11 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #11 from Ján Kupec <jkupec@novell.com> 2008-07-29 06:39:31 MDT --- So 'zypper dup' actually provides the request funtionality, right? -- 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=406870 User mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406870#c12 --- Comment #12 from Michael Schröder <mls@novell.com> 2008-07-29 08:40:54 MDT --- If zypper dup would look at repo priority (which it currently doesn't do), yes. -- 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=406870 User jengelh@gmx.de added comment https://bugzilla.novell.com/show_bug.cgi?id=406870#c13 --- Comment #13 from Jan Engelhardt <jengelh@gmx.de> 2008-08-03 14:05:05 MDT --- Also, version upgrades are generally not done if that would mean a vendor change; is there still a way to ignore vendor changes? I just want packages from my repository to have higher priority. -- 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