Apt wants to reinstall Grub?

chrisb1

Member
Aug 14, 2021
12
0
6
Hi,
today I noticed, that apt wants to reinstall grub (I'm on systemd-boot) and I'm not really sure why. grub and osprober are at least no direct dependencies of the packages that should be updated.
Can this cause any problems? I'm honestly not sure if the host would switch back to Grub as a consequence of the installation and initial automatic configuration (done by apt/dpkg).
This is the output of apt:
Code:
root@proxmox1:~# apt full-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  grub-common grub-pc grub-pc-bin grub2-common os-prober proxmox-kernel-6.5.11-8-pve-signed
The following packages will be upgraded:
  proxmox-backup-client proxmox-backup-file-restore proxmox-kernel-6.5
3 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 110 MB of archives.
After this operation, 581 MB of additional disk space will be used.
Do you want to continue? [Y/n]

Could anyone please confirm, that the installation won't cause issues? And could someone please explain the cause for the grub (re-)installation? My apt-skills are far not sufficient...

Thanks
 
Seams like the kernel update is causing the Grub installation, but the reason is unclear to me:
Bash:
root@proxmox1:~# apt install --dry-run proxmox-kernel-6.5
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  grub-common grub-pc grub-pc-bin grub2-common os-prober proxmox-kernel-6.5.11-8-pve-signed
Suggested packages:
  multiboot-doc grub-emu mtools xorriso desktop-base
The following NEW packages will be installed:
  grub-common grub-pc grub-pc-bin grub2-common os-prober proxmox-kernel-6.5.11-8-pve-signed
The following packages will be upgraded:
  proxmox-kernel-6.5
1 upgraded, 6 newly installed, 0 to remove and 2 not upgraded.
Inst grub-common (2.06-13+pmx1 Proxmox Debian Repository:stable [amd64])
Inst grub2-common (2.06-13+pmx1 Proxmox Debian Repository:stable [amd64])
Inst grub-pc-bin (2.06-13+pmx1 Proxmox Debian Repository:stable [amd64])
Inst grub-pc (2.06-13+pmx1 Proxmox Debian Repository:stable [amd64])
Inst os-prober (1.81 Debian:12.4/stable [amd64])
Inst proxmox-kernel-6.5.11-8-pve-signed (6.5.11-8 Proxmox Debian Repository:stable [amd64])
Inst proxmox-kernel-6.5 [6.5.11-7] (6.5.11-8 Proxmox Debian Repository:stable [all])
Conf grub-common (2.06-13+pmx1 Proxmox Debian Repository:stable [amd64])
Conf grub2-common (2.06-13+pmx1 Proxmox Debian Repository:stable [amd64])
Conf grub-pc-bin (2.06-13+pmx1 Proxmox Debian Repository:stable [amd64])
Conf grub-pc (2.06-13+pmx1 Proxmox Debian Repository:stable [amd64])
Conf os-prober (1.81 Debian:12.4/stable [amd64])
Conf proxmox-kernel-6.5.11-8-pve-signed (6.5.11-8 Proxmox Debian Repository:stable [amd64])
Conf proxmox-kernel-6.5 (6.5.11-8 Proxmox Debian Repository:stable [all])
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!