【问题标题】:Is there a repository engine issue for google cloud datalab on Linux Mint 18.3?Linux Mint 18.3 上的 google cloud datalab 是否存在存储库引擎问题?
【发布时间】:2018-02-11 20:58:09
【问题描述】:

我在尝试安装 google cloud datalab 时遇到错误:

$ sudo apt-get update
    ...
    Ign:18 http://packages.cloud.google.com/apt cloud-sdk-sylvia/main Translation-en
    Reading package lists... Done
    W: The repository 'http://packages.cloud.google.com/apt cloud-sdk-sylvia Release' does not have a Release file.
    N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    E: Failed to fetch http://packages.cloud.google.com/apt/dists/cloud-sdk-sylvia/main/binary-amd64/Packages  404  Not Found [IP: 2607:f8b0:4007:803::200e 80]
    E: Some index files failed to download. They have been ignored, or old ones used instead.

$ sudo apt-get install google-cloud-sdk-datalab
    [sudo] password for ...: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package google-cloud-sdk-datalab

有人有什么想法吗?有没有人用 linux mint 18.3 让 datalab 工作?

【问题讨论】:

标签: linux cloud linux-mint google-cloud-datalab


【解决方案1】:

我遇到了同样的问题。您必须直接安装 Google SDK。这是链接:google-cloud-sdk-200.0.0-linux-x86_64.tar.gz

解压文件,然后运行./install.sh 然后关闭shell,打开一个new shell 并运行gcloud init

来源:Google Cloud Quickstart for Linux

【讨论】:

    【解决方案2】:

    我遵循相同的步骤并面临相同的问题。因此,只需从 /etc/apt/sources.list.d/google-cloud-sdk.list 中删除新添加的 repo 并使用简单的方式安装 gcloud sdk

    sudo apt-get update && sudo apt-get install google-cloud-sdk
    

    使用 repos 和密钥忽略所有步骤。一切正常。

    PS 我已经安装了 Python 2.7

    编辑虽然此解决方案适用于 gcloud init 等基本操作,但我必须另外遵循 @kurdtpage 答案中提到的 Quick Start 才能使 gcloud components update 和所有其他组件正常工作

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-03-29
      • 2018-10-12
      • 1970-01-01
      • 2019-03-21
      • 2018-06-08
      • 2011-01-31
      • 2019-01-05
      • 1970-01-01
      相关资源
      最近更新 更多