在运行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
我需要在Linux中安装f2c。给出步骤;
下载安装脚本:下载install_f2c_linux.csh。
运行安装脚本# chmod +x install_f2c_linux.csh # ./install_f2c_linux.csh
我在根目录和用户目录中运行第二步。但是,上面写着
curl: Command not found.
tar: f2c.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
gunzip: No match.
f2c: No such file
我试图使用命令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
--------------------------
我试图安装虚拟box-5.2 (从网站获得的.deb文件)在我的Debian9伸展。目前我有内核:Linux4.9.0
当我运行:sudo dpkg -I virtualbox-5.2_5.2.12-122591~Debian~stretch_amd64.deb时,会收到以下错误消息:
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding n
我正在我的笔记本电脑上测试新的amd-pstate驱动程序,我通过ppa:tuxinvader/lts-主线安装了最新的5.18内核,更改了一些引导选项,一切都完美无缺。
不幸的是,当我运行命令cpupower时,我得到:
WARNING: cpupower not found for kernel 5.18.5-051805
You may need to install the following packages for this specific kernel:
linux-tools-5.18.5-051805-generic
linux-cloud-tools
我在试图运行Virtual时遇到了问题;哪个是"appropiate headers"?“?
WARNING: The character device /dev/vboxdrv does not exist.
Please install the virtualbox-dkms package and the appropriate
headers, most likely linux-headers-generic.
You will not be able to start VMs until this problem is fixed.
定期更新失败的消息如下:
以前的安装还没有完成,安装可能因为相应软件包中的错误而失败,或者是以不友好的方式取消了安装。在安装或删除任何进一步的软件之前,您必须对此进行修复。
根据我发现的提示,我做了sudo apt-get update和sudo apt-get upgrade。后者以下列方式结束:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
linux-gen
我试图在Ubuntu13.10上安装OIS,因为我试图安装orgre,因为我试图安装FreeOrion。无论如何,下面是我所关注的页面:链接,它在步骤1.1的“make”步骤中失败,并带有以下错误消息:
./linux/LinuxJoyStickEvents.cpp: In member function 'virtual void OIS::LinuxJoyStick::capture()':
./linux/LinuxJoyStickEvents.cpp:100:77: error: 'read' was not declared in this scope
我已经使用virtualbox安装了最新版本的Kali,但是我无法安装客户添加,我找到了这个问题。
在我的终端中有uname -r命令之后:
4.15.0-kali2-amd64
当我试图安装执行apt-get install linux-headers-$(uname -r)命令的linux时,我有以下错误:
Unable to locate package linux-headers-4.15.0-kali2-amd64
Couldn't find any package by global 'linux-headers-4.15.0-kali2-amd64'
Co
我想用5.4.39内核在ubuntu20.04上安装perf。
问题是我得到了
root@xxx:/home# perf
WARNING: perf not found for kernel 5.4.39
You may need to install the following packages for this specific kernel:
linux-tools-5.4.39-linuxkit
linux-cloud-tools-5.4.39-linuxkit
You may also want to install one of the followi
我正在尝试在我的Raspberry Pi Linux内核上安装和安装Linux内核。我引用了以下网站:https://www.raspberrypi.com/documentation/computers/linux_kernel.html。
到目前为止,我已经按照以下顺序在raspberry pi上运行了以下命令:
sudo apt更新
数独apt升级
sudo apt-获取自动删除
sudo apt安装git bc bison flex dev make
git克隆--深度=1 https://github.com/raspberrypi/linux
cd KERNEL=kernel7制作
每次我尝试使用时,都会收到一条错误消息,上面写着“在修复包目录之前不能安装或删除项目”。当我试图修理时,它会说“安装或拆除一个包裹失败了”。
在细节部分,它说:
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.
如何安装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