Babun has a cool package manager, but pact doesn't offer the equivalent of apt upgrade
because you can't really update Cygwin files on Windows while Cygwin is running. Babun's core and plugins update very occasionally but sometimes you want to upgrade all your Cygwin packages at once. This is the script I use to do just that. All it's really doing is downloading Cygwin's setup-x86.exe and running it, and you can do the same manually. I just didn't see this procedure clearly documented anywhere for folks who were sold babun as an easy-to-use Cygwin kit. The only hits are "upgrade one at a time" or "use this command to sorta brute-force it all."
This upgrades everything in one shot.
Notes:
- Remember you have to stop all Cygwin processes!
- Yes, babun only installs 32-bit, as of release 1.2.0
- Script does not check the PGP signature of this EXE before running it
- Modern PowerShell makes you explicitly enable r