slackpkg upgrade-all and install-new default behaviour altering?
Currently slackpkg upgrade-all and install-new gets the list of packages to upgrade/install and does it one by one.
i.e.
1. fetch the package
2. remove the old package (for upgrade)
3. install the new package.
4. continue from step 1 till all packages are done.
I would like the behaviour to be
1. fetch all packages in list to upgrade/install or offer to fail and exit if download is not complete or md5sum mismatch occurs.
2. apply all the upgrades/install from the downloaded packages.
This would ensure that I don't get a borked system when wget fails to resolve some package, particularly essential packages and upgrading would not be interrupted by downloading process for each package.
Don't you agree that this method is better?
I looked at the slackpkg source code, but it's all shell scripting and awk and I am not a shell programmer (much more comfortable in python). Is it possible at all that in future the default behaviour might be altered?
Last edited by vharishankar; 08-08-2012 at 01:06 AM.
|