Release Notes for Alpine 3.20.0: Difference between revisions

From Alpine Linux
m (→‎grub 2.12: Attempt to correct small typos/grammar/redundancy. Correct file path for grub backup file.)
m (Improve formatting)
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
=== grub 2.12 ===
=== grub 2.12 ===


When upgrading existing installations using grub on UEFI systems, make sure to update the installed bootloader before rebooting, otherwise your machine might not boot.
When upgrading existing installations using grub on UEFI systems, make sure to update the installed bootloader before rebooting otherwise your machine might not boot.


The problem is that grub added new configuration that executes <code>fwsetup --is-supported</code>, but grub 2.06 does not support the <code>--is-supported</code> argument yet, causing grub to unconditionally try to reboot into firmware.
The problem is that grub added a new configuration that executes <code>fwsetup --is-supported</code>, but grub 2.06 does not support the <code>--is-supported</code> argument yet, causing grub to try to reboot into firmware unconditionally.


Here is an example assuming the default setup. Don't blindly copy this example but verify what's applicable to your system.
Here is an example assuming the default setup. Don't blindly copy this example, but verify what's applicable to your system.
   
   
==== EFI ====
==== EFI ====
Line 22: Line 22:
; fwa : The respective [https://gitlab.alpinelinux.org/alpine/alpine-conf/-/blob/master/setup-disk.in#L320-324 firmware architecture] for your system
; fwa : The respective [https://gitlab.alpinelinux.org/alpine/alpine-conf/-/blob/master/setup-disk.in#L320-324 firmware architecture] for your system


==== Short-term work-around ====
==== Short-term workaround ====


A short-term work-around to get the system bootable again is to restore the backup configuration:
A short-term workaround to get the system bootable again is to restore the backup configuration:


{{Cmd|cp /boot/grub/grub.cfg.backup /boot/grub.cfg }}
{{Cmd|cp /boot/grub/grub.cfg.backup /boot/grub.cfg }}
Line 42: Line 42:


Another replacement alternative, the [https://spdx.org/licenses/LGPL-3.0-only.html LGPL-3.0-only] licensed fork [https://redict.io/ Redict] is also available in the community repository.
Another replacement alternative, the [https://spdx.org/licenses/LGPL-3.0-only.html LGPL-3.0-only] licensed fork [https://redict.io/ Redict] is also available in the community repository.


=== yq ===
=== yq ===
yq was renamed to yq-go. https://gitlab.alpinelinux.org/alpine/aports/-/issues/16052
yq was renamed to yq-go. [https://gitlab.alpinelinux.org/alpine/aports/-/issues/16052 #16052]


=== aws-cli ===
=== aws-cli ===
Due to incompatibility issues with Python 3.12, aws-cli has been temporarily disabled until the issue is resolved by upstream. See the corresponding problem at upstream: https://github.com/aws/aws-cli/issues/8342
Due to incompatibility issues with Python 3.12, aws-cli has been temporarily disabled until the issue is resolved by upstream. See the corresponding problem upstream: [https://github.com/aws/aws-cli/issues/8342 #8342]


=== GNOME 46 ===
=== GNOME 46 ===
Line 55: Line 54:


Depending on how you installed GNOME, you may have to manually add <code>gcr-ssh-agent</code> after upgrading to retain GNOME Keyring ssh integration.
Depending on how you installed GNOME, you may have to manually add <code>gcr-ssh-agent</code> after upgrading to retain GNOME Keyring ssh integration.
== Upgrades ==
* Crystal 1.12
* LLVM 18
* nginx 1.26
* .NET 8
* Nim 2.0
* OpenJDK 22
* Python 3.12
* Racket 8.13
* Ruby 3.3
* Rust 1.7.8
* R 4.4
* Sway 1.9

Revision as of 21:43, 20 May 2024

Base System

grub 2.12

When upgrading existing installations using grub on UEFI systems, make sure to update the installed bootloader before rebooting otherwise your machine might not boot.

The problem is that grub added a new configuration that executes fwsetup --is-supported, but grub 2.06 does not support the --is-supported argument yet, causing grub to try to reboot into firmware unconditionally.

Here is an example assuming the default setup. Don't blindly copy this example, but verify what's applicable to your system.

EFI

# grub-install --target=$target --efi-directory=$efi_directory \ --bootloader-id=alpine --boot-directory=/boot --no-nvram # install -D $efi_directory/EFI/alpine/grub$fwa.efi $efi_directory/EFI/boot/boot$fwa.efi

target
The relevant target for your system
efi_directory
Either /boot/efi or /boot. Run awk '$2 ~ /boot/ && $3 ~ /fat|msdos/ { print $2 }' /proc/mounts to confirm.
fwa
The respective firmware architecture for your system

Short-term workaround

A short-term workaround to get the system bootable again is to restore the backup configuration:

cp /boot/grub/grub.cfg.backup /boot/grub.cfg

This should allow you to boot the system again in order to fix it permanently. This will be reverted when either grub or the kernel is updated again.

This will only work if update-grub has not been executed any more since the upgrade to grub 2.12.

Others

Redis

Due to the relicensing of Redis to RSALv2+SSPLv1, a non-free license model, the BSD-3-Clause licensed fork Valkey has replaced Redis in the main package repository.

A valkey-compat package is provided with symlinks and group for easy Redis replacement.

The redis aport has been moved to the community repository, with a shorter support cycle, and will not be upgraded past 7.2.x due to the license change.

Another replacement alternative, the LGPL-3.0-only licensed fork Redict is also available in the community repository.

yq

yq was renamed to yq-go. #16052

aws-cli

Due to incompatibility issues with Python 3.12, aws-cli has been temporarily disabled until the issue is resolved by upstream. See the corresponding problem upstream: #8342

GNOME 46

New upstream release of GNOME.

Depending on how you installed GNOME, you may have to manually add gcr-ssh-agent after upgrading to retain GNOME Keyring ssh integration.

Upgrades

  • Crystal 1.12
  • LLVM 18
  • nginx 1.26
  • .NET 8
  • Nim 2.0
  • OpenJDK 22
  • Python 3.12
  • Racket 8.13
  • Ruby 3.3
  • Rust 1.7.8
  • R 4.4
  • Sway 1.9