我在Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-62-generic i686)上,当我这么做的时候:
aptitude update
aptitude safe-upgrade
不提供升级。aptitude search linux-headers-4.8提供了几个4.8内核:
p linux-headers-4.8.0-28 - Header files related to Linux kernel version 4.8.0
我对一台服务器有问题。一段时间前,有一个可靠的安装,然后我升级到异种。问题是,看起来他不想要更新的内核;)
% uname -a
Linux 36猴子3.11.0-12-泛型#19-Ubuntu 10月9日16:12:00 UTC 2013 i686 GNU/Linux
嗯,3.11?但是为什么呢?
% apt list --installed|grep linux
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
console-setup-linux/xenial-update
我希望有更多知识的人能在Ubuntu16.04及以后的版本中解释一些关于做apt-get upgrade的事情。
我看到的行为是,apt-get upgrade有时不会安装新的内核包,有时会:
即产出:
The following packages have been kept back:
linux-generic linux-headers-generic linux-image-generic linux-tools-generic
我知道做dist-upgrade会安装这些软件包(所以不要重复这个答案:-)。我不知道的是是什么在控制这些包裹的搁置。
有时在执行apt-get upgr
我在Ubuntu 14.04实例(内核3.13.0)上运行了AWS检查器,发现了许多问题,其中大多数都建议进行内核更新。然而,根据对问题的描述,一些问题是通过内核4.13.11存在的。
我怎样才能解决这些问题?
例题:
arn:aws:inspector:us-east-1:459822950501:target/0-wPJLYMUo/template/0-MOs0F6Sk/run/0-1S1WNiwa/finding/0-29BA4zLm ARN
Run name Run - INTELLI_AUDIO_LINUX - 2018-05-16T13:07:05.484Z Target nam
我尝试了sudo apt update,它说有需要升级的东西,所以我尝试了upgrade,输出在下面。它说,将安装以下新的软件包,并将使用额外的560 It。如果他们是“新”而不是“升级”,为什么要安装新的软件包,而我只是想更新系统?
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be ins
当我运行sudo apt-get dist-upgrade时,它会在最后输出以下内容:
The following packages were automatically installed and are no longer required:
linux-headers-4.2.0-16 linux-headers-4.2.0-16-generic
linux-image-4.2.0-16-generic linux-image-extra-4.2.0-16-generic
Use 'apt-get autoremove' to remove them.
我能自动移
我创建了linux ubuntu容器,并尝试运行python脚本。 但它会引发以下错误: :228: RuntimeWarning: Linux supports fsync/fdsync with io_submit since 4.18 but current kernel 4.15.0-55-generic doesn't support it. Related calls will have no effect. 如何更新位于docker容器内的ubuntu内核? 有dockerfile: FROM ubuntu:21.04
RUN apt-get update -y
RUN
我在更新内核时遇到了麻烦。我在运行Kubuntu 14.04。uname -r输出:
3.13.0-32-generic
我清楚地看到了sudo dpkg --list 'linux-image*'在repos中更新的版本:
...
linux-headers-3.13.0-40 - Header files related to Linux kernel version 3.13.0
linux-headers-3.13.0-40-generic - Linux kernel headers for version 3.13.0 on 64 bit x86 SMP
linux
pacman拒绝升级我的Arch Linux系统,因为开放vm工具模块和linux内核包之间存在冲突:
$ sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community 1988.4 KiB 970K/s 00:02 [#############################################################################] 100%
multilib is up to date
:: Sta
我以前在我的Ubuntu14.10机器上使用过VirtualBox,但是在过去的两个月里我没有使用它。
当我试图启动VM时,我得到了以下错误:
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 p
我试图在Ubuntu14.04上安装3.16内核。我按照http://askubuntu.com/questions/506956/how-can-i-install-3-16-kernel-on-ubuntu-14-04的指令安装内核。我发现了这些错误:
Setting up linux-image-3.16.0-031600-lowlatency (3.16.0-031600.201408031935) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /i
我的Kubuntu刚刚更新到5.4.0-29内核,我现在没有声音,没有wifi。用5.4.0-28内核引导-所有工作。笔记本电脑ASUS X75VD。
dpkg -l \
ii binutils-x86-64-linux-gnu 2.34-6ubuntu1 amd64 GNU binary utilities, for x86-64-linux-gnu target
ii console-setup-linux 1.194ub
编辑:这似乎是一个与Thinkpad笔记本相关的问题。
我正在工作一个新安装的ubuntu 20.04。
uname -r输出:
5.6.0-1047-oem
sudo apt upgrade输出:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
linux-generic-hwe-20.04 linu
我使用以下命令下载了Ubuntu的perf程序:
sudo apt-get install linux-tools-common linux-tools-generic
不过,当我试着顶的时候,它给了我这个
WARNING: perf not found for kernel 4.9.78-xxxx
You may need to install the following packages for this specific kernel:
linux-tools-4.9.78-xxxx-std-ipv6-64
linux-cloud-tools-4.9.78-xxxx-std-ipv
我想在运行Ubuntu12.04LTS的内部生产服务器上安装PHP5。当我尝试使用apt-get安装时,它列出了大量的依赖项,并建议运行apt-get -f install。当我运行它时,我会得到它:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
linux-headers-3.2.0-5