Grub won't update

Since yesterday, I have this set of updates/downgrades that pamac wants to do (I’m on the testing branch):

To upgrade (2):
  gnome-shell-extension-gtk4-desktop-icons-ng  1:44-2                  (1:44-1)              extra     
  spectre-meltdown-checker                     0.46-1                  (0.45+10+g9bb79a1-1)  extra     
To downgrade (10):
  mesa                                         23.0.4-3                (23.1.4-3)            extra     
  grub                                         2.06.r499.ge67a551a4-4  (2.12rc1-1)           core      
  lib32-mesa                                   23.0.4-3                (23.1.4-2)            multilib  
  lib32-mesa-vdpau                             23.0.4-3                (23.1.4-2)            multilib  
  lib32-vulkan-intel                           23.0.4-3                (23.1.4-2)            multilib  
  vulkan-radeon                                23.0.4-3                (23.1.4-3)            extra     
  lib32-vulkan-radeon                          23.0.4-3                (23.1.4-2)            multilib  
  libva-mesa-driver                            23.0.4-3                (23.1.4-3)            extra     
  mesa-vdpau                                   23.0.4-3                (23.1.4-3)            extra     
  vulkan-intel                                 23.0.4-3                (23.1.4-3)            extra    

However, the transition fails here:

Checking keyring...                                                                                                             [12/12]
Checking integrity...                                                                                                           [12/12]
Loading packages files...                                                                                                       [12/12]
Checking file conflicts...                                                                                                      [12/12]
Error: Failed to commit transaction:
conflicting files:
- grub: /usr/bin/update-grub already exists in filesystem (owned by grub-update)

I’m very cautious when it comes to messing up with grub, of course. I appreciate any guidance. Thanks.

[Testing Update] 2023-09-06 - Kernels, PipeWire
[Testing Update] 2023-10-21 - Kernels, GNOME 45, VirtualBox, KDE, Thunderbird
[Testing Update] 2027-07-28 - Kernels, Gamescope-Plus, Mesa 23.1.4, Firefox, Wine
[Testing Update] 2023-09-11 - Kernels, Systemd 254.3, Mesa 23.1.7, Phosh, Phoc, LibreOffice
[Testing Update] 2023-09-15 - Kernels, KDE Gear, LibreOffice 7.6.1, Firefox
[Testing Update] 2023-07-31 - Kernels, Pipewire, Gamescope-Plus, Squashfuse
[Testing Update] 2023-08-04 - Kernels, Nextcloud, Plasma 5.27.7, Mesa 23.1.5, Firefox, Thunderbird
[Testing Update] 2023-08-08 - Kernels, Firmwares, Plasma, Pamac, Firefox, Pipewire
[Testing Update] 2023-09-22 - Kernels, NVIDIA, Mesa, GNOME
[Testing Update] 2023-08-09 - Kernels, Gamescope-Plus, NVIDIA, KDE-git, Haskell, Perl, Python
[Testing Update] 2023-08-31 - Kernels, Firefox, Thunderbird, LLVM, Mauikit, Qemu 8.1.0
[Testing Update] 2023-08-19 - Kernels, GlibC, Mesa 23.1.6, Deepin, Firefox, Thunderbird
[Testing Update] 2023-09-16 - KIO, Pipewire, Thunderbird, KDE-Git, Haskell
[Testing Update] 2023-08.25 - Kernels, NVIDIA, Budgie, LibreOffice 7.6, QEMU, GNOME 44.4
[Testing Update] 2023-08-28 - Kernels, KDE Gear 23.08, AMDVLK 23.Q3.1
[Testing Update] 2023-09-27 - Kernels, Thunderbird, Firefox, LibreOffice
[Testing Update] 2023-09-30 - Systemd, Firefox, LibreOffice, AMDVLK
[Testing Update] 2023-10-05 - Mesa, KDE Frameworks, Grub, GlibC, Thunderbird
[Testing Update] 2023-10-25 - Kernels, GNOME 45.1, Firefox 119.0, Plasma 5.27.9
[Testing Update] 2023-10-11 - Pipewire, Mattermost, Qt5, Haskell, Python
[Testing Update] 2023-10-26 - Kernels, AMDVLK, Plasma, KDE-Git
[Testing Update] 2023-09-13 - Kernels, KDE Frameworks, Plasma, KDE-Git

I am on unstable and have the relevant packages installed already.
I wonder about your package … maybe you replaced it with the AUR one?

pacman -Qi grub-update

I also wonder how things would go using a … more tested … package manager:

sudo pacman -Syu

pacman -Qi grub-update returns:

Name            : grub-update
Version         : 2.12rc1-1
Description     : GNU Grub (2) Update Menu Script
Architecture    : x86_64
URL             : https://www.gnu.org/software/grub/
Licenses        : GPL3
Groups          : None
Provides        : None
Depends On      : grub
Optional Deps   : None
Required By     : grub
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 324.00 B
Packager        : Philip Müller <philm@manjaro.org>
Build Date      : Wed 12 Jul 2023 09:57:16
Install Date    : Mon 24 Jul 2023 16:32:28
Install Reason  : Installed as a dependency for another package
Install Script  : Yes
Validated By    : Signature

sudo pacman -Syu returns:

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
warning: grub: local (2.12rc1-1) is newer than core (2.06.r499.ge67a551a4-4)
warning: lib32-mesa: local (23.1.4-2) is newer than multilib (23.0.4-3)
warning: lib32-mesa-vdpau: local (23.1.4-2) is newer than multilib (23.0.4-3)
warning: lib32-vulkan-intel: local (23.1.4-2) is newer than multilib (23.0.4-3)
warning: lib32-vulkan-radeon: local (23.1.4-2) is newer than multilib (23.0.4-3)
warning: libva-mesa-driver: local (23.1.4-3) is newer than extra (23.0.4-3)
warning: mesa: local (23.1.4-3) is newer than extra (23.0.4-3)
warning: mesa-vdpau: local (23.1.4-3) is newer than extra (23.0.4-3)
warning: vulkan-intel: local (23.1.4-3) is newer than extra (23.0.4-3)
warning: vulkan-radeon: local (23.1.4-3) is newer than extra (23.0.4-3)
 there is nothing to do

Ah. It appears your mirrors arent fully synced.

sudo pacman-mirrors -f && sudo pacman -Syuu

Though the grub is oddly truly newer than it should be.
(the extra u allows downgrades)

https://packages.manjaro.org/?query=mesa

sudo pacman -Rdd grub-update
sudo pacman -Suu grub

or simply disable downgrades in pamac

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.