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 / 问题

问题[dependencies](ubuntu)

Martin Hope
Abderahim
Asked: 2024-05-11 00:28:37 +0800 CST

Ubuntu依赖多版本

  • 5

我有一个问题,我想安装多个软件,每个软件都需要特定版本的依赖项。可以安装多个版本吗?如果没有,有什么办法或者想法可以解决这个问题吗?谢谢

dependencies
  • 1 个回答
  • 29 Views
Martin Hope
Pedro Yamaguchi
Asked: 2023-12-02 01:55:21 +0800 CST

Forticlient VPN无法安装在23.10上。

  • 7

要安装应用程序,我遵循了这个文档链接中提供的说明。

在安装过程中,我发现了一些错误:

  1. 错误的gpg密钥。解决方案
  2. 无法安装libgconf-2-4。解决方案
  3. 无法安装libappindicator1。

问题是,如何解决这第三个错误?

dependencies
  • 2 个回答
  • 925 Views
Martin Hope
nightwatch
Asked: 2022-12-31 03:00:46 +0800 CST

如何更新 Lutris

  • 8

我在 Ubuntu 20.04 桌面上,当我尝试更新/升级 lutris 时,我总是会收到此错误

The following packages have unmet dependencies:
 lutris : Depends: gir1.2-webkit2-4.1 but it is not installable
E: Unable to correct problems, you have held broken packages.

我搜索了 Ubuntu 软件包网站并看到gir1.2-webkit2-4.1:
https ://packages.ubuntu.com/search?keywords=Gir1.2-webkit2-4.1&searchon=names&suite=kinetic§ion=all

仅适用于 ubuntu 22.04 或 debian。

我该如何进行?

dependencies
  • 1 个回答
  • 64 Views
Martin Hope
bvargo
Asked: 2022-05-11 07:25:49 +0800 CST

22.04: 如何解决“libdbus-1-dev : Depends: libdbus-1-3 (= 1.12.20-2ubuntu4) but 1.12.20-3~devacom is to be installed”?

  • 0

我一直在尝试编译一些东西(ffmpeg,smooth),我遇到了这个 dbus 错误。它似乎与 Ubuntu 22.04 有关,因为我在 18.04 或 20.04 中编译 ffmpeg 没有问题。

$ apt install libgtk-3-dev
Reading package lists... Done
Building dependency tree... Done
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:
 libdbus-1-dev : Depends: libdbus-1-3 (= 1.12.20-2ubuntu4) but 1.12.20-3~devacom is to be installed
E: Unable to correct problems, you have held broken packages.

$ apt install libsdl2-dev 
Reading package lists... Done
Building dependency tree... Done
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:
 libdbus-1-dev : Depends: libdbus-1-3 (= 1.12.20-2ubuntu4) but 1.12.20-3~devacom is to be installed
E: Unable to correct problems, you have held broken packages.

$ apt install libdbus-1-dev
Reading package lists... Done
Building dependency tree... Done
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:
 libdbus-1-dev : Depends: libdbus-1-3 (= 1.12.20-2ubuntu4) but 1.12.20-3~devacom is to be installed
E: Unable to correct problems, you have held broken packages.
dependencies
  • 1 个回答
  • 168 Views
Martin Hope
Михаил Ребров
Asked: 2021-11-07 09:09:31 +0800 CST

在 Ubuntu 21.10 上安装 php-intl 扩展时出现 libicu66 问题

  • 3
sudo apt install php7.0-intl

输出:

The following packages have unmet dependencies:
 php7.0-intl : Depends: libicu66 (>= 66.1-1~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

以前的版本从来没有这个依赖的问题

有任何想法吗?..

> uname -a

Linux ###### 5.13.0-21-generic #21-Ubuntu SMP Tue Oct 19 08:59:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
dependencies
  • 1 个回答
  • 1355 Views
Martin Hope
Paul Grinberg
Asked: 2021-08-10 10:31:50 +0800 CST

多个DEB提供virtual package,列为Depends

  • 3

我有自己的 APT 存储库,其中包含我创建/打包的自定义 DEB。在这个 repo 中有一组 DEB 包,它们的控制文件中有以下内容

Package: my-foo-<type>
Architecture: any
Section: admin
Provides: my-foo
Conflicts: my-foo

where<type>是几种类型之一(例如abc,def等)。换句话说,我有多个提供相同虚拟包的实际my-foo包。正如预期的那样,如果我尝试运行apt install my-foo,我会看到预期的提示

Package my-foo is a virtual package provided by:
  my-foo-abc 0.3.0-1
  my-foo-def 0.4.3-1
You should explicitly select one to install.

我在同一个仓库中还有另一个包,它Depends: my-foo在它的控制文件中。我希望当我尝试安装此软件包而没有明确指定my-foo要使用的虚拟风味时,同样应该提示我进行选择。但是,这不是我得到的 - apt 似乎选择了第一个满足虚拟包名称的包。

有没有办法强制执行所需的行为?

dependencies
  • 1 个回答
  • 99 Views
Martin Hope
Neil H.
Asked: 2021-07-01 11:54:39 +0800 CST

卸载的程序不会重新安装,因为现在不满足依赖关系?

  • 1

Ubuntu 20.04

自 Ubuntu 18 以来,我一直使用(古代 - 2006 年)目录管理软件 Gwhere。最近,在启动时,它“忘记”了存储数据的目录,每次使用该软件时都必须打开它。

所以我想我会卸载(使用 Synaptic 包管理器)并使用下载的 .Deb 文件重新安装软件。

然而,尽管 Synaptic 告诉我我已经安装了 libglib2.0,但现在包安装程序告诉我依赖关系不满足(libglib1.2)。

谁能指出我如何让​​ Gwhere 再次工作 - 就像 20 分钟前我试图用我的大锤解决一个非常小的问题一样。我无法提出更集中的问题,因为我什至不知道从哪里开始寻找。

感谢您的帮助,尼尔

dependencies
  • 1 个回答
  • 44 Views
Martin Hope
A D
Asked: 2021-06-26 01:57:35 +0800 CST

缺少 libm.so.6 和 libstdc++.so.6

  • 0

我有一个通过 qt creator 编译的程序,在我的计算机上似乎可以正常工作,但我试图在远程计算机集群上运行它,它会吐出这些错误消息。

./programs/sampleapp: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by ./programs/sampleapp)
./programs/sampleapp: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by ./programs/sampleapp)
./programs/sampleapp: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./programs/sampleapp)

我猜这些依赖项丢失了?我不知道在哪里可以找到它们。谷歌搜索他们并没有让我找到任何有用的东西,我试过搜索我自己的电脑但没有运气。

dependencies
  • 1 个回答
  • 976 Views
Martin Hope
user1282075
Asked: 2021-05-28 09:17:50 +0800 CST

难以建立热情,任何人都可以帮助我解决依赖关系吗?我试过重新安装一切都无济于事

  • -1

我在构建 Ardour 时遇到了麻烦。任何人都可以帮助我解决依赖关系吗?我试过重新安装一切都无济于事。

luis@Luis-Macbook:~/Downloads/music/DAW/ardour/ardour$ ./waf configure
Setting top to                           : /home/luis/Downloads/music/DAW/ardour/ardour 
Setting out to                           : /home/luis/Downloads/music/DAW/ardour/ardour/build 
Checking for 'gcc' (C compiler)          : /usr/bin/gcc 
Checking for 'g++' (C++ compiler)        : /usr/bin/g++ 

Global Configuration 
 * Install prefix                                    : /usr/local 
 * Debuggable build                                  : True 
 * Build documentation                               : False 

Ardour Configuration 
 * Will build against private GTK dependency stack   : no 
 * Will rely on libintl built into libc              : yes 
 * Will build against private Ardour dependency stack : no 
Checking for function 'dlopen' in dlfcn.h            : yes 
Checking for boost library >= 1.56                   : ok 
Checking for program 'pkg-config'                    : /usr/bin/pkg-config 
Checking for 'alsa'                                  : yes 
Checking for 'libpulse'                              : yes 
Checking for 'glib-2.0' >= 2.28                      : yes 
Checking for 'glib-2.0' >= 2.68                      : not found 
Checking for 'gthread-2.0' >= 2.2                    : yes 
Checking for 'glibmm-2.4' >= 2.32.0                  : yes 
Checking for 'sndfile' >= 1.0.18                     : yes 
Checking for 'giomm-2.4' >= 2.2                      : yes 
Checking for 'libcurl' >= 7.0.0                      : yes 
Checking for 'libarchive' >= 3.0.0                   : yes 
Checking for 'liblo' >= 0.26                         : not found 
The configuration failed
(complete log in /home/luis/Downloads/music/DAW/ardour/ardour/build/config.log)

log 
Checking for 'liblo' >= 0.26 ['/usr/bin/pkg-config', 'liblo >= 0.26', '--cflags', '--libs', 'liblo'] 
err: Package liblo was not found in the pkg-config search path. Perhaps you should add the directory containing liblo.pc' 
to the PKG_CONFIG_PATH environment variable No package 'liblo' found Package liblo was not found in the pkg-config search path. 
Perhaps you should add the directory containing liblo.pc' 
to the PKG_CONFIG_PATH environment variable No package 'liblo' found 

Checking for 'glib-2.0' >= 2.68
['/usr/bin/pkg-config', 'glib-2.0 >= 2.68', '--cflags', '--libs', 'glib-2.0']
err: Requested 'glib-2.0 >= 2.68' but version of GLib is 2.56.4
not found

Ubuntu 18.04.4

dependencies
  • 1 个回答
  • 690 Views
Martin Hope
user2616079
Asked: 2021-01-04 13:32:13 +0800 CST

Ubuntu 20.04:安装 32 位和 64 位库

  • 5

我的(新手)Ubuntu 20.04 服务器配置为 32 位和 64 位架构:

$ dpkg --print-architecture

amd64

$ dpkg --print-foreign-architectures

i386

但是,我似乎无法同时拥有应用程序所依赖的同一库的 32 位和 64 位版本。

apt-get install libodbc1:i386
apt-get install libodbc1

当我安装一个时,另一个被删除。当我安装 32 位版本时,需要 64 位版本的应用程序(Plesk、VS Code)会中断,而当我安装 64 位版本时,需要 32 位版本的应用程序(WineHQ)会中断。

如何安装两者以使所有应用程序正常工作?

更新

当我运行以下命令时,我得到以下信息:

$ sudo apt install libodbc1 libodbc1:i386
The following packages have unmet dependencies:
 libodbc1 : Breaks: libodbc1:i386 (!= 2.3.7) but 2.3.6-0.1build1 is to be installed
 libodbc1:i386 : Breaks: libodbc1 (!= 2.3.6-0.1build1) but 2.3.7 is to be installed
E: Unable to correct problems, you have held broken packages.

而且,当我运行以下命令时,我得到以下信息:

$ apt policy libodbc1
libodbc1:
  Installed: 2.3.7
  Candidate: 2.3.7
  Version table:
 *** 2.3.7 500
        500 https://packages.microsoft.com/ubuntu/20.04/prod focal/main amd64 Packages
        100 /var/lib/dpkg/status
     2.3.6-0.1build1 500
        500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
dependencies
  • 2 个回答
  • 8744 Views

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