Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing dependencies in Linux should allow for --allow-unauthenticated #1353

Closed
ophintor opened this issue Jan 4, 2018 · 3 comments
Closed

Comments

@ophintor
Copy link

ophintor commented Jan 4, 2018

Have you try trouble shooting doc?

Yes

Agent version and platform

2.126

OS of the machine running the agent? ubuntu 16.04

What's not working?

Installing dependencies in Linux should allow for --allow-unauthenticated:

ssh-user@ubuntu000000:~/myagent$ sudo ./bin/installdependencies.sh --sslskipcertvalidation
--------OS Information--------
NAME="Ubuntu"
VERSION="16.04.1 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.1 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
------------------------------
The current OS is Debian based
--------Debian Version--------
stretch/sid
------------------------------
/usr/bin/apt
Hit:1 http://azure.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:3 http://azure.archive.ubuntu.com/ubuntu xenial-updates InRelease              
Hit:4 http://azure.archive.ubuntu.com/ubuntu xenial-backports InRelease            
Hit:5 https://deb.nodesource.com/node_7.x xenial InRelease                         
Err:6 https://packages.microsoft.com/repos/azure-cli wheezy InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B02C46DF417A0893
Reading package lists... Done
W: GPG error: https://packages.microsoft.com/repos/azure-cli wheezy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B02C46DF417A0893
E: The repository 'https://packages.microsoft.com/repos/azure-cli wheezy InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
'apt' failed with exit code '0'
Can't install dotnet core dependencies.
You can manually install all required dependencies base on follwoing documentation
https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore2x
@ophintor
Copy link
Author

ophintor commented Jan 4, 2018

Fixed by running the above - apologies. Not sure if this is documented though.

sudo apt-key adv --keyserver packages.microsoft.com --recv-keys B02C46DF417A0893

@TingluoHuang
Copy link
Contributor

@ophintor thanks for reporting this, i will update the doc with what you find.

@TingluoHuang
Copy link
Contributor

close the issue after the doc been updated. aeeb9be

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants