我在Xubuntu 18.04遇到了一个很奇怪的问题.我在sudo apt update之后运行了以下命令:
sudo apt upgrade
但它会导致一个错误:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out
我有一个双引导Arch Linux和Windows。
在进行了Windows更新之后,我的GRUB丢失了,系统正在引导grub recovery。在那里,我设法将GRUB指向Arch并引导它。但是,它无法使用以下消息完全启动:
filed to listen on Load/Save RF Kill Switch Status /dev/rfkill Match
...
failed to mount /boot/efi
# Enter recovery mode
...
我尝试从恢复模式(wiki是这里)恢复我的GRUB:
mount /dev/sda5 /mnt # my Linu
我以前读过几个问题,但没有找到解决办法。在运行update-grub命令时,它给出了以下输出:
root@Agustin-Ubuntu:/home/agustin# update-grub
Generating grub.cfg ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.5.0-45-generic
Found initrd image: /boot
我正在构建从/media/src_prog/linux-3.5/到/media/sda5_k/的内核(3.5)。我经历了以下步骤:
make O=/media/sda5_k/ menuconfig
make -j2 O=/media/sda5_k/
make O=/media/sda5_k/ modules_install
谈到make O=/media/sda5_k/ install,我得到的只有:
[root@localhost linux-3.5]# make O=/media/sda5_k/ install
sh /media/src_prog/linux-3.5/arch/x86/b
我已经按照nvdia-331的建议安装了$ sudo ubuntu-drivers devices。系统设置>详细信息显示我正在使用GeForce 820M/PCIe/SSE2和gpu-manager的输出,
last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot /etc/modprobe.d is not a file grep dmesg status 256 dmesg status 256 ==
跑完后:
sudo apt update
&
sudo apt upgrade
我得到以下错误:
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
linux-headers-5.13.0-41-generic linux-hwe-5.13-headers-5.13.0-41
linu
如何将Grub完全移动到一个新的分区?当我安装Ubuntu (Kubuntu)时,我只为/boot分区分配了256个D0,这似乎还不够。每次安装新内核时,安装都会部分失败,因为没有足够的空间,所以我不得不手动干预。因此,我试图将grub从旧的引导分区/dev/sdb5移动到新的512 MiB分区/dev/sdb7。
我编辑了/etc/fstab以指向使用新的引导分区。
# /boot was on /dev/sdb5 during installation
#UUID=f1fcbfbe-7943-4e48-9796-8d0c42076c0b /boot ext4 defau
出于测试目的,我安装了Natty。在安装过程中,我选择将它安装在我的10.10“安全”安装旁边。
这个安装似乎仍然存在,但是我不能再从GRUB引导它了。它根本没有显示出来。不过,引导纳蒂很有魅力。
我如何使它再次出现,以便我可以启动安装?
sudo update-grub输出
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.38-1-generic
Found initrd image: /boot/initrd.img-2.6.38-1-generic
Found linux image: /boot/vmlinuz-
我试图安装新内核,但是出了问题,我现在正试图删除它。误差按摩师是:
mhd@Tarek-Laptop:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-image-2.6.37-020637-generic
0 upgraded, 0 newly installed, 1 to remove and 9 n
如何移除12.x机器中不需要的内核
sudo update-grub
Generating grub.cfg ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.13.0-96-generic
Found initrd image: /boot/initrd.img-3.13.0-96-generic
Found linux image: /boot/vmli
我尝试通过今天出现的更新通知从Ubuntu15.04升级到15.10,但是在运行dpkg --configure时它被卡住了。以下是最后一条消息:
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.2.0-18-generic
Found initrd image: /boot/initr