[Bug 426607] New: "zypper dup" wants to (needlessly?) reinstall lots of packages
https://bugzilla.novell.com/show_bug.cgi?id=426607 Summary: "zypper dup" wants to (needlessly?) reinstall lots of packages Product: openSUSE 11.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: seife@novell.com QAContact: qa@suse.de Found By: Development zypper dup wants to upgrade / downgrade a few packages, and additionally reinstall lots of packages, even though there is no need for that. (I brought the whole system to latest level by "yast2 sw_single", then "installation summary", "show kept packages", "update all where a newer version is available", so it should already be pretty up to date. Will attach the stdout of zypper. -- 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=426607 User seife@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426607#c1 --- Comment #1 from Stefan Seyfried <seife@novell.com> 2008-09-16 07:35:08 MDT --- Created an attachment (id=239829) --> (https://bugzilla.novell.com/attachment.cgi?id=239829) stdout of "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=426607 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426607#c2 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |seife@novell.com --- Comment #2 from Ján Kupec <jkupec@novell.com> 2008-09-16 07:59:48 MDT --- Yes, this is really needlessly. Can you attach also a solver testcase? (rerun with --debug-solver option). -- 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=426607 User mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426607#c3 --- Comment #3 from Michael Schröder <mls@novell.com> 2008-09-16 08:13:12 MDT --- If the packages are different then they'll get reinstalled. Not a bug IMHO. -- 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=426607 User seife@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426607#c4 Stefan Seyfried <seife@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|seife@novell.com | --- Comment #4 from Stefan Seyfried <seife@novell.com> 2008-09-16 09:03:37 MDT --- Created an attachment (id=239851) --> (https://bugzilla.novell.com/attachment.cgi?id=239851) solver test case Of course. Here it is. -- 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=426607 User seife@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426607#c5 --- Comment #5 from Stefan Seyfried <seife@novell.com> 2008-09-16 09:05:01 MDT --- I don't think the packages are different. I get this after a "zypper dup" has finished, if I run it again, it wants to reinstall almost everything. Even if the repository did not 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.
https://bugzilla.novell.com/show_bug.cgi?id=426607 User mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426607#c6 --- Comment #6 from Michael Schröder <mls@novell.com> 2008-09-16 10:44:28 MDT --- The testcase says that the build times are different, e.g. installed zsh has build time Sep 14 15:56:32, repo zsh has Sep 15 05:30:55. Factory rebuilds a lot... -- 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=426607 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426607#c7 --- Comment #7 from Ján Kupec <jkupec@novell.com> 2008-09-16 11:35:45 MDT --- i hope i won't have to show this in the install summary as well :O))) If this is really intended and needed, can't factory avoid rebuilding unchanged 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=426607 User mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426607#c8 --- Comment #8 from Michael Schröder <mls@novell.com> 2008-09-16 11:49:45 MDT --- Heh, things will change soon. When factory is no longer built by autobuild and exclusively in the build service, package release numbers will be of the form "ci count"."rebuild count". So zypper will see a higher release will every rebuild and report hundreds of updates instead of hundreds of reinstalls. -- 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=426607 User seife@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426607#c9 --- Comment #9 from Stefan Seyfried <seife@novell.com> 2008-09-16 11:52:51 MDT --- superb! ;-) Would a "--no-buildtime-check" option for zypper be possible? -- 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=426607 User roland.kletzing@materna.de added comment https://bugzilla.novell.com/show_bug.cgi?id=426607#c10 roland kletzing <roland.kletzing@materna.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |roland.kletzing@materna.de --- Comment #10 from roland kletzing <roland.kletzing@materna.de> 2008-10-12 03:52:07 MDT --- here`s a "me too" - i had run zypper dup upgrade for hours yesterday - zypper needed to install around 1136 (925mb) of packages. because it was darn late, i suspended the vm (test system only) and hoped, zypper would continue after resume - ok, it didn`t - but after restarting "zypper dup", zypper starts from scratch and installes all of them again. very weird - how can zypper install an rpm without warning, if it`s already there? i checked the repo, but all packages are same version as yesterday. -- 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=426607 User mrmazda@ij.net added comment https://bugzilla.novell.com/show_bug.cgi?id=426607#c11 --- Comment #11 from Felix Miata <mrmazda@ij.net> 2008-11-20 19:48:19 MST --- Created an attachment (id=254154) --> (https://bugzilla.novell.com/attachment.cgi?id=254154) tgz of /var/log/zypper.log, /var/log/zypp & /var/log/zypper.solverTestCase I can repeat 'zypper dup' as many times in succession as I want, and always when the latest kernel is already installed it will downgrade openSUSE, and reinstall kernel-pae, kernel-pae-base & openSUSE-release. -- 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=426607 User dmacvicar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426607#c12 Duncan Mac-Vicar <dmacvicar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmacvicar@novell.com Status|NEW |NEEDINFO Info Provider| |seife@novell.com --- Comment #12 from Duncan Mac-Vicar <dmacvicar@novell.com> 2008-11-21 04:00:27 MST --- comment #10: are you by chance using zypper shell there? -- 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=426607 User seife@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426607#c13 Stefan Seyfried <seife@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|seife@novell.com | --- Comment #13 from Stefan Seyfried <seife@novell.com> 2008-11-21 05:09:41 MST --- I am not using zypper at all for updates due to this bug. -- 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=426607 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426607#c14 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |seife@novell.com --- Comment #14 from Ján Kupec <jkupec@novell.com> 2008-11-21 09:31:13 MST --- The logs suggests 'zypper shell' was not 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=426607 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|seife@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=426607 Duncan Mac-Vicar <dmacvicar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Enhancement Component|libzypp |libzypp Priority|P5 - None |P4 - Low Product|openSUSE 11.1 |openSUSE 11.2 Version|Factory |unspecified -- 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=426607 User jschrod@acm.org added comment https://bugzilla.novell.com/show_bug.cgi?id=426607#c15 Joachim Schrod <jschrod@acm.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jschrod@acm.org --- Comment #15 from Joachim Schrod <jschrod@acm.org> 2009-02-04 06:31:58 MST --- another "me too". On each run zypper wants to reinstall some packages from Packman where their rpm buildtime is not the same than the ones listed in the xml files that I get with --debug-solver. *Very* annoying. This is on 11.1 btw, w/o factory packages. I can add the resolver testcase, but it's the situation mentioned above already. Oh yes, and there's also bug 472099 that's probably a duplicate to this one. Can we please get the option "--no-buildtime-check"? In addition, please give us a "--explain" option (or add this to some verbosity level) that gives for each installed, upgraded, or reinstalled package the reason why this action has been taken. (more current, new dependency, buildtime changed, etc.) It took me a full hour to track down the root cause behind that obnoxiuos behaviour, and such an option would make our lives really easier, IMHO. -- 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=426607 User ma@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426607#c16 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kailed@kailed.net --- Comment #16 from Michael Andres <ma@novell.com> 2009-02-04 09:30:34 MST --- *** Bug 472099 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=472099 -- 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=426607 User ma@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426607#c17 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|zypp-maintainers@forge.prov |mls@novell.com |o.novell.com | --- Comment #17 from Michael Andres <ma@novell.com> 2009-02-04 09:35:01 MST --- Fisrt step would be a solver option to turn off buildtime-check. -- 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=426607 User mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426607#c18 Michael Schröder <mls@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |WONTFIX --- Comment #18 from Michael Schröder <mls@novell.com> 2009-02-16 13:12:47 MST --- No, "zypper dup" means "make the installed packages identical to the ones from the repositories". If the build times are different, the packages are not identical. Of course this only works if the repositories aren't broken, somebody should notify the packman guys of this. "zypper up" is a different beast, it doesn't look at the build time. You should use 'up' instead of 'dup' to keep your packages up to date. -- 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=426607 User jschrod@acm.org added comment https://bugzilla.novell.com/show_bug.cgi?id=426607#c19 --- Comment #19 from Joachim Schrod <jschrod@acm.org> 2009-02-16 13:49:23 MST --- I think meanwhile all here understood that the behaviour was caused by a bad meta info in a package. (I notified the Packman guys and they repaired it some time ago.) Owing to the bad accessibility of respective data, it just took us a while to get to that conclusion. But that's not the issue at hand. We asked for an *enhancement* of zypper to allow us to handle corrupt repositories better, in a more flexible fashion. After all, one is usually not in the situation to fix the root cause of that problem since we don't own the repositories and thus one needs both robust and flexible behaviour here. Since one very often has dozens of repository, such corruptness can happen again, and added robustness would make zypper better in that case. Simply saying "works as designed" takes away the opportunity to use our user feedback to improve your software, which is a very sad attitude. -- 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=426607 User mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426607#c20 --- Comment #20 from Michael Schröder <mls@novell.com> 2009-02-16 14:19:20 MST --- You really shouldn't use 'zypper dup' to keep your packages up to date. It's not designed for that purpose. -- 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=426607 User jschrod@acm.org added comment https://bugzilla.novell.com/show_bug.cgi?id=426607#c21 --- Comment #21 from Joachim Schrod <jschrod@acm.org> 2009-02-17 03:16:22 MST --- zypper up may not be designed, but since zypper up ignores repo priorities since 11.1, it's not fit for my purpose either. In fact, since 11.1, 'zypper dup' does a better job for my intentions, namely to give jpackage and Packman packages always priorities over SUSE ones. -- 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=426607 User mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=426607#c22 --- Comment #22 from Michael Schröder <mls@novell.com> 2009-02-17 04:32:37 MST --- Zypper up does not ignore repo priorities. You're probably hit by the vendor locking, just configure zypp so that packman is considered equal to the opensuse vendor. I.e., create a file /etc/zypp/vendors.d/packman that contains: [main] vendors = packman,suse,opensuse -- 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