Mailinglist Archive: zypp-devel (83 mails)

< Previous Next >
Re: [zypp-devel] Way how separate download and install package
  • From: Josef Reidinger <jreidinger@xxxxxxx>
  • Date: Fri, 06 Jun 2008 13:21:07 +0200
  • Message-id: <48491DA3.7040108@xxxxxxx>
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 :)

Greetings, Stephan


Does rpm allow something like emerge -> install to some fake root like /var/tmp/fakeroot/ and after successful install to this root install whole this fake root to real root???
Pepa
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >