[Bug 545258] New: zypper dup exits silently when package is skipped using DownloadInAdvance
http://bugzilla.novell.com/show_bug.cgi?id=545258 User dave.plater@yahoo.co.uk added comment http://bugzilla.novell.com/show_bug.cgi?id=545258#c545242 Summary: zypper dup exits silently when package is skipped using DownloadInAdvance Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: dave.plater@yahoo.co.uk QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090909 SUSE/3.5.3-1.4 Firefox/3.0.6, Ant.com Toolbar 1.3 zypper dup doesn't even inform the user what is happening if a package is skipped when using the DownloadInAdvance option and the user has to guess that nothing has been installed and zypper dup needs to be restarted. I would expect at least a message that states a zypper refresh is required and zypper dup needs to be rerun. Reproducible: Always Steps to Reproduce: 1.zypper dup 2.MPlayer from packman repo fails to download completely and times out 3.Tell zypper to ignore Actual Results: zypper dup exits without installing any packages Expected Results: The ideal situation:- the solver runs again to check for failed dependencies and installs what it can The minimum situation:- zypper displays a message that a package has failed to download and the user must rerun zypper dup after refreshing In my case I was updating 2.1 GiB of packages on a beta trial internet connection and due to a very bad connection and bug #545242 I deliberately skipped MPlayer and used aria2c to download it directly into the packman package cache. It would have been a nice surprise if zypper had rechecked the package cache and completed the installation but instead it left me wondering whether the new feature was working at all. When I reran zypper dup without a refresh, it completed the process. DownloadInAdvance is a nice feature but what happens when a package is skipped needs a lot of thought. See https://bugzilla.novell.com/show_bug.cgi?id=545242 for logs -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=545258 User ma@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=545258#c1 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High CC| |ma@novell.com --- Comment #1 from Michael Andres <ma@novell.com> 2009-10-08 04:35:19 MDT --- (In reply to comment #0)
connection and due to a very bad connection and bug #545242 I deliberately skipped MPlayer and used aria2c to download it directly into the packman package cache. It would have been a nice surprise if zypper had rechecked the package cache and completed the installation but instead it left me wondering whether the new feature was working at all.
You mean to recheck the cache at the end of download, to see if in the meantime someone else manually provided the right package at the right location? A verry specific usecase. But provided zypper is enhanced to write an error message that not all packages were successfully downloaded, zypper could offer to retry the commit. That way you wouldn't lose any conflict resolution you had to apply. This might be a cheap feature. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=545258 User dave.plater@yahoo.co.uk added comment http://bugzilla.novell.com/show_bug.cgi?id=545258#c2 --- Comment #2 from Dave Plater <dave.plater@yahoo.co.uk> 2009-10-08 05:09:28 MDT --- (In reply to comment #1)
You mean to recheck the cache at the end of download, to see if in the meantime someone else manually provided the right package at the right location? A verry specific usecase.
I should have put a smiley at the end of that sentence.
But provided zypper is enhanced to write an error message that not all packages were successfully downloaded, zypper could offer to retry the commit. That way you wouldn't lose any conflict resolution you had to apply. This might be a cheap feature.
I think that offering to retry the commit would be the best solution and a message about having to refresh if the package is not found on the server. Yast would also have to offer the same option. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=545258 User davejplater@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=545258#c3 --- Comment #3 from Dave Plater <davejplater@gmail.com> 2009-10-27 03:14:15 MDT --- Picked up a nasty problem with todays zypper dup. The package gstreamer-plugins-bad-lang wasn't available in packman repo and the zypper dup wouldn't complete until I deleted the package and let it be replaced by the openSUSE version. This would create a problem for not so experienced users. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=545258 User davejplater@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=545258#c4 --- Comment #4 from Dave Plater <davejplater@gmail.com> 2009-10-27 03:30:10 MDT --- Created an attachment (id=324268) --> (http://bugzilla.novell.com/attachment.cgi?id=324268) zypper log -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=545258 http://bugzilla.novell.com/show_bug.cgi?id=545258#c5 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|zypp-maintainers@forge.prov |jkupec@novell.com |o.novell.com | --- Comment #5 from Ján Kupec <jkupec@novell.com> 2010-01-28 18:52:43 UTC --- Dave, one problem per report please. I'll take care of the failed package download problem. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=545258 http://bugzilla.novell.com/show_bug.cgi?id=545258#c6 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 - High |P3 - Medium Target Milestone|--- |Future 11.3 Severity|Normal |Minor --- Comment #6 from Ján Kupec <jkupec@novell.com> 2010-02-20 13:46:36 UTC --- Setting more appropriate priority/severity, i'll do this (better error message, offer to restart commit without losing dep resolutions) later. -- Configure bugmail: http://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=545258 https://bugzilla.novell.com/show_bug.cgi?id=545258#c8 Dave Plater <davejplater@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #8 from Dave Plater <davejplater@gmail.com> 2014-09-19 11:42:09 UTC --- fixed -- 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