【问题标题】:Trouble upgrading R on Debian 10 (buster) running on a Lenovo Chromebook在 Lenovo Chromebook 上运行的 Debian 10(buster)上升级 R 时遇到问题
【发布时间】:2020-12-20 19:48:50
【问题描述】:

我有一台带有 Debian 10 (buster) 应用程序的新联想 Chromebook。这是一个在终端中运行 linux 的应用程序。我正在尝试安装最新版本的统计软件 R (4.0.3),但它一直恢复到 3.5.2 版本。我收到以下错误,无论我卸载并重新安装 r-base 和 r-base-core 多少次,它都不会让我安装 4.X.X。我已经尝试过此修复:https://www.charlesbordet.com/en/how...0-0-on-debian/ 但我仍然收到以下错误。任何建议将不胜感激!

以下包具有未满足的依赖关系: r-base :取决于:r-base-core (>= 4.0.3-1~bustercran.0) 但不会安装 取决于:r-recommended (= 4.0.3-1~bustercran.0) 但不会安装 推荐:r-base-html 但不会安装 E: 无法纠正问题,您持有破损的包裹。

【问题讨论】:

    标签: r debian chromebook debian-buster


    【解决方案1】:

    您需要从buster-cran40 安装r-base-corer-base-html 将作为依赖项安装)。

    确保在您的 /etc/apt/sources.list 中有以下行:

    deb http://cloud.r-project.org/bin/linux/debian buster-cran40/
    

    然后:

    sudo apt update
    sudo apt install -t buster-cran40  r-base-core
    sudo apt install -t buster-cran40  r-base
    

    【讨论】:

      【解决方案2】:

      我无法回答 chromebook,但如果您使用的是常规的 Debian Stable (currently Buster, Debian 10),则当前使用的 GNU R 版本是 3.5。解决这个问题的主要方法有两种:使用backportsrun a container with a newer version of GNU R, as e.g. shown in this video by Dirk Eddelbuettel

      【讨论】:

        猜你喜欢
        • 2023-01-14
        • 1970-01-01
        • 2021-11-08
        • 1970-01-01
        • 1970-01-01
        • 2020-10-16
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多