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
我想用apt-get设置一个git服务器。下面是它的运行过程:
# apt-get install git-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
linux-image-4.4.0-53-generic
Use 'apt autoremove' to remov
当我在终端中使用sudo apt-get -f install时,会发生以下情况:
Do you want to continue? [Y/n] y
(Reading database ... 237694 files and directories currently installed.)
Preparing to unpack .../linux-tools-3.16.0-31_3.16.0-31.41_amd64.deb ...
Unpacking linux-tools-3.16.0-31 (3.16.0-31.41) ...
dpkg: error processing archi
每当我尝试安装任何东西时,我都会收到以下消息:
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:
clang : Depends: clang-3.4 (>= 3.4~rc3-1~) but it is not go
每次我尝试用sudo apt升级来升级软件包时,我都会遇到以下错误:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: The package linux-modules-5.19.0-32-generic needs to be reinstalled, but I can't find an archive for it.
Gnome软件不能运行。如果我尝试,我在系统托盘中得到一个带白线的红色圆圈,并带有错误消息:
📷
我一直在试图通
我正试图升级我在ubuntu16.04中的软件包。但它在samba库中显示错误,表示哈希不匹配。甚至我也试过使用--try-fix-missing,但这没有帮助。
📷
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
linux-head
在运行apt upgrade时,我会得到与运行apt-get upgrade不同的要安装的“新包”列表。
我阅读了一些关于apt upgrade和apt-get upgrade之间的区别的比较,但是所有的文章都描述它们来做同样的事情。
下面是我在运行apt upgrade时所得到的信息:
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
linux-headers
当我试着跑步时:
sudo apt-get upgrade
我收到以下错误消息:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
linux-generic-hwe-16.04 linux-headers-generic-hwe-16.04
linux-image-generic-hwe-16.04
在尝试卸载php7.0时,我得到了以下错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'php7.0' is not installed, so not removed
The following packages were automatically installed and are no longer required:
linux-headers-4.4.0-92 linux-headers-4.4.
我正在使用apt-get、cpp-4.7.arm-linux-gnueabihf和gcc-4.7.arm-linux-gnueabihf在Debian8.3Jessie中安装一些开发工具,但是libmpc2存在依赖问题。
root@debian-host:~# apt-get install cpp-4.7.arm-linux-gnueabihf gcc-4.7.arm-linux-gnueabihf
Reading package lists... Done
Building dependency tree
Reading state information... Done
N
我遇到了一个完整的/boot问题。所以我决定删除旧的linux映像。然而,在这个过程中,我意外地删除了当前正在使用的图像。这将是LinuxImage3.2.0-53-Ubuntu12.04上的通用版本。
尝试apt-get -f安装的结果如下:
dependency problems prevent configuration of linux-server:
linux-server depends on linux-image-server (= 3.2.0.54.64); however:
Version of linux-image-server on system is 3.2.0.
我在ubuntu20.04焦点上安装了virtualbox (版本6.1.22 r144080 (Qt5.12.8))。在安装了虚拟盒之后,我在午餐VM时得到了这个错误。
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver is either not loaded or not set up
correctly. Please try setting it up again by executing
'/sbin/vboxconfig'
as root.
如果您的系统启用
现在无法更新或安装任何东西,因为有几个软件包据称有未满足的依赖关系。
sudo apt-get upgrade:
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 dependencies:
linux-image-generic-hwe
(现有的答案并不涉及这一特殊情况)
当前的错误消息是:
In file included from /usr/include/stdio.h:33:0,
from pngquant.c:37:
/usr/src/linux-aws-headers-4.4.0-1075/include/linux/stddef.h:4:31: fatal error: uapi/linux/stddef.h: No such file or directory
Full背景
我试图从源代码编译pngquant,并尝试将输出文件放到另一个位置。
pngquant依赖于libima
我按照指令从这个答案(https://stackoverflow.com/questions/39928340/how-to-start-an-android-emulator-in-ubuntu-16-04)运行AVD仿真器。
在运行sudo apt-get install lib64stdc++6:i386时,我会得到以下错误:-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. Thi
我无法通过ssh安装一个新的软件包。
sudo apt-get install default-jdk
给出以下错误:
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
default-jdk : Depends: default-jre (= 2:1.8-56ubuntu2) but it is not going to be installed
Depends: d
每次我尝试使用时,都会收到一条错误消息,上面写着“在修复包目录之前不能安装或删除项目”。当我试图修理时,它会说“安装或拆除一个包裹失败了”。
在细节部分,它说:
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.
我试图使用命令sudo pip install scrapy安装scrapy,但是我收到了一条错误消息,其结尾如下:
build/temp.linux-x86_64-2.7/_openssl.c:429:30: fatal error: openssl/opensslv.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
--------------------------
如何安装Kali Linux头?我使用了这个命令apt-get update && apt-get install -y linux-headers-$(uname -r),但是它显示了下面的错误
E:unable to locate package linux-headers-4.6.0-kali1-686 pae'
E: could not find any package by glob 'linux-headers-4.6.0-kali1-686 pae'
E: could not find any package by regex 'l
运行sudo apt-get dist-upgrade时,如何解决此错误?
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional d
我无法在我的linux服务器上安装和使用perf工具:
Linux vzu01-ubuntu 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
root@vzu01-ubuntu:~# apt-get install linux-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux
我遵循这个答案中给出的描述,当apt询问我是否要删除包时,它们会被列出一个星号。
命令是
sudo apt-get purge linux-image-3.13.0-{32,43,44,46}-generic
得到的提示是
The following packages will be REMOVED:
linux-image-3.13.0-32-generic* linux-image-3.13.0-43-generic*
linux-image-3.13.0-44-generic* linux-image-3.13.0-46-generic*
linux-image-extra-
我无法在Ubuntu14.04.2LTS 64位(安装在虚拟盒上)上用pip安装。
有关信息,我是PythonandUbuntu初学者,我通过以下安装了pip
pip -V
pip 6.1.1 from /usr/local/lib/python2.7/dist-packages (python 2.7)
问题:
当我执行pip install -U rodeo时,我会收到一条错误消息。这是日志:
Did not find libzmq via pkg-config:
Package libzmq was not found in the pkg-config search path.
P