Answered
Building aardvark.base on Ubuntu 16.04

On a newly installed Ubuntu 16.04, I did the following:

sudo apt-get install -qq mono-devel
mozroots --import --sync

git clone https://github.com/aardvark-platform/aardvark.base.git
cd aardvark.base
./build.sh
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)...
Copying version 5.156.1 from cache.
Done in 1.33 second(s).
Paket version 5.156.1
Downloading aardvark-platform/aardvark.fake:0bd495d19630a51f886fb4a2374f64fe9088f09d FULLPROJECT to /home/sm/aardvark.base/paket-files/build/aardvark-platform/aardvark.fake/FULLPROJECT
  - Download failed. Trying again. (4 trials left)
  - Download failed. Trying again. (3 trials left)
  - Download failed. Trying again. (2 trials left)
  - Download failed. Trying again. (1 trials left)
  - Download failed. Trying again. (0 trials left)
Performance:
 - Average Download Time: 208 milliseconds
 - Number of downloads: 6
 - Runtime: 1 second
Paket failed with
-> Could not download from 'https://github.com/aardvark-platform/aardvark.fake/archive/0bd495d19630a51f886fb4a2374f64fe9088f09d.zip'
-> WebException: Error: SendFailure (Error writing headers)
-> WebException: Error writing headers
-> IOException: The authentication or decryption has failed.
-> TlsException: The authentication or decryption has failed.
Cannot open assembly 'packages/build/FAKE/tools/FAKE.exe': No such file or directory.

Any ideas?

Votes Newest

Answers 3


follow the following steps to install mono on ubuntu: https://www.mono-project.com/download/stable/#download-lin-ubuntu

  
Posted 1 years ago

Did you try mozroots --import as super user? Seems to be related to https://forums.xamarin.com/discussion/10405/the-authentication-or-decryption-has-failed-in-the-web-request

  
Posted 1 years ago

No I didn't. Now I did, but still the same problem. I will try to find another linux machine and see if it works there.

sm@test:~/aardvark.base$ sudo mozroots --import --sync
Mozilla Roots Importer - version 4.2.1.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'...
Importing certificates into user store...
Import process completed.

sm@test:~/aardvark.base$ ./build.sh
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)...
Copying version 5.156.1 from cache.
Done in 1.28 second(s).
Paket version 5.156.1
Downloading aardvark-platform/aardvark.fake:0bd495d19630a51f886fb4a2374f64fe9088f09d FULLPROJECT to /home/sm/aardvark.base/paket-files/build/aardvark-platform/aardvark.fake/FULLPROJECT
  - Download failed. Trying again. (4 trials left)
  - Download failed. Trying again. (3 trials left)
  - Download failed. Trying again. (2 trials left)
  - Download failed. Trying again. (1 trials left)
  - Download failed. Trying again. (0 trials left)
Performance:
 - Average Download Time: 199 milliseconds
 - Number of downloads: 6
 - Runtime: 1 second
Paket failed with
-> Could not download from 'https://github.com/aardvark-platform/aardvark.fake/archive/0bd495d19630a51f886fb4a2374f64fe9088f09d.zip'
-> WebException: Error: SendFailure (Error writing headers)
-> WebException: Error writing headers
-> IOException: The authentication or decryption has failed.
-> TlsException: The authentication or decryption has failed.
Cannot open assembly 'packages/build/FAKE/tools/FAKE.exe': No such file or directory.
sm@test:~/aardvark.base$

  
Posted 1 years ago