我正在尝试在此处安装最新的 KDE Plasma,但我得到了
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
kde-telepathy-minimal:
Depends: kde-config-telepathy-accounts (>= 0.9.0) but it is not installed
E: Unmet dependencies. Try using -f.
Run Code Online (Sandbox Code Playgroud)
当我sudo apt-get -f install
按照规定并说Y
要获得 122KB 的档案时,我得到:
Preparing to unpack .../kde-config-telepathy-accounts_15.04.0-0ubuntu1~ubuntu15.04~ppa1_amd64.deb ...
Unpacking kde-config-telepathy-accounts (15.04.0-0ubuntu1~ubuntu15.04~ppa1) ...
dpkg: error processing archive /var/cache/apt/archives/kde-config-telepathy-accounts_15.04.0-0ubuntu1~ubuntu15.04~ppa1_amd64.deb (--unpack):
trying to overwrite '/usr/share/accounts/services/facebook-im.service', which is also in package account-plugin-facebook 0.12+15.04.20150415.1-0ubuntu1
dpkg-deb: error: subprocess paste was killed by signal …
Run Code Online (Sandbox Code Playgroud) docker-desktop
我正在尝试从这里安装。我下载的.deb
包是:
sudo dpkg -i docker-desktop-4.8.1-amd64.deb
Run Code Online (Sandbox Code Playgroud)
但我遇到了一些缺少依赖项的问题:
(Reading database ... 422535 files and directories currently installed.)
Preparing to unpack docker-desktop-4.8.1-amd64.deb ...
Unpacking docker-desktop (4.8.1-78998) over (4.8.1-78998) ...
dpkg: dependency problems prevent configuration of docker-desktop:
docker-desktop depends on docker-ce-cli; however:
Package docker-ce-cli is not installed.
docker-desktop depends on pass; however:
Package pass is not installed.
dpkg: error processing package docker-desktop (--install):
dependency problems - leaving unconfigured
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) …
Run Code Online (Sandbox Code Playgroud) 我尝试使用 Gdebi 安装程序在我的笔记本电脑(ubuntu 16.10 Gnome,64 位)上安装 WPS Office,但它说
Dependency is not satisfiable: libpng12-0
Run Code Online (Sandbox Code Playgroud)
然后我尝试打开这个库如下
sudo apt-get install libpng12-0
Run Code Online (Sandbox Code Playgroud)
但是我遇到了一个错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libpng12-0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libpng12-0' has no installation candidate
Run Code Online (Sandbox Code Playgroud)
任何人都可以帮忙吗?非常感谢
运行后我收到以下消息sudo apt update && sudo apt upgrade -y
,我也无法从商店更新我的软件包。
dpkg: error processing package libglib2.0-0:i386 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for libglib2.0-0:i386:
libglib2.0-0:i386 depends on libpcre3; however:
Package libpcre3:i386 is not configured yet.
Run Code Online (Sandbox Code Playgroud) 在修复软件包依赖项时,终端应用程序丢失了,现在我找不到该应用程序。有没有办法重新安装终端应用程序?
package-management dependencies gnome-terminal software-installation
这个问题类似于如何找出安装软件包的原因?,但在我的情况下,我想在实际安装软件包之前知道为什么它会安装特定的依赖项。
所以例如我可能会跑
sudo apt-get install superfoo
Run Code Online (Sandbox Code Playgroud)
输出将显示如下内容:
The following extra packages will be installed:
foo bar baz ... libderp libjunk
Run Code Online (Sandbox Code Playgroud)
这可能是一个非常庞大的清单。在某些情况下,我会看到将要安装的东西,鉴于我正在安装的东西对我来说并没有什么意义,所以我想知道为什么要安装那个特定的依赖项。
在上面的例子中,假设我想了解为什么libderp
会被安装。我知道以某种方式在superfoo
和之间存在依赖链,libderp
但是要安装的大量软件包列表使得很难看到这条链是什么。
一旦我知道依赖链,我就可以决定我是否真的想要安装原始包,和/或我是否应该与该包的维护者联系,看看他们是否真的需要在那里拥有这些依赖。
我想安装 Google-Earth,它需要 ia32-libs。所以,我做了,apt-get install ia32-libs
但错误弹出为:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
lib32z1 lib32ncurses5 lib32bz2-1.0
Run Code Online (Sandbox Code Playgroud)
如何安装 ia32-libs?
我是这里的新手,所以请多多包涵。
我正在使用 ubuntu 14.04。
我尝试使用以下命令输入 mysql:
mysql -u root -p
Run Code Online (Sandbox Code Playgroud)
我收到以下消息:
The program mysql can be found on the following packages:
* mysql-client-core-5.5
* mariadb-client-core-5.5
* mysql-client-core-5.6
* percona-xtrabd-cluster-client-5.5
Run Code Online (Sandbox Code Playgroud)
然后我输入:
sudo apt-get install mysql-client-core-5.6
Run Code Online (Sandbox Code Playgroud)
安装后,我尝试使用以下命令再次连接到 mysql:
mysql -u root -p
Run Code Online (Sandbox Code Playgroud)
然后我收到错误消息:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Run Code Online (Sandbox Code Playgroud)
网上查了一下,发现需要安装mysql服务器,所以写了下面的命令
sudo apt-get install mysql-server
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 …
Run Code Online (Sandbox Code Playgroud) mysql package-management apt dependencies software-installation
我已经尝试了支持论坛其他地方发布的一些解决方案,其中一个似乎有效,但在 Steam 更新后,我发现自己又回到了第一阶段,我是一名新的 Linux 用户,并且已经处于学习曲线:) 感谢您的帮助
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:
libgl1-mesa-glx:i386 : Depends: libglapi-mesa:i386 (= 10.1.3-0ubuntu0.3)
unity-control-center : Depends: …
Run Code Online (Sandbox Code Playgroud) 当我打字
sudo apt-get install r-base-core
我收到以下错误
The following packages have unmet dependencies.
r-base-core : Depends: libc6 (>= 2.29) but 2.27-3ubuntu1 is to be installed
现在,据我所知,libc6 是一个重要的库,不应删除。
那么如何从当前版本(2.27)升级到任何>= 2.29的版本?