我有一个运行ubuntu自动安全更新的服务器,/boot现在几乎已经满了(93%)。下面是dpkg -l "linux-image*“的输出。
ii linux-image-3.2.0-24-generic 3.2.0-24.39 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-36-generic 3.2.0-36.57
例如,以下命令生成generic、server和virtual。
$ apt-cache search linux-image-3
linux-image-3.0.0-15-generic - Linux kernel image for version 3.0.0 on x86/x86_64
linux-image-3.0.0-15-server - Linux kernel image for version 3.0.0 on x86_64
linux-image-3.0.0-15-virtual - Linux kernel image for version 3.0.0 on x86
我运行的是Linux22.04LTS,我对LinuxKernel方面还很陌生。我想尝试一下low-latency内核,在挖掘的时候,我注意到我已经安装了几个版本。
dpkg --list | grep linux-image
返回:
rc linux-image-6.0.12-76060006-generic 6.0.12-76060006.202212290932~1674139725~22.04~ca93ccf amd64 Linux kernel image for version 6.0.12 on 64 bit x86 SMP
ii li
如果运行建议的命令行,安全性如何。有窃听器吗?
The following packages were automatically installed and are no longer required:
linux-headers-4.15.0-32 linux-headers-4.15.0-32-generic
linux-headers-4.15.0-33 linux-headers-4.15.0-33-generic
linux-headers-4.15.0-34 linux-headers-4.15.0-34-generic
linux-image-4.15.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
我在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
安装新版本的内核意味着什么?当我更新的时候,我的Linux盒给了我这条消息,
NOTE, 3.8.13 was the last maintained maintenance release by Greg Kroah-Hartman. It is recommend to move on to linux310-series.
我想知道的是
仅仅更改Linux内核真的那么简单吗?
Linux内核是否像一个简单的可执行文件,可以换到另一个Linux内核?
如果在盒子已经运行另一个版本的内核时安装了一个新内核,会发生什么呢?
现在我使用的是Kernel 3.8.13.8-1。按照上面的更
我想在运行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
我愚蠢地把引导放在它自己的228米空间分区中,现在当我试图进行升级时,它总是告诉我它没有空间。
我试图删除旧包,但仍然没有足够的空间。
有没有一种方法可以摆脱这个/boot分区,并将它与根结合起来?
或者增加它的大小?
这是一个远程服务器,我只有命令行访问权限。
谢谢
更新:
dpkg -l | grep linux-image
ii linux-image-3.2.0-23-generic 3.2.0-23.36 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
在sudo apt upgrade期间,我得到以下错误。也在sudo apt autoremove --purge上。
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk sp
我不确定是否丢失了Linux内核3.11的文件,也不确定如何安装丢失的文件。
当我打字时:
me@Bedrock1:~$ uname -r
3.11.0-23-generic
这让我相信我在运行内核3.11。但是,我无法安装NVIDIA显卡驱动程序。当我试图用
me@Bedrock1:~$ sudo apt-get install cuda
我得到(部分)以下输出:
Loading new nvidia-340-340.58 DKMS files...
First Installation: checking all kernels...
Building only for 3.11.0-23
我最近在Ubuntu服务器上运行了sudo apt-get update和sudo apt-get install,APT建议运行sudo apt autoremove。当我运行这个命令时,它会警告我:
The following packages will be REMOVED:
linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic linux-headers-4.4.0-57 linux-headers-4.4.0-57-generic linux-headers-4.4.0-62
linux-headers-4.4.0-62-
当我运行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.
我能自动移
我正在使用Ubuntu 14.04。当我运行sudo apt-get autoremove时,它会生成以下错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
After this operation, 0 B of additional disk space