News for hackers. Stuff that matters.
Re:Microsoft and Canonical partner to bring Ubuntu to Window... by metafex on Wednesday March 30, 2016 @10:37AM (#11389555)
Cygwin is and always will be only an emulation-layer, never the real deal. For most day-to-day things it works perfectly, but when you run into some corner-case, most of the time you are out of luck.

My only real problem with Cygwin is, that it misses a command-line package manager. If they could adopt pacman for package management like MSYS2 does, I'd be a happy camper.

edit: To deploy Cygwin based applications you need to get a commercial license from RedHat (if it's not FOSS). Which could be a deal-breaker.

Re:Microsoft and Canonical partner to bring Ubuntu to Window... by shadowfox on Wednesday March 30, 2016 @12:31PM (#11390496)
> My only real problem with Cygwin is, that it misses a command-line package manager. If they could adopt pacman for package management like MSYS2 does

There is babun (https://babun.github.io/). It is essentially a wrapper around cygwin and comes with a package manager.

Re:Microsoft and Canonical partner to bring Ubuntu to Window... by typon on Wednesday March 30, 2016 @10:42AM (#11389592)
This is a good answer. I always feel limited in Cygwin, it doesn't feel quite right. And it takes quite a bit of tweaking to get working correctly. Case in point: Try getting gvim to work properly from Cygwin.
Re:Microsoft and Canonical partner to bring Ubuntu to Window... by emodendroket on Wednesday March 30, 2016 @12:42PM (#11390620)
I've always used apt-cyg to install things, which works OK.
Re:Microsoft and Canonical partner to bring Ubuntu to Window... by tavert on Wednesday March 30, 2016 @11:08AM (#11389811)
You realize cygwin's setup.exe package manager has a CLI, right? The issue with pacman in msys2 is that it's posix dependent, which fails badly at updating the core posix layer itself. Cygwin's setup.exe is a native Windows executable and doesn't have this self hosting problem.
Re:Microsoft and Canonical partner to bring Ubuntu to Window... by koenigdavidmj on Wednesday March 30, 2016 @11:28AM (#11390000)
That doesn't solve the problem that if it is trying to update the Cygwin DLL, you need to shut down everything. And if there's an update to something like bash or coreutils, same thing (since Windows does not allow writing to executables that are running).
Re:Microsoft and Canonical partner to bring Ubuntu to Window... by tavert on Wednesday March 30, 2016 @12:13PM (#11390337)
Sure. But self-hosting pacman makes it literally impossible to do correctly. Updating cygwin itself should be done by an outside-of-cygwin solution to invoke setup.exe, just write a little powershell provisioning script or something.
Re:Microsoft and Canonical partner to bring Ubuntu to Window... by Macha on Wednesday March 30, 2016 @01:13PM (#11390977)
?

Arch is certainly capable of updating pacman via pacman,and it's been a while but I'm pretty sure you can update apt/dpkg via the usual apt-get upgrade on Ubuntu

Re:Microsoft and Canonical partner to bring Ubuntu to Window... by tavert on Wednesday March 30, 2016 @02:01PM (#11391493)
Those aren't operating under the restrictions imposed by Windows.