sudo apt upgrade
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Calculando la actualización... Hecho
0 actualizados, 0 nuevos se instalarán, 0 para eliminar y 0 no actualizados.
6 no instalados del todo o eliminados.
Se utilizarán 0
当我运行sudo update-initramfs -u时,会得到错误输出
dpkg: warning: version 'KERNEL_VERSION' has bad syntax: version number does not start with digit
update-initramfs: Generating /boot/initrd.img-KERNEL_VERSION
dpkg: warning: version 'KERNEL_VERSION' has bad syntax: version number does not start wi
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be
我似乎不能纠正这种错误。
当我安装软件包时,每件事都会失败。
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libllvm4.0 linux-headers-4.4.0-157 linux-headers-4.4.0-157-generic linux-image-4.4.0-10
我有一个Ubuntu18.10双引导与Windows 10。我认为,由于错误,我的Ubuntu崩溃/挂起了很多最近在重新启动/启动。
$ sudo apt-get --with-new-pkgs upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
linux-headers-4.18.0-1
在更新或运行任何apt命令一周左右的时间里,我遇到了一个错误。升级到LTS 18.04并没有解决这个问题,也没有删除所有的老内核。空间也不是问题。
试图重新安装initramfs不起作用。我得到的错误是:
Reading package lists...
Building dependency tree...
Reading state information...
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
2 not fully installed or removed.
After this
不久前,我通过GUI更新程序安装了更新程序,并得到了一个错误,类似于linux固件安装后脚本失败。老实说,我只是很高兴盒子在那之后还能正常启动,所以我就放手了。但是现在我正在安装从终端下载的deb软件包,我再次看到了与linux固件安装相关的错误。
我在日志里看到了这个:
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-firmware; however:
Package linux-firmware is not confi
这是我的第一篇帖子。如果我做错了什么,请告诉我。我的问题是,我不能安装或卸载任何东西。以下是错误:
Entfernen von linux-image-extra-4.10.0-42-generic (4.10.0-42.46) ...
depmod: FATAL: could not load /boot/System.map-4.10.0-42-generic: No such file or directory
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.10.0-42-generic /boot/vmli
当我运行sudo apt-get upgrade时,我会得到这个错误
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
linux-image-3.13.0-63-generic linux-image-3.13.0-65-generic
我运行了sudo apt upgrade,输出包括以下内容。我现在该怎么做?我以前的内核是否被覆盖了?我正在避免关闭我的机器,因为我担心它现在可能无法启动。
Setting up linux-firmware (1.187.25) ...
update-initramfs: Generating /boot/initrd.img-5.11.0-46-generic
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/vgubuntu-swap_1)
I: Set the RESUME variable t
我最近得到了一个随Ubuntu14.04和内核3.13一起提供的XPSO13DE。触摸屏和其他组件存在一些问题,可以通过升级内核并移到15.04来解决,所以这就是我所要做的。
我遵循了dist升级的标准程序:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
do-release-upgrade
前三个步骤已成功完成,但do-release-upgrade步骤失败,出现了一些错误,我不知道如何解决:
Error! The dkms.conf for this module includes a BUILD_E
我想用apt-get设置一个git服务器。下面是它的运行过程:
# apt-get install git-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
linux-image-4.4.0-53-generic
Use 'apt autoremove' to remov
我启用了ubuntu,突然之间我无法安装任何东西。下面是一个错误输出示例。这种情况发生在我试图安装的任何软件包中。
laptop@my-laptop:~$ sudo apt install -f gcc
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version (4:9.3.0-1ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 0
每当我尝试用apt-get安装任何东西时,我都会得到以下错误
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
kde-l10n-engb linux-image-4.4.0-21-generic
linux-image-extra-4.4.0-21-generic
Use 'su
我在跑14.04 LTS。
内核更新不会安装或卸载。引导空间(约240 or )现在已满,并且使用sudo apt autoremove、autoclean、clean或remove将无法工作。
这一切都始于内核更新3.13.0-47。
没有空间被释放,下面是.
sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 to upgrade, 0 to newly install, 0 to remove an
我见过一些类似的问题,但没有一个问题解决了我的问题。在Ubuntu12.04上从linux-image-3.2.0-36-generic升级到linux-image-3.2.0-38-generic时发生了一个错误。使用3.2.0-38引导时,启动时会出现内核恐慌。
在3.2.0-36下引导系统正常启动。但是,当我试图删除、清除或配置受影响的内核包时,它会引发以下错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to
在我的Ubuntu命令行系统上,我意外地重命名了/lib/ld-linux-aarch64.so.1文件。这导致不能使用bash/dash/sh命令,也不能再使用mv恢复文件名的行为。我可以执行的命令不多,并且传递/bin/bash或/bin/dash,因为命令也不起作用,并且不停地说:-bash: /bin/dash: No such file or directory,-bash: /bin/ls: No such file or directory。
有什么办法摆脱这种状态并恢复过来吗?
我的笔记本电脑在更新过程中丢失了电池,所以linux内核被截断了。在arch-chroot进入它并重新安装linux之后,它是可以的,但是/boot/initramfs-linux.img (和回退)是空的。而且,/etc/mkinitcpio.d/linux.preset是空的。如何解决这个问题,以及如何生成预置?
ls /etc/mkinitcpio.d/什么也不回
我试图在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
因此,我已经将rEFInd作为引导加载程序安装到我的Linux安装程序上(在试用实际硬件之前,在虚拟盒上安装)。
我已经将refind_linux.conf文件配置如下:
## This file should be present in the same directory as the EFISTUB kernel and initramfs files
## More info at http://www.rodsbooks.com/refind/linux.html , http://www.rodsbooks.com/efi-bootloaders/efistub.html
我正在使用Ubuntu18.04并尝试使用apt卸载旧的内核映像。但是,我收到一个错误,它不能被卸载,因为标题丢失了。我如何卸载它们?下面是命令sudo apt autoremove的部分输出
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-image-extra-3.13.0-39-generic linux-image-extra-3.13.0-40-gen
如何更新initramfs 在其他地方是怎么描述的以添加固件?
对于Debian 10,我会得到一个command not found error。安装了initramfs-tools。
root@pc:/home/.../linux-firmware/i915# update-initramfs -u
bash: update-initramfs: command not found
root@pc:/home/.../linux-firmware/i915# apt install initramfs-tools
Reading package lists... Done
Building
带ubuntu 16.04的副总裁。使用Apache,PHP-5.6 (active)和7.0的两个版本。我需要为PHP5.6安装SOAP模块。命令:
apt-get install php-soap
The following packages were automatically installed and are no longer required:
libssl1.0.2 linux-headers-4.4.0-108 linux-headers-4.4.0-108-generic linux-headers-4.4.0-21 linux-headers-4.4.0-21-ge
我有一个新安装的18.04盒子。已安装并重新启动更新。它正在运行内核4.15.0-74,没有问题:
root@restore:~# uname -a
Linux restore 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
但是由于与第三方供应商不兼容,我不得不将内核降级为4.15.0-72。所以..。我安装了这个包,并重新引导到那个内核中。
但是..。我马上被扔回initramfs,然后它告诉我:
Gave up waiting for root fil
我目前正在使用NVME 500 an的SSD在一台新机器上配置gentoo。
我重新启动我的计算机,选择我想要启动的磁盘,grub2初始化,and然后,我得到的错误如下:
!!Block device UUID="9a89bdb4-8f36-4aa6-a4c7-831943b0985c" is not a valid root device...
!!Could not find the root block device in UUID="9a89bdb4-8f36-4aa6-a4c7-831943b0985c"
Please specify another