[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
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
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
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
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
https://bugzilla.novell.com/show_bug.cgi?id=398701
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=398701
Ján Kupec
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
https://bugzilla.novell.com/show_bug.cgi?id=398701
Ján Kupec
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
participants (1)
-
bugzilla_noreply@novell.com