为什么我不能在我的Ubuntu 16.04中安装一些软件包
如果我尝试:sudo apt-get install update,我得到:
The following packages have unmet dependencies:
linux-image-extra-4.4.0-64-generic : Depends: linux-image-4.4.0-64-generic but it is not going to be installed
linux-image-generic : Depends: linux-image-4.4.0-64-generic but it is no
root@mc:/home/sdtd# apt-get install rpm
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:
linux-server : Depends: linux-image-server (= 3.2.0.3
正在尝试安装gdebi,但无法安装。请帮帮忙
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:
gdebi : Depends: gdebi-core (= 0.9.5.7ubuntu1) but it is not go
每当我试图安装任何软件包时,我都会看到以下错误
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
gparted : Depends: libgtkmm-2.4-1v5 (>= 1:2.24.0) but it is not going to be installed
Depends: libparted-fs-resize0 (>= 3.1) but it is not go
我无法在我的Ubuntu机器上安装任何东西。它显示了以下错误:
montichandra@montichandra-HP-ProBook-430-G3:~$ **sudo apt-get install sshfs**
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 h
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:
mysql-server : Depends: mysql-server-5.7 but it is not going to be installed
virtualbox-5.1:i386 : Depends: libc6:i
我删除了旧内核(使用dpkg -P),现在我尝试安装的许多包都抱怨丢失了旧的(删除的)内核作为依赖项。
如果我按建议做一个"apt-get安装-f“,我的旧内核就会重新安装.
sudo apt-get install synaptic
Reading package lists... Done
Building dependency tree
Reading state information... Done
synaptic is already the newest version (0.83).
You might want to run 'apt-get
当我试图安装gnutls库(libgnutls26)和通用linux (linux-headers-generic)时,我会得到以下错误:
The following packages have unmet dependencies:
libgnutls26: Depends: libc6 (>= 2.14) but 2.15-0ubuntu10.4 is installed
Depends: zlib1g (>= 1:1.1.4) but 1:1.2.3.4.dfsg-3ubuntu4 is installed
libgnutls26:i386: De
root:~# sudo apt-get --purge remove mysql-server
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:
cryptsetup : Depends: plymouth but it
每次我尝试使用时,都会收到一条错误消息,上面写着“在修复包目录之前不能安装或删除项目”。当我试图修理时,它会说“安装或拆除一个包裹失败了”。
在细节部分,它说:
installArchives() failed: dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-image-generic (= 3.2.0.38.46); however:
Version of linux-image-generic on system is 3.2.0.58.
我刚升级到14.04,当我尝试升级时,我得到:
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:
linux-generic : Depends: linux-image-generic (= 3.13.0.55.62)
我试图使用apt-get upgrade进行升级,并得到了以下错误消息:
insserv: Starting DbSecuritySpt depends on monit and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on monit and therefore on system facility `$all' which can not be true!
insserv: Starting DbSecuritySpt
我对Ubuntu非常陌生,我搞砸了一些东西,我不能安装任何带有apt-get安装的软件包。
最初,我得到了一个错误:
The following packages have unmet dependencies:
linux-image-server : Depends: linux-image-3.2.0-36-generic but it is not going to be installed
linux-server : Depends: linux-headers-server (= 3.2.0.36.43) but 3.2.0.37.45 is to be installed
linux-image-server depends on linux-image-3.2.0-39-generic; however:
Package linux-image-3.2.0-39-generic is not installed.
dpkg: error processing linux-image-server (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a follo
我遵循本教程:升级Ubuntu18.04Linux提示上的内核,但是当涉及到安装ukuu时,它会产生一系列依赖错误。
$ sudo apt-get install ukuu
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependen
在Ubuntu14.04上,我在运行sudo apt-get install mysql-server时得到了这个错误
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: linux-image-extra-3.19.0-49-generic :
当我运行命令时: sudo apt install snmpd给出了以下错误
root@ubuntu:/home/ubuntu# sudo apt-get install snmpd 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
今天,我决定升级我的14.04LTS到16.04。不幸的是,升级过程在途中崩溃,不知道原因。当我重新启动,我只剩下一个黑色的屏幕,如果我选择第一个Ubuntu选项,在Grub。但是,我有一个“高级Ubuntu选项”(或类似选项),其中有许多不同的选项:
Ubuntu
Advanced options for Ubuntu
Ubuntu, with Linux 4.4.0-28-generic
Ubuntu, with Linux 4.4.0-28-generic (upstart)
Ubuntu, with Linux 4.4.0-28-gene
我在Ubuntu 16.04 LTS的终端上给出的命令是-
$ sudo apt install python-pip
它给出的错误是:
> 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:
&
我试着按照官方站点上的安装指南安装 certbot。
不幸的是,我无法安装以下软件包
sudo apt-get install software-properties-common
sudo apt-get install certbot
The following packages have unmet dependencies:
linux-image-extra-4.4.0-70-generic : Depends: linux-image-4.4.0-70-generic but it is not going to be installed
linux-image-gene
我的电池在升级时断电了,现在当我试图安装更新时,我遇到了这个问题。我该怎么解决呢?
The following packages have unmet dependencies:
linux-generic: Depends: linux-image-generic (= 3.2.0.52.62) but 3.2.0.57.68 is installed
Depends: linux-headers-generic (= 3.2.0.52.62) but 3.2.0.57.68 is installed
我正在尝试安装(例如)nasm。
sudo apt-get install nasm
在此之后,我得到一条错误消息:
You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: linux-image-extra-4.4.0-71-generic : Depends: linux-image-4.4.0-71-generic but it is not going to be installed linux-image
我正在尝试使用使用其他程序的Linux版本的程序。我在bash中运行了以下代码:
c3dpath=$( command -v c3d )
if [[ -z "${c3dpath}" ]]; then
echo "Command c3d was not found. Downloading and installing software to ${SCRIPTPATH}/depends/c3d. Path will be added to PATH environment variable."
mkdir -p "${SCRIPTPATH}
dpkg: error processing linux-generic,在sudo apt-get install -f时遇到依赖错误
Setting up linux-image-generic (3.2.0.60.71) ...
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-image-generic (= 3.2.0.58.69); however:
Version of linux-image-generic on system i
我在Pi上安装zfsutils时遇到了一个错误,升级到debian。
sudo apt install zfsutils-linux
The following packages have unmet dependencies: zfsutils-linux : Depends: libnvpair3linux (= 2.0.3-9~bpo10+1) but 2.0.3-9 is to be installed
Depends: libuutil3linux (= 2.0.3-9~bpo10+1) but 2.0.3-9 is to be install
sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
10 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up initra
当我试图将php5.3升级到php5.4或更高版本时,我遇到了一些问题。
下面是我输入的apt-get -f install php5.5命令
并由此而来:
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-generic : Depends: linux-image-generic (= 3.2.0.116.132) but 3.2.0.124.139 is to be installed
我试图为Openlitespeed服务器安装LSPHP 7.0。PHP已经安装在我的系统上,这可能会导致混乱。安装没有完成,现在我不能运行任何apt-get命令。在尝试使用apt-get时,我总是遇到这个错误。
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 u