|
Bugzilla – Full Text Bug Listing |
| Summary: | release notes: zypper downloads first | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.4 | Reporter: | Karl Eichwalder <ke> |
| Component: | Release Notes | Assignee: | Karl Eichwalder <ke> |
| Status: | RESOLVED FIXED | QA Contact: | Stephan Kulow <coolo> |
| Severity: | Enhancement | ||
| Priority: | P3 - Medium | CC: | mvidner, nettezzaumanaa, suse-beta |
| Version: | Factory | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | maint:released:11.4:40494 | ||
| Found By: | Documentation | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Bug Depends on: | |||
| Bug Blocks: | 683822 | ||
|
Description
Karl Eichwalder
2011-03-31 12:28:23 UTC
I propose something as follows (Michel, please provide more info, esp. how to switch back to the old behavior): Installing with Zypper Needs More Space ======================================= The Zypper installation behavior has been changed: It first downloads all packages, before it starts installing them. This means, it now needs more disk space, when it processed one package after the other. If you are short on disk space, set ..... The download mode applies to all applications using libzypp (zypper,yast,PK,..).
Zypper cmdline supports e.g:
--download-in-advance
First download all packages, ten start installing.
--download-as-needed
Download one package, install it immediately, and continue with
the rest until all are installed.
The global default can be set in /etc/zypp/zypp.conf:
##
## Commit download policy to use as default.
##
## DownloadOnly, Just download all packages to the local cache.
## Do not install. Implies a dry-run.
##
## DownloadInAdvance, First download all packages to the local cache.
## Then start to install.
##
## DownloadInHeaps, Similar to DownloadInAdvance, but try to split
## the transaction into heaps, where at the end of
## each heap a consistent system state is reached.
##
## DownloadAsNeeded Alternating download and install. Packages are
## cached just to avid CD/DVD hopping. This is the
## traditional behaviour.
##
## <UNSET> If a value is not set, empty or unknown, we pick
## some save default.
##
## commit.downloadMode =
The traditional behavior would be:
commit.downloadMode = DownloadAsNeeded
Thanks, here is my proposal (fixed in SVN): <!-- bnc#684104 --> <sect3 id="upg.download" status="2011-04-01"> <title>Default Download Mode Needs More Space</title> <para> The Zypp download mode for package installation has been changed: It first downloads all packages, before it starts installing them. This means, it now needs more disk space. The traditional behavior was to process one package after the other.</para> <para> If you are short on disk space, switch back to the traditional behavior by setting <literal>commit.downloadMode = DownloadAsNeeded</literal> in <filename>/etc/zypp/zypp.conf</filename>.</para> </sect3> Update released for: release-notes-openSUSE Products: openSUSE 11.4 (i586) |