标签: dependencies

未满足的依赖项 linux-server 依赖于 linux-image-server

在我的Ubuntu 服务器 12.04.2 上,LVM 分区,我在运行时遇到了这个问题apt-get -f install

apt-get-f install
Reading package lists ... done
Building dependency tree
Reading state information ... done
Correcting dependencies ... done
The following packages were automatically installed and are no longer needed:
   linux-image-3.2.0-37-generic linux-headers-3.2.0-37 linux-headers-3.2.0-37-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
   linux-server
The following packages will be upgraded:
   linux-server
1 upgraded, 0 newly installed, 0 to remove and 61 not upgraded.
1 not fully …
Run Code Online (Sandbox Code Playgroud)

server dependencies kernel

2
推荐指数
1
解决办法
3655
查看次数

由于软件包损坏,无法在 ubuntu 13.10 中安装 g++

当我尝试在我的机器上安装 g++ 时,我收到以下消息。

support:/$ sudo apt-get install g++
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:
 g++ : Depends: gcc (>= 4:4.8.1-2ubuntu3) but …
Run Code Online (Sandbox Code Playgroud)

package-management apt dependencies

2
推荐指数
1
解决办法
1万
查看次数

无法解析包依赖项 Ubuntu 14.04 vlc-audacius

vlc: Depends: vlc-nox (= 2.1.4-0ubuntu14.04.1) but 2.1.4-0ubuntu14.04.1 is to be installed

     Depends: libc6 (>= 2.15) but 2.19-0ubuntu6 is to be installed
     Depends: libfreetype6 (>= 2.2.1) but 2.5.2-1ubuntu2.2 is to be installed
     Depends: libgcc1 (>= 1:4.1.1) but 1:4.9-20140406-0ubuntu1 is to be installed
     Depends: libqtcore4 (>= 4:4.8.0) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 is to be installed
     Depends: libqtgui4 (>= 4:4.8.0) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 is to be installed
     Depends: libstdc++6 (>= 4.6) but 4.8.2-19ubuntu1 is to be installed
     Depends: zlib1g (>= 1:1.2.3.3) but 1:1.2.8.dfsg-1ubuntu1 is to be …
Run Code Online (Sandbox Code Playgroud)

package-management dependencies vlc audacious 14.04

2
推荐指数
1
解决办法
2万
查看次数

在缺少依赖项的情况下使用 apt-get autoremove

我的 Ubuntu 服务器实例的/boot分区当前为 100%,我想使用sudo apt-get autoremove. 但是,似乎我缺少一些依赖项,我无法安装这些依赖项/boot,因为 . 我尝试使用sudo apt-get autoremove -f来删除和修复依赖项,但它似乎想在删除其他所有内容之前安装依赖项。有没有办法在安装缺少的依赖项的情况下删除未使用的依赖项/包?如果有帮助,我已经在下面包含了我的终端输出。

mkoch@ubuntu:~$ sudo apt-get autoremove -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  linux-generic linux-headers-3.13.0-39 linux-headers-3.13.0-39-generic
  linux-headers-generic linux-image-3.13.0-39-generic
  linux-image-extra-3.13.0-39-generic linux-image-generic
Suggested packages:
  fdutils linux-doc-3.13.0 linux-source-3.13.0 linux-tools
The following packages will be REMOVED:
  linux-headers-3.13.0-24 linux-headers-3.13.0-24-generic
  linux-headers-3.13.0-27 linux-headers-3.13.0-27-generic
  linux-headers-3.13.0-29 linux-headers-3.13.0-29-generic
  linux-headers-3.13.0-30 linux-headers-3.13.0-30-generic
  linux-headers-3.13.0-32 linux-headers-3.13.0-32-generic
  linux-headers-3.13.0-33 …
Run Code Online (Sandbox Code Playgroud)

apt dependencies

2
推荐指数
1
解决办法
7908
查看次数

无法解决未满足的依赖

我试图解决我的一个问题,但我遇到了一些困难。我无法安装/删除/dist-upgrade/clean/autoclean 任何包。当我尝试运行sudo apt-get -f install以修复未满足的依赖项时,我得到:

orian@orian-desktop:~$ sudo apt-get -f install
[sudo] password for orian: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
cpp-4.8-arm-linux-gnueabihf cpp-arm-linux-gnueabihf dh-apparmor diffstat
gcc-4.8-arm-linux-gnueabihf-base gettext intltool-debian lib32asan0
lib32atomic1 lib32gcc1 lib32gomp1 lib32itm1 lib32quadmath0 lib32stdc++6
libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
libapt-pkg-perl libarchive-zip-perl libasan0 libasan0-armhf-cross
libasprintf-dev libatomic1 libatomic1-armhf-cross libauthen-sasl-perl
libautodie-perl libbonobo2-common libbonoboui2-common
libc6-armel-armhf-cross libc6-armel-cross libc6-armhf-cross
libc6-dev-armel-armhf-cross libc6-dev-armel-cross libc6-dev-armhf-cross
libclass-accessor-perl libclone-perl libcloog-isl4 libdigest-hmac-perl
libdpkg-perl …
Run Code Online (Sandbox Code Playgroud)

apt dependencies

2
推荐指数
1
解决办法
9907
查看次数

ubuntu 12.04 上的 Ubuntu apt-get 升级错误

我正在尝试sudo apt-get upgrade在 mu ubuntu 12.04 上使用 command命令。但是正在向我展示错误。这是在我将 php 5.4 升级到 php5.5 之后

您可能需要运行 'apt-get -f install' 来纠正这些问题。以下软件包具有未满足的依赖项: libapache2-mod-php5 :依赖项:apache2-api-20120211 依赖项:apache2 (>= 2.4) E:未满足的依赖项。尝试使用 -f。

然后我运行了命令

sudo apt-get install -f
Run Code Online (Sandbox Code Playgroud)

解决依赖问题,它也给了我错误

 Unpacking apache2-bin (from
 .../apache2-bin_2.4.16-3+deb.sury.org~precise+1_amd64.deb) ... dpkg:
 error processing
 /var/cache/apt/archives/apache2-bin_2.4.16-3+deb.sury.org~precise+1_amd64.deb
 (--unpack):  trying to overwrite '/usr/share/man/man8/apache2.8.gz',
 which is also in package apache2.2-common 2.2.22-1ubuntu1.10 dpkg-deb
 (subprocess): subprocess data was killed by signal (Broken pipe)
 dpkg-deb: error: subprocess <decompress> returned error exit status 2
 Unpacking apache2-data (from
 .../apache2-data_2.4.16-3+deb.sury.org~precise+1_all.deb) ... …
Run Code Online (Sandbox Code Playgroud)

php dependencies apache2 12.04

2
推荐指数
1
解决办法
4724
查看次数

apt 不安装大多数已知的软件包

我安装了一个全新的 Ubuntu 14.04.03,但遇到了一个我以前从未遇到过的问题。

登录新安装时我做的第一件事是 apt-get update 和 upgrade。然后我想安装 apache2,但我收到一个错误,说我损坏了软件包。 损坏的依赖项/包

我什至不知道我应该从哪里开始寻找,因为我以前从未发生过这种情况。我试过了apt-get autocleanapt-get -f install但它什么也没做。

任何帮助深表感谢!

编辑:

sync-s@sync-s:~$ apt-cache policy apache2 apache2-bin ssl-cert
apache2:
  Installed: (none)
  Candidate: 2.4.7-1ubuntu4.5
  Version table:
     2.4.7-1ubuntu4.5 0
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
apache2-bin:
  Installed: (none)
  Candidate: 2.4.7-1ubuntu4.5
  Version table:
     2.4.7-1ubuntu4.5 0
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
ssl-cert:
  Installed: (none)
  Candidate: (none)
  Version table:
Run Code Online (Sandbox Code Playgroud)

尝试安装php5:

sync-s@sync-s:~$ sudo apt-get install php5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could …
Run Code Online (Sandbox Code Playgroud)

package-management apt dependencies apache2

2
推荐指数
1
解决办法
5144
查看次数

安装了错误的 libc6-dev 版本

我想在我的 ubuntu 服务器 14.04 LTS 上安装一个 ARK 服务器,我认为我完全搞砸了我的系统。

我所做的是这个

nano /etc/apt/sources.list
Run Code Online (Sandbox Code Playgroud)

并将其添加到文件中

# Experimental/unstable (sid) repositories
deb http://ftp.debian.org/debian experimental main
deb http://ftp.debian.org/debian sid main
Run Code Online (Sandbox Code Playgroud)

进而:

apt-get update
apt-get install libc6-dev
Run Code Online (Sandbox Code Playgroud)

但现在我打破了依赖关系。我尝试了所有标准的东西。

apt-get install -f
apt-get upgrade -f
apt-get dist-upgrade
Run Code Online (Sandbox Code Playgroud)

并尝试了很多我在网上读到的东西,但没有任何效果。

系统运行平稳,除了升级或安装新软件包外,一切正常,因为未满足的依赖项阻止了它。

的输出apt-get upgrade是:

libc-bin : depends on: libc6 (< 2.20) but 2.22-3 is installed
libc-l10n : brocken: locales (< 2.21-0experimental1) but 2.13+git20120306-12.1 is installed
libc6 : brocken: locales (< 2.22) but 2.13+git20120306-12.1 is installed
Run Code Online (Sandbox Code Playgroud)

我用英语翻译了德语的输出。所以我读出来的libc6 …

package-management apt dpkg dependencies 14.04

2
推荐指数
1
解决办法
4万
查看次数

由于未满足的依赖关系,apt-get 更新不起作用

每当我尝试使用apt-get install命令安装时,我都会收到这样的错误

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 ubuntu-release-upgrader-core : Depends: python3-distupgrade (= 1:16.04.14) but 1:16.04.12 is to be installed
 ubuntu-release-upgrader-gtk : Depends: python3-distupgrade (= 1:16.04.14) but 1:16.04.12 is to be installed
 wine : Depends: wine1.6 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify …
Run Code Online (Sandbox Code Playgroud)

upgrade package-management apt dpkg dependencies

2
推荐指数
1
解决办法
1万
查看次数

添加源 URI

我正在尝试运行命令:

sudo apt-get build-dep glfw3
Run Code Online (Sandbox Code Playgroud)

但是,我收到此错误作为回报:

reading package lists... Done
E: You must put some 'source' URIs in your sources.list
Run Code Online (Sandbox Code Playgroud)

我在这里查看了建议:错误 :: 您必须在您的 sources.list 中放入一些“源”URI

但我不确定是否应该使用与顶级评论建议的方法相同的方法,或者如果我这样做了,将这些行放在 /etc/apt/sources.list 的何处。

以下是我安装 GLFW3 的步骤,基本上

1.) Downloaded latest build here: http://www.glfw.org/download.html
2.) Run: sudo apt-get build-dep glfw or sudo apt-get build-dep glfw3 *(stuck on this step)*
3.) run: make, then make install
Run Code Online (Sandbox Code Playgroud)

http://www.glfw.org/download.html 任何帮助表示赞赏。

运行 Ubuntu 桌面 16.04

编辑:

另外,一旦我安装了它,有没有人知道它是否可以在全球范围内使用,或者我是否需要以某种方式将它添加到 shell 中?

apt dependencies

2
推荐指数
1
解决办法
6974
查看次数

标签 统计

dependencies ×10

apt ×7

package-management ×5

14.04 ×2

apache2 ×2

dpkg ×2

12.04 ×1

audacious ×1

kernel ×1

php ×1

server ×1

upgrade ×1

vlc ×1