[Bug 398701] New: new work mode for zypper
https://bugzilla.novell.com/show_bug.cgi?id=398701 Summary: new work mode for zypper Product: openSUSE 11.1 Version: Alpha 0 Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: gabriel@opensuse.org QAContact: qa@suse.de Found By: --- Please, consider the following for zypper. Add an option to let the user choose the work mode: 1-Transactional (current and default). Each package is installed after download. 2-(not sure the name). First download all packages, then install them. In previous OS versions, I encountered the problem that in the middle of the process for any reason the download failed, and the installed packages (not replaced because of this) couldn't work with the already NEW packages. So I ended up with a broken system. If disk space is not enought, just abort and keep the downloaded files, so there is no need to download them again. Also could be good to keep all the files downloaded even after a sucessful install, so it is possible to cp the .rpm and use it to install on another system. -- 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=398701 User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=398701#c1 Josef Reidinger <jreidinger@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jreidinger@novell.com --- Comment #1 from Josef Reidinger <jreidinger@novell.com> 2008-06-10 02:39:21 MDT --- (In reply to comment #0 from Sergio Gabriel)
Also could be good to keep all the files downloaded even after a sucessful install, so it is possible to cp the .rpm and use it to install on another system.
it can be done now. Use zypper mr -k --all #enable caching for all repositories zypper in whatever #install what you want and when you want remove from cache this rpms use zypper clean if you want disable keeping packages use zypper mr -K --all files location is /var/cache/zypp/packages and sorted by repository and arch. -- 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=398701 User gabriel@opensuse.org added comment https://bugzilla.novell.com/show_bug.cgi?id=398701#c2 --- Comment #2 from Sergio Gabriel <gabriel@opensuse.org> 2008-06-10 07:53:53 MDT --- Ok, so the download all part is implemented, what about an option to install all the files in cache? So it would be possible to 'emulate' the 'First download all packages, then install them' -- 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=398701 User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=398701#c3 --- Comment #3 from Josef Reidinger <jreidinger@novell.com> 2008-06-10 07:57:28 MDT --- (In reply to comment #2 from Sergio Gabriel)
Ok, so the download all part is implemented, what about an option to install all the files in cache? So it would be possible to 'emulate' the 'First download all packages, then install them'
this can be done with dry run, which only emulate installation. so zypper mr --all -k #keep packages to prevent donwloading again zypper in -D whatyouwant #dry run install, so only download and find problems in installation zypper in whatyouwant #now really perform installation Is this what you want or I don't understand? -- 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=398701 User gabriel@opensuse.org added comment https://bugzilla.novell.com/show_bug.cgi?id=398701#c4 --- Comment #4 from Sergio Gabriel <gabriel@opensuse.org> 2008-06-10 11:57:11 MDT ---
this can be done with dry run, which only emulate installation. so zypper mr --all -k #keep packages to prevent donwloading again zypper in -D whatyouwant #dry run install, so only download and find problems in installation zypper in whatyouwant #now really perform installation
Is this what you want or I don't understand?
I mean something to install 'all' cached packages, instead of doing:
zypper in package1 package2 package3
something like:
zypper in --all #for example, so all previously downloaded packages are installed instead of indicating each package individually.
-- 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=398701 User jreidinger@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=398701#c5 --- Comment #5 from Josef Reidinger <jreidinger@novell.com> 2008-06-12 03:29:34 MDT --- yes, this is planned. Workaround how you can make now is: eval zypper in `find /var/cache/zypp/packages -name '*.rpm' -printf \\"%p\\"\ ` this install all rpms in cache -- 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=398701 Duncan Mac-Vicar <dmacvicar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmacvicar@novell.com 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=398701 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|zypp-maintainers@forge.provo.novell.com |jkupec@novell.com Status|NEW |ASSIGNED -- 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=398701 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=398701#c6 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FEATURE --- Comment #6 from Ján Kupec <jkupec@novell.com> 2008-10-13 08:10:21 MDT --- tracked as FATE #302159 -- 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=398701 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|new work mode for zypper |zypper: allow to first download (all), then | |install -- 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=398701 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=398701#c7 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jengelh@medozas.de --- Comment #7 from Ján Kupec <jkupec@novell.com> 2009-01-07 06:14:40 MST --- *** Bug 463423 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=463423 -- 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