DataStax Enterprise debian/ubuntu 安装错误


$sudo apt-get update
Fetched 1,499 kB in 13s (107 kB/s)
W: Failed to fetch http://debian.datastax.com/enterprise/dists/stable/main/binary-i386/Packages 401 Unauthorized
E: Some index files failed to download. They have been ignored, or old ones used instead

原帖: http://www.datastax.com/support-forums/topic/datastax-enterprise-installation-error

您提供的凭据在datastax.sources.list文件中使用的凭据无效。

要添加一个名为/etc/apt/sources.list.d/datastax.sources.list 的 DataStax 存储库文件,请执行以下操作:

 $ echo "deb https://dsa_email_address:password@debian.datastax.com/enterprise stable main" | sudo tee -a /etc/apt/sources.list.d/datastax.sources.list

其中dsa_email_address和密码是您在注册页面上创建的DataStax学院帐户凭据。

注意: 根据您的环境,您可能需要将电子邮件地址中的 @ 替换为 %40,并转义操作系统命令行中使用的密码中的任何字符。例子:!和 \|。

帮助:Cassandra 安装文档

这是由用户创建的datastax.sources.list文件中使用的无效凭据引起的。

最新更新