acs-engine icon indicating copy to clipboard operation
acs-engine copied to clipboard

Starting dev environment with devenv.ps1 fails as of today

Open skinny opened this issue 8 years ago • 3 comments

As of today the devenv.ps1 script started throwing errors about a missing package :

gpg: key 417A0893: public key "MS Open Tech <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
Get:1 https://apt-mo.trafficmanager.net/repos/dotnet-release xenial InRelease [2836 B]
Get:2 https://apt-mo.trafficmanager.net/repos/dotnet-release xenial/main amd64 Packages [10.6 kB]
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:4 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [77.7 kB]
Hit:5 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:6 https://download.docker.com/linux/ubuntu xenial InRelease [65.8 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:9 https://download.docker.com/linux/ubuntu xenial/edge amd64 Packages [4124 B]
Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [251 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [975 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [798 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [18.5 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [7734 B]
Get:15 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [602 kB]
Get:16 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [430 kB]
Get:17 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [3489 B]
Fetched 3555 kB in 3s (1153 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 dotnet-sdk-2.0.0-preview2-006497 : Depends: dotnet-runtime-2.0.0-preview2-25407-01 but it is not installable
E: Unable to correct problems, you have held broken packages.
The command '/bin/sh -c echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ xenial main" > /etc/apt/sources.list.d/dotnetdev.list     && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893     && apt-get update     && apt-get -y install dotnet-sdk-2.0.0-preview2-006497' returned a non-zero code: 100

This makes building the project a lot harder ;-)

I tried this on two systems with clean clones of the github project.

skinny avatar Apr 11 '18 21:04 skinny

@JiangtianLi can you take a look at this please?

CecileRobertMichon avatar Apr 11 '18 21:04 CecileRobertMichon

@skinny as a workaround in the meantime you can run make dev to start a container and then run make build etc from there

CecileRobertMichon avatar Apr 11 '18 22:04 CecileRobertMichon

@skinny Thanks for reporting this. Fixed in https://github.com/Azure/acs-engine/pull/2660

JiangtianLi avatar Apr 12 '18 01:04 JiangtianLi