Stephan Kulow wrote:
Am Freitag 06 Juni 2008 schrieb Lukas Ocilka:
Josef Reidinger wrote:
During testing I find way, how separate download and install of packages. It is quite easy with zypper.
1) enable keeping package for repository (zypper mr -k repo) 2) run zypper in -D (dry run, only test install) 3) disconnect from internet (rcnetwork stop) 4) rerun zypper in without -D and it works
Possibly problems 1) metadata must be valid and autorefresh disabled 2) packages rpm is kept after install (delete after successful install can be useful) Nice idea, but it doesn't fulfill the use-case:
You confuse use-cases. Other people want zypper to behave like smart: download all packages and then install in one transaction. Josef's hack only does the first part :)
OK, I was actually writing about the use-case from FATE and bugzilla and mailing-lists where users want exactly this ;) Yes, for zypper, this might work ... but does it make sense to implement code that couldn't be reused? In the times of libzypp :)? L.