Description
Description
Running paket.boostrapper.exe no longer works in Ubuntu 14.04. This seems to be the same or similar to the issue raised in #1072 but the suggested solution added by #1091 also no longer works.
Repro steps
$ mkdir .paket
$ cd .paket
$ wget "https://github.com/fsprojects/Paket/releases/download/3.6.1/paket.bootstrapper.exe"
$ mono paket.bootstrapper.exe
Checking Paket version (downloading latest stable)...
'Github - cached' download failed. If using Mono, you may need to import trusted certificates using the 'mozroots' tool as none are contained by default. Trying fallback download from 'Nuget - cached'.
Checking Paket version (downloading latest stable)...
Unable to look up the latest version online, the cache contains version 0.
Object reference not set to an instance of an object (Nuget - cached)
Error getting response stream (Write: The authentication or decryption has failed.): SendFailure (Github - cached)
The issue thread and error message suggest using mozroots to import missing certificates. That fails thusly:
$ mozroots --import --sync
Mozilla Roots Importer - version 3.2.8.0
Download and import trusted root certificates from Mozilla's MXR.
Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD licensed.
Downloading from 'http://mxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1'...
Couldn't retrieve the file using the supplied information.
Expected behavior
Bootstrapper downloads paket.exe and/or the suggested mozroots solution solves the certificate problem allowing bootstrapper to download paket.exe.
Actual behavior
Bootstrapper does not download paket.exe. Mozroots does not import any certificates.
Known workarounds
I'd like to hear of any.
Related information
- Operating system: Ubuntu 14.04.4 LTS
- Branch: (of paket?) 3.6.1 release
- Mono version: 3.2.8
It seems like the only issue in paket itself is that the moztools suggestion in the error message isn't terribly helpful. The old version of mono probably adds many problems in its own right but I haven't been able to find a statement in paket's documentation about a minimum supported version.