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.
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?
Edit this part of /etc/slackpkg/slackpkg.conf:
Thanks so much. Didn't know that it was that simple.
Sometimes I put on my programmer hat before my normal user hat.
Now running on "Current" happily. :)
|All times are GMT -5. The time now is 11:32 PM.|