Dňa Thursday 04 October 2007 14:27:20 Igor Jagec ste napísal: > On Čet, 2007-10-04 at 07:48 -0300, Gabriel wrote: > > Cristian Rodriguez escribió: > > >> First download all > > >> packages (keeping them on a special location), and after finishing the > > >> download, install them. > > > > > > that is called "transaction", I suspect that there is a good reason why > > > it is not implemented the way you suggest. > > > > If there is a good reason, I would like to know which is it. > > Me too. I must say I didn't figure what's the purpose of that approach. > For instance, Yum also downloads all the packages first, then updates > them. Since I'm still officially a Fedora user (I'll switch to openSUSE > 10.3 over the weekend), I'm quite familiar with Yum. And the funny thing > is that Fedora developers also don't like SmartPM very much.
The most important feature for download and install is that you can operate under very restricted situations, e.g. disk and memory requirements. I agree that on a running system, this is not the most effective approach. What needs to be determined is to figure out how much space you can spare to download the packages and this is not very easy to do. Just imagine a package that will need to create a big new file in its post-install script (think initrd for a new kernel). You can hardly predict, only to use heuristics. Stano --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
