在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
在Ubuntu20.04上运行时,在试图更新时出现了/boot错误消息上的低磁盘空间。
The upgrade needs a total of 228 M free space on disk '/boot'. Please free at least an additional 24,8 M of disk space on '/boot'.
在我的/boot文件夹中,我有以下文件:
/boot
total 460452
drwx------ 3 root root 4096 Jan 1 1970 efi
-rw-r--r-- 1 root r
我已经打电话给apt-get purge来卸载旧内核。但是在清除过程中发生了一些错误,导致文件夹被留下。它说文件夹不是空的,所以不能删除。要释放磁盘空间,可以手动删除已清除的文件夹吗?
1.1M ./4.15.0-20-generic
60M ./4.15.0-32-generic <-- I've purged this
60M ./4.15.0-30-generic <-- and this
236M ./4.15.0-33-generic <-- this is my current one
我也可以移除其中一些包吗?
un lin
今天,我听说有几个包裹被耽搁了。输入apt-get dist-upgrade -su给了我这样的信息:
apt-get dist-upgrade -su
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed
linux-image-3.13.0-44-generic linux-image-extra-3.1
在我的机器上,我安装了两个操作系统。
Windows 7
RHEL 5.6.
当我启动机器时,grub会向我展示屏幕上可用的操作系统列表,
红帽企业Linux服务器(2.6.18-348.12.1.el5PAE)
红帽企业Linux服务器(2.6.18-348.12.1.el5PAE)
红帽企业Linux服务器(2.6.18-308.16.1.el5PAE)
Windows 7
当我使用三个列出的RHEL版本中的任何一个启动时,我都会得到相同的窗口/桌面。我检查了/etc/grub.conf文件,在那里我可以看到RHEL的三个列表。该文件的内容如下。
default=0
timeout=5
s
root@heena:/usr/src# ls
linux-headers-3.8.0-29 linux-headers-3.8.0-29-generic
此外:
root@heena:/# uname -a
Linux heena 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 15:31:16 UTC 2013 i686 i686 i386 GNU/Linux
问题1:为什么/usr中有这两个linux文件夹?
问题2:泛型版本的含义是什么?看来我的版本是通用的。
如果运行建议的命令行,安全性如何。有窃听器吗?
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-
我在网上到处搜索,发现很多人几乎都有同样的问题,但在一些小的方面与我的不同。我已经尝试了我找到的每一个解决方案,但都没有效果。
无论何时使用apt-get,我都会得到一个很大的错误,我不会发布整个输出,因为它有多大,但以
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.4.0-103-generic with 1.
run-parts: /etc/kernel/postinst.d/initra
当我最近运行它的时候,它给我看了这个
~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
linux-headers-5.15.0-46 linux-headers-5.15.0-46-generic linux-image-5.15.0-46-generic linux-modules-5.15.0-46-generic l
我正试图用阿尔卑斯来构建一个极小的Linux。我不需要linux-firmware,因为它安装了所有的固件,耗尽了300+MB的空间。这是一个股票安装。但是,我无法卸载任何linux固件包:
dev-alpine:~# apk del --force --force-broken-world linux-firmware
World updated, but the following packages are not removed due to:
linux-firmware: linux-vanilla
OK: 504 MiB in 122 packages
超过一半的库存安装是固
我的机器已经到了我不能apt-get任何东西的状态。
当我运行apt-get upgrade时
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-headers-generic-lts-xenial : Depends: li
我有7Gb的空间但是..。
~ # dpkg --configure -a
Setting up linux-image-2.6.32-31-generic-pae (2.6.32-31.61) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.32-31-generic-pae
gzip: stdout: No space left on device
update-initramfs: failed for /boot/initrd.img-2.6.32-31-generic-pae
Failed
我收到一条错误消息:“卷boot只剩下5.3MB的磁盘空间。”
我在这个站点上查看了一些答案,我找到的关闭的答案提到了旧的linux内核,但是下面是我所有内核的列表。
ii linux-image-3.5.0-17-generic 3.5.0-17.28 i386 Linux kernel image for version 3.5.0 on 32 bit x86 SMP
ii linux-image-3.5.0-18-generic 3.5.0-18.29 i386 Linux kernel image for versio
我正在用内核版本3.14.17编写一个简单的LSM代码。
代码片段:
#include <linux/module.h> // included for all kernel modules
#include <linux/kernel.h> // included for KERN_INFO
#include <linux/init.h> // included for __init and __exit macros
#include <linux/security.h>
#include <linux/trace
我已经尝试了很长一段时间来修改内核配置,但没有成功。:-(
在meta-xxx-yyy/中有一个BSP,它的配方是-kernel/linux/linux_git.bb。我尝试覆盖名为meta-xxx-mylayer的层中的内核配置,在该层中有菜谱- kernel /linux/linux_git.bbappend和菜谱-kernel/linux/files/Fra.cfg
frag.cfg:
# CONFIG_NETFILTER is not set
CONFIG_AUTOFS4_FS=y
linux_git.bbappend:
COMPATIBLE_MACHINE_my_mach =
我运行的是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
下面是在我的机器上运行的所有linux内核。我试图使debian基地安装尽可能轻。我正在运行的内核是LinuxImage-2.6.30-vortex86mx-APM。我想知道是否可以安全地使用apt-get remove kernel-image-xxxxxx删除所有其他的
||/ Name Version Description
+++-==================================-============================-======
当我运行sudo apt-get upgrade或sudo apt-get autoremove时,它返回:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
linux-image-amd64 : Depe