1
August
2023
Updating from Linux Mint 21.1 "Vera" to 21.2 "Victoria"
16:30

Updating from Linux Mint 21.1 "Vera" to 21.2 "Victoria"

1 August 2023 16:30

In the "Update Manager" on August 1, 2023, I noticed the news about the appearance of version 21.2 "Victoria". The transition was completed successfully.

Comparison of Linux Mint versions 21, 21.1 and 21.2

OS Version 21 "Vanessa" 21.1 "Vera" 21.2 "Victoria"
Support Type LTS LTS LTS
Ubuntu codebase 22.04 22.04 22.04
Core in delivery 5.15 5.15 5.15
Release date 07'2022 12'2022 07'2023
Support period until 2027 until 2027 until 2027
RAM requirements, GB (min. - recommended) 2-4 2-4 2-4
Requirements for HDD, GB 20 20 20
LibreOffice 7.3.7 7.3.7 7.3.7
Snap store disabled disabled disabled
The list of programs includes FlapPack no yes yes
Features - new look new look


Switching to Linux Mint 21.2

1) In "Update Manager" - "View" - "Linux Kernel" I removed the 5.19 kernel, left 5.15 (will be used by default when booting the PC)
2) In the /etc/apt/sources.list.d directory, I removed the configuration files of third-party repositories (I created a bak folder and archived the *.list files into it
3) In the Application Sources program, I disabled all PPA repositories.
4) In the "Update Manager" I switched to local mirrors in the Russian Federation
5) Completely updated the programs in the terminal sudo apt-get update && sudo apt-get upgrade && sudo apt-get autoremove && sudo apt-get autoclean
6) To update, you need the mint-upgrade-info package (it was installed) sudo apt install mint-upgrade-info
7) Rebooted the PC (now kernel 5.15)
8) In TimeShift, I created a system snapshot in case of unforeseen circumstances during the update
9) In the "Update Manager" - "Edit" performed the action "Update to Linux Mint 21.2 Victoria"
10) After the update was completed, I rebooted the PC. The operating system version changed from 21.1 to 21.2.
11) In "Application sources" I switched to local mirrors in Russia (since they automatically switched to others).

Features of the transition

  1. In the "Update Manager" before proceeding, you need to uncheck the 5 programs FlatPak (org.freedesktop.platform ...) and KDE (org.kde.Plarform ...) and VAAPI.
  2. After switching to 21.2, in the "Update Manager" you need to switch again to local Linux Mint mirrors in the Russian Federation

Known Issues and Bugs

  1. If on computers with UEFI the OS does not start and install from a flash drive with ISO, you need to disable the secureboot option in BIOS Setup

  2. If you do not migrate, but clean install from a flash drive, Grub "Out of memory" error is possible. To solve the problem you need to prepare a bootable USB disk using Rufus

  3. After the update, I noticed that some screen savers do not work (BadAlloc error), the work of which is related to OpenGL

  4. If you are using a 2k monitor and the icons look small, you need to install the package sudo apt install grub2-theme-mint-2k

  5. System Reports detects a conflicting ayatana-indicator-application indicator in the system tray (I recommend removing it)

  6. In Linux Mint, it is possible to hack the system via Snap (which, although disabled, can be installed through package dependencies): "Some APT packages in the Ubuntu repositories not only install snap as a dependency, but also run snap commands as root without your knowledge or consent and connect your computer to a remote proprietary storage managed by Canonical." Thus, it is necessary to control the lack of a snap store with the command

    sudo apt purge snap* -y

  7. The email program "Evolution" does not start. "BadAlloc" error.

(evolution:4195): Gdk-ERROR**: 16:05:10.647: The program 'evolution' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
(Details: serial 193 error_code 11 request_code 149 (unknown) minor_code 2)

Solving the Evolution launch problem

The problem was related to _replacing the integrated Intel video card with an ATI Radeon X300.

Solution:

In the /etc/X11/xorg.conf.d directory, deleted the old file from the integrated Intel graphics

sudo rm /etc/X11/xorg.conf.d/20-intel.conf 

The driver for the ATI Radeon video card connects to the kernel automatically; you don’t need to do anything. It is possible, but not required, to run "sudo update-initramfs -u" on the active kernel (which starts by default on next boot) or "sudo update-initramfs -u -k all" on all OS kernels (for example, backup ones like 5.10).

sudo apt update
sudo apt upgrade
sudo apt install initramfs-tools
sudo update-initramfs -u -k all

I rebooted and in recovery mode (text mode without graphics) ran the following command as "root":

X -configure

The window output should contain information about the video card. In my case there are 2 radeons. - since the video card has 2 video outputs for 2 monitors.

I copied the configuration:

sudo cp /root/xorg.conf.new /etc/X11/xorg.conf

Reboot your computer.

reboot

After logging into the desktop, the Evolution mail client starts without error.

There is just a small warning:
(evolution:11018): WARNING: 16:40:03.878: WEBKIT_FORCE_SANDBOX no longer allows disabling the sandbox. Use WEBKIT_DISABLE_SANDBOX_THIS_IS_DANGEROUS=1 instead.

Solution:

Run from terminal:

export WEBKIT_DISABLE_SANDBOX_THIS_IS_DANGEROUS=1

There are no more errors or warnings. Now screensavers using OpenGL have begun to work. The main thing is that Evolution works.

snake



Related publications