$ apt-get install -f -o 'Dpkg::Options::=--force-confmiss --force-all --force-confnew --overwrite-conffiles' --reinstall at-spi2-core
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:
kde-workspace-bin : Depends: qdbus but it is not going to be installed
libqt4-dbus : Depends: qdbus (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Run Code Online (Sandbox Code Playgroud)
我不太明白“但它不会被安装”。那为什么不安装呢? …
我在家里使用 Ubuntu 12.04,互联网连接良好,我的系统运行良好。
我的一位朋友的办公室很小,他正在考虑从 Windows 切换到 Ubuntu 11.10 或更高版本。问题是他没有互联网连接。
他问我是否有可能在没有 Internet 的情况下安装所有更新。我做了很多搜索,我发现这个问题说使用Keryx或Synaptic Manager可以做到这一点。
但是我使用的是 11.04 并且没有 Synaptic 管理器,因此我生成和下载脚本。以其他方式当我尝试安装 keryx(在我必须获取更新的任何全新安装系统或具有 Internet 连接的系统上)

它显示我没有python的错误。但我有

安装这些应用程序不符合依赖项。这里的关键是
ubuntu-restricted-extras\xe2\x94\x94\xe2\x94\x80# apt-get upgrade\nReading package lists... Done\nBuilding dependency tree... Done\nReading state information... Done\nYou might want to run 'apt --fix-broken install' to correct these.\nThe following packages have unmet dependencies:\n nodejs : Depends: libnode72 (= 12.21.0~dfsg-5) but it is not installed\nE: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).\nRun Code Online (Sandbox Code Playgroud)\n运行时apt --fix-broken install:
\xe2\x94\x94\xe2\x94\x80# apt --fix-broken install 100 \xe2\xa8\xaf\nReading package lists... Done\nBuilding dependency tree... Done\nReading state information... Done\nCorrecting dependencies... Done\nThe following packages were automatically installed …Run Code Online (Sandbox Code Playgroud) 我在 Ubuntu 16.04.01 上有一个非常标准的“但它不会被安装”错误。例如:
sudo apt-get install libpq-dev
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:
libpq-dev : Depends: krb5-multidev but it is …Run Code Online (Sandbox Code Playgroud) 当我尝试在我的机器上安装 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) root@gcomputer:~# apt-get install kubuntu-desktop
...
Unpacking kde-config-telepathy-accounts (4:15.12.3-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_amd64.deb (--unpack):
trying to overwrite '/usr/share/accounts/services/google-im.service', which is also in package account-plugin-google 0.12+16.04.20160126-0ubuntu1
...
Unpacking kaccounts-providers (4:15.12.3-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/kaccounts-providers_4%3a15.12.3-0ubuntu1_amd64.deb (--unpack):
trying to overwrite '/etc/signon-ui/webkit-options.d/www.facebook.com.conf', which is also in package account-plugin-facebook 0.12+16.04.20160126-0ubuntu1
...
Errors were encountered while processing:
/var/cache/apt/archives/kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_amd64.deb
/var/cache/apt/archives/kaccounts-providers_4%3a15.12.3-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Run Code Online (Sandbox Code Playgroud)
所以我又试了一次:
root@gcomputer:~# apt-get install kubuntu-desktop
Reading package lists... Done
Building dependency tree
Reading state information... Done …Run Code Online (Sandbox Code Playgroud) 当我运行此命令时,sudo composer global require "laravel/installer"它会产生以下输出:
Changed current directory to /home/zoheir/.composer
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Using version ^1.4 for laravel/installer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- laravel/installer v1.4.1 requires ext-zip * -> the requested PHP extension zip is missing from your system.
- laravel/installer v1.4.0 requires ext-zip * -> …Run Code Online (Sandbox Code Playgroud) 我没有为 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)