AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1490241
Accepted
Kvothe
Kvothe
Asked: 2023-10-25 00:43:26 +0800 CST2023-10-25 00:43:26 +0800 CST 2023-10-25 00:43:26 +0800 CST

安装 OneDrive

  • 772

这对我来说只是一个非常愚蠢的错误。不知怎的,我以为我有 Ubuntu 22.04 并按照这些说明进行操作。我实际上有20.04。


我正在尝试按照https://github.com/abraunegg/onedrive/blob/master/docs/ubuntu-package-install.md#distribution-ubuntu-2204上的说明安装 OneDrive,但是我无法完成安装,因为

sudo apt install --no-install-recommends --no-install-suggests onedrive

回报

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 onedrive : Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.12 is to be installed
            Depends: libphobos2-ldc-shared98 (>= 1:1.28.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

如果我尝试显示持有的包裹

apt-mark showhold

它什么也不返回。

sudo apt-get --with-new-pkgs upgrade

没有帮助。

sudo apt-get upgrade

节目

The following packages have been kept back:
  libass9 libgegl-0.4-0 protonvpn

我试过

sudo apt-get --with-new-pkgs upgrade libass9

这似乎有效但是

sudo apt-get --with-new-pkgs upgrade libgegl-0.4-0

没有。它回来了

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libgegl-0.4-0 : Depends: libopenexr23 but it is not installable
E: Broken packages
20.04
  • 1 1 个回答
  • 57 Views

1 个回答

  • Voted
  1. Best Answer
    abraunegg
    2023-10-25T07:22:25+08:002023-10-25T07:22:25+08:00

    披露:我是 Linux 版 OneDrive 客户端的开发人员 - https://github.com/abraunegg/onedrive

    根据我在 GitHub 上的回复,很遗憾,您遵循的操作系统说明不正确。从错误信息来看:

    • libc6 (2.31-0ubuntu9.12) ( https://packages.ubuntu.com/focal-updates/libc6 ) 用于“Focal”。
    • libphobos2-ldc-shared98 (1:1.28.0-1ubuntu1) ( https://packages.ubuntu.com/jammy/libphobos2-ldc-shared98 ) 用于“Jammy”。

    Focal 是 Ubuntu 20.x,Jammy 是 Ubuntu 22.x,因此显示的错误消息提示您遵循“Jammy”(Ubuntu 22.x) 的说明,而不是使用实际 Ubuntu 版本的说明。这就是您无法安装“libphobos2-ldc-shared98”的原因,因为“Focal”不存在“libphobos2-ldc-shared98”,以及您无法安装该应用程序的原因。

    请小心并遵循适合您的 Ubuntu 版本的正确安装步骤,以避免出现此类错误。

    • 4

相关问题

  • 如何在 18.04..20.04 上设置本地通配符 (127.0.0.1) 域解析?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve