标签: dependencies

Firefox 未更新,因为 snapd 不存在

系统信息:

  • 乌班图22.04

几天前我刚刚将 Ubuntu 升级到 22.04。几个月前,我卸载了所有与 snap 相关的软件包,包括snapd因为我在一些在线资源上读到 snap 软件包可能会导致系统速度变慢。而且,他们违背了开源精神。于是我热情地把它们去掉了。此后,我必须使用apt. 这没有问题。

升级后,每当我运行

sudo apt update && sudo apt upgrade
Run Code Online (Sandbox Code Playgroud)

我得到以下输出:

sudo apt update && sudo apt upgrade
Run Code Online (Sandbox Code Playgroud)

我在网上搜索了一下,发现安装上述软件包可以解决这个问题。这种方法解决了 libomp-dev 的问题,但没有解决 firefox 的问题。当我跑步时:

sudo apt install firefox
Run Code Online (Sandbox Code Playgroud)

我有:

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 …
Run Code Online (Sandbox Code Playgroud)

upgrade package-management firefox dependencies snap

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

无法安装侏儒

嘿!我有 ubuntu 服务器 10.10。我正在尝试安装gui。我已经安装了这些软件包:xser​​ver-xorg xinit

我尝试安装 gnome,但总是收到此错误:

以下软件包具有未满足的依赖项: gnome : Depends: gnome-desktop-environment (>= 1:2.28+1ubuntu4) 但它不会被安装依赖:epiphany-extensions 但它不会被安装

我似乎无法找到顿悟的扩展。这是我的 source.list 文件:

deb http://pt.archive.ubuntu.com/ubuntu/ 特立独行的主要受限 deb-src http://pt.archive.ubuntu.com/ubuntu/ 特立独行的主要受限

deb http://pt.archive.ubuntu.com/ubuntu/ maverick-updates 主要受限 deb-src http://pt.archive.ubuntu.com/ubuntu/ maverick-updates 主要受限

deb http://pt.archive.ubuntu.com/ubuntu/ 特立独行的宇宙 deb-src http://pt.archive.ubuntu.com/ubuntu/ 特立独行的宇宙 deb http://pt.archive.ubuntu.com/ubuntu / maverick-updates Universe deb-src http://pt.archive.ubuntu.com/ubuntu/maverick-updates Universe

deb http://pt.archive.ubuntu.com/ubuntu/ Maverick multiverse deb-src http://pt.archive.ubuntu.com/ubuntu/ Maverick multiverse deb http://pt.archive.ubuntu.com/ubuntu / maverick-updates multiverse deb-src http://pt.archive.ubuntu.com/ubuntu/ maverick-updates multiverse

deb http://pt.archive.ubuntu.com/ubuntu/ maverick-backports 主要受限宇宙多元宇宙 deb-src http://pt.archive.ubuntu.com/ubuntu/ maverick-backports 主要受限宇宙多元宇宙

deb http://archive.canonical.com/ubuntu 特立独行合作伙伴 deb-src http://archive.canonical.com/ubuntu 特立独行合作伙伴

deb http://extras.ubuntu.com/ubuntu …

server gnome dependencies

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

默认获取构建依赖项和源

是否有一个应用程序可以在我们从 .deb 包或软件中心安装软件时自动下载软件的构建依赖项以及源代码?

dependencies compiling downloads

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

以下软件包具有未满足的依赖项 (apache)

The following packages have unmet dependencies:

apache2: 
    Depends: apache2-mpm-worker (= 2.2.22-1ubuntu1) but 2.2.22-1ubuntu1.2 is to be installed or
             apache2-mpm-prefork (= 2.2.22-1ubuntu1) but it is not going to be installed or
             apache2-mpm-event (= 2.2.22-1ubuntu1) but it is not going to be installed or
             apache2-mpm-itk (= 2.2.22-1ubuntu1) but it is not going to be installed
    Depends: apache2.2-common (= 2.2.22-1ubuntu1) but 2.2.22-1ubuntu1.2 is to be installed

E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)

重新安装apache时遇到问题。

package-management dependencies apache2

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

由于未满足的依赖项,无法安装 gcc-4.8

我试图从这个 PPA使用Synapticgcc-4.8.1升级到gcc-4.8.2。安装执行没有问题,但突然间我根本没有 gcc-4.8。我同时使用 gcc-4.7 和 gcc-4.8,但由于某种原因只剩下 4.7。然后我尝试使用重新安装 gcc-4.8但我遇到了未满足的依赖项错误。我试图使用这个问题的答案来解决这个问题,但无济于事。apt-get install

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

结果是:

...
The following packages have unmet dependencies:
 gcc-4.8 : Depends: binutils (>= 2.23.90.20131017) but
2.23.52.20130913-0ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)

以下是输出:

martin@martin-Studio-1537:~$ cat /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu saucy main universe restricted multiverse
deb http://security.ubuntu.com/ubuntu/ saucy-security main universe restricted multiverse
deb http://archive.ubuntu.com/ubuntu saucy-updates main …
Run Code Online (Sandbox Code Playgroud)

installation ppa dependencies gcc 13.10

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

在 15.10 上安装 kubuntu-desktop 失败并中断 APT

我没有为 KDE 使用 PPA,只是使用库存版本。我尝试安装 kubuntu-desktop,但失败了:

Unpacking kde-config-telepathy-accounts (4:15.08.2-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/kde-config-telepathy-accounts_4%3a15.08.2-0ubuntu1_amd64.deb (--unpack):
trying to overwrite '/usr/share/accounts/services/google-im.service', which is also in package account-plugin-google 0.12+15.10.20150723-0ubuntu1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/kde-config-telepathy-accounts_4%3a15.08.2-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1) code here
Run Code Online (Sandbox Code Playgroud)

我无法再更新、安装或删除任何软件包。所有操作都会导致错误:

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 …
Run Code Online (Sandbox Code Playgroud)

package-management apt dependencies kubuntu 15.10

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

包含所有已安装软件列表的文件,包括依赖项?

我见过的所有指南都推荐使用该命令dpkg --get-selections并将输出重定向到文本文件。

文件系统上是否没有包含所有已安装软件(包括依赖项)列表的文件?每次安装包/依赖项时更新的文件。

package-management apt dpkg dependencies files

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

dpkg 处于无法解析的依赖循环中

我跑了apt-get build-dep wine1.6,因为我想安装wine但是apt install wine1.6说太多包没有安装。

下载构建依赖项后,由于配置失败而dpkg返回错误。isdnlog我运行它给出了类似于以下内容的内容,这是(TL;DR 只是很多依赖项)的dpkg --configure -a结果输出:apt install -f

Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
33 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up python-scour (0.26-3ubuntu1) ...
Traceback (most recent call last):
  File "/usr/bin/pycompile", line 35, in 
    from debpython.version …
Run Code Online (Sandbox Code Playgroud)

apt dpkg dependencies

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

sudo apt-get(某些东西)不起作用

当我尝试下载东西时,我使用

 sudo apt-get install/upgrade (package)
Run Code Online (Sandbox Code Playgroud)

但是,这给了我错误消息:

$ sudo apt-get upgrade
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:
google-chrome-stable : Depends: libpango1.0-0 (>= 1.14.0) but it is not installed
                       Depends: libappindicator1 but it is not installed
E: Unmet dependencies. Try using -f.
Run Code Online (Sandbox Code Playgroud)

所以,我尝试使用-f.

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

并且仍然有错误消息。

Reading package lists... Done
Building dependency tree       
Reading state …
Run Code Online (Sandbox Code Playgroud)

xubuntu apt dependencies

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

升级到 20.04 无法安装 gnome-control-center

我刚刚将我的 ubuntu 从 18.04 升级到 20.04,并立即意识到我无法打开设置。我读到问题与 gnome-control-center 有关,但是当我使用

sudo apt install gnome-control-center
Run Code Online (Sandbox Code Playgroud)

我得到

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:
 gnome-control-center : …
Run Code Online (Sandbox Code Playgroud)

dependencies gnome-control-center 20.04

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