Azure devops 在microsoft托管的azure devops代理中安装coreutils

Azure devops 在microsoft托管的azure devops代理中安装coreutils,azure-devops,Azure Devops,有没有办法在Microsoft托管的azure devops ubuntu-16.04或18.04代理中安装coreutils 基本上,我们需要在构建过程中运行md5sum命令 Apt Get Install-y coreutils给出以下错误:Apt Get:command not found,因为您在hosted agent上,这与您在Linux上的操作不同。请尝试使用下面的命令 sudo apt-get -y install coreutils 无密码sudo已记录在案 在Windo

有没有办法在Microsoft托管的azure devops ubuntu-16.04或18.04代理中安装coreutils

基本上,我们需要在构建过程中运行md5sum命令


Apt Get Install-y coreutils给出以下错误:Apt Get:command not found

,因为您在hosted agent上,这与您在Linux上的操作不同。请尝试使用下面的命令

 sudo apt-get -y install coreutils 
无密码
sudo
已记录在案

在Windows上以管理员身份运行,在Windows上以无密码sudo用户身份运行 Linux


如果上述方法仍然不起作用,建议您将其用作解决方法

因为您在hosted agent上,不像以前在Linux上那样。请尝试使用下面的命令

 sudo apt-get -y install coreutils 
无密码
sudo
已记录在案

在Windows上以管理员身份运行,在Windows上以无密码sudo用户身份运行 Linux

如果上述方法仍然不起作用,建议您将其用作解决方法