|
Bugzilla – Full Text Bug Listing |
| Summary: | Yast2 should download all the packages first, and then install them. | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.1 | Reporter: | Luis Augusto Fretes Cuevas <augustofretes> |
| Component: | YaST2 | Assignee: | Jiri Srain <jsrain> |
| Status: | RESOLVED FEATURE | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Enhancement | ||
| Priority: | P5 - None | CC: | forgotten_qMyteedNxa, kailed, lavrinenko_alex |
| Version: | Factory | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | SUSE Other | ||
| See Also: | https://fate.suse.com/305624 | ||
| Whiteboard: | |||
| Found By: | Customer | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Luis Augusto Fretes Cuevas
2008-11-24 06:31:12 UTC
yes, i also think this is an issue. but you can probably do that, see: http://lizards.opensuse.org/2008/10/30/how-survive-zypper-dup-on-system-with-bad-internet-connection/ i`d appreciate it if users could choose between "download all before install (safe, but consuming disk)" and "install at once (unsafe, but less storage required) This is an issue especially when updating (from both the installation system or and the installed system).
Several things come to my mind regarding this:
- libzypp needs to support this, of course
(already planned, see FATE #302159)
- yast should use 'download all, install all' pattern wherever possible:
* installation should be tweaked so that whenever a suitable storage device
is available, it should be used to cache the packages (presumably
the root partition being updated, but not necessarily) => libzypp
must allow apps to choose the desired mode + it should report if there
is not enough space available on the device.
* on an installed system, 'download all, install all' should be used
by default (i.e. also in zypper) => set in zypp.conf.
Jirko, the libzypp part is tracked in FATE #302159 (and elsewhere). Another FATE entry should be created for this request, since this is not trivial to do even with libzypp part ready and we must discuss what to do and what not.
Huh, "download all, install all" should *not* be the default: - it needs much more disk space - it makes the "download next package while installing" feature impossible. but diskspace is cheap and after installation, zypper could ask the user to keep or delete that stuff - i think "safety first" is the better default strategy. anyway - it should be left up to the user if he want`s the safe, but slow and diskspace consuming approach or the quicker one, which imposes risks.... I agree with Roland. And regarding the parallel download & install - anyone will be free to enable that feature anytime the want. But 'download all, install all', as a safer option, should be the default. +1 for "safety first". Please consider also deleting of obsolete packages at very last stage - twice i ran into condition when obsolete library package was deleted first and this deadlocked update because not yet updated rpm and zypper where linked against removed obsolete lib package. I've created fate #305624 (I did not find any requresting 'download all first'); this should be tackled within the commit rewrite. |