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:30:19 +0200
- Message-id: <48491FCB.5020603@xxxxxxx>
Lukas Ocilka wrote:
It can be reused, it is dry run policy in commit in libzypp. Only keepPackages must be allowed to don't delete downloaded files after fake install.
Pepa
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
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.Nice idea, but it doesn't fulfill the use-case:
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)
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.
It can be reused, it is dry run policy in commit in libzypp. Only keepPackages must be allowed to don't delete downloaded files after fake install.
Pepa
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |