我最近在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-
如果运行建议的命令行,安全性如何。有窃听器吗?
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-
我在做Ubuntu 12服务器的季度更新。在apt-get更新成功后,我会得到这个错误,运行apt-获取任何内容。
Depends: linux-image-server (= 3.2.0.72.86) but it is not going to be installed
我不明白为什么这个linux映像不会被安装。该软件包存在,可下载等。
我有一个运行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
自从Ubuntu服务器发布了崩溃漏洞补丁后,我就一直在升级Ubuntu服务器的内核。我注意到,几乎在所有服务器上,在重新启动之后,我必须运行两次apt autoremove才能清除系统上所有的旧内核。
如果我第一次运行它,它首先删除内核的两个旧版本:
% sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-headers-
我有一台宏基电脑内置了一台苏音相机。自从我三周前改变了Windows 8以来,它一直工作得很好,但最近(两天前)在使用Skype或Cheese时显示了一个黑色屏幕。
系统测试已经检测到了相机,但在第一次测试中给了我这样的测试:
Could not load image 'camera_test_25112w.jpg'.Error interpreting JPEG image file (Improper call to JPEG library in state 200)
最后的结果:
**camera/detect** PASSED: */dev/video0: OK
我正试图在我的Linux盒上编译一个较旧版本的Linux (3.4),其当前版本是gcc-6.3。但是运行make命令会显示如下所示的错误:
scripts/kconfig/conf.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
我还没找到任何解决办法。看来gcc要求对某些对象使用fPIC标志,而3.4个内核配置文件并没有这样要求。最好我不想触及内核的缺省值。我该如何要求gcc停止要求这面旗帜,还是让
就像未安装Ubuntu13.10 VirtualBox错误内核驱动程序(rc=-1908)
我也有一个问题,我一直得到以下错误:
Trying to register the VirtualBox kernel modules using DKMSError! Your kernel headers for kernel 3.8.0-25-generic cannot be found.
Please install the linux-headers-3.8.0-25-generic package,
or use the --kernelsourcedir option to tel
当我运行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.
我能自动移
我在更新内核时遇到了麻烦。我在运行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
当我最近运行它的时候,它给我看了这个
~$ 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
我希望有更多知识的人能在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
在尝试运行下面的命令时,我看到了以下错误。我在某个地方读到我的/boot分区在磁盘空间上很低。如何增加/boot分区的大小,以便能够安装更多的软件?我有一个500 so的硬盘,所以有足够的空间来玩。
sudo apt-get install libdvdread4
gzip: stdout: No space left on device
尝试为Ubuntu2204桌面安装linux (uname -r = 5.13.0-40-generic),我得到:
sudo apt install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package linux-headers-5.13.0-40-generic is not available, but is referred to by another package.
This
日安,
最近,“软件更新”通知我,我的电脑有软件更新。我点击了“显示更新”,然后“立即安装”。
这导致以下错误消息:
Not enough free disk space
The upgrade needs a total of 312 M free space on disk '/boot'. Please free at least an additional 312 M of disk space on '/boot'. You can remove old kernels using 'sudo apt autoremove', and