LibraZiK - Accueil
Blog
Documentation
Contact
Tutoriels
Don
Cliquez ici pour donner sur le compte liberapay du projet
Démos
Bogue
LibraZiK - summary in english

User Tools

Site Tools


en:manuel:installer_librazik:lzk4verslzk5

LibraZiK-5 manual - Installing LibraZiK-5 - method 2

Foreword

LibraZiK-5 installation logo - click to enlarge Here we will see how to upgrade a LibraZiK-4 audio studio to a LibraZiK-5 audio studio.

This tutorial was revised in August 2024 on LibraZiK-5.
This update was performed from a 32-bit LZK-4 to a 32-bit LZK-5 on an HP ProBook 6570b i3 2.1GHz 8GB RAM laptop connected to the internet via an RJ45 cable.
Note of August 2024 : the update procedure seems to work, but it is still potentially possible that something goes wrong in some cases. It is therefore very strongly advised to take all necessary precautions before following this tutorial (backup,…).

Modify repository indexes

Launch the Synaptic software and go to synaptic menu→ Configuration → Repositories.

LZK-4 -> LZK-5 upgrade: list of repositories for LibraZiK-4 - click to enlarge

Replace here:

  • the “bullseye” by “bookworm
  • the “barbeapapas” with “pasdawan
  • the “BAP” with “PDW

And add the “non-free-firmware” repository component to each of the lines. This is a new “component” of the repositories that contains non-free device driver firmware. This repository is intended to facilitate the installation of Debian on certain hardware without allowing all types of non-free software.


In the end, you should have these repositories:

LZK-4 -> LZK-5 upgrade: list of repositories for LibraZiK-5 - click to enlarge

Then click on the “Accept” button, then on the “Reload” button in the main Synaptic window. Synaptic will then update the repository indexes. This may take a few minutes.

Prepare the update

Then click on the “All Upgrade” button of Synaptic, then on the “Add to Selection” button.

Finally, click on the “Apply” button.

You will, here, perhaps have the impression that your computer is stuck. Wait several seconds.

Launch the update

Now click on “Apply”.

There, the update is launched, and it will take really quite a while… maybe even hours…

During the update, you may be asked several things.

apt-listchanges

A summary of important changes will be presented to you. You can read them if you are curious. In any case, you will have to click on the “Close” button to continue the update process.

libc6 configuration

The installation of the libc6 package will ask you whether to restart the services automatically.

LZK-4 -> LZK-5 upgrade: libc6 package configuration - click to enlarge

If you don't know how to choose here, check the box for the question: Restart services during package upgrades without asking? then click on the “Next” button.

grub configuration

The installation of the grub-pc package will ask you what you want to do.

LZK-4 -> LZK-5 update: grub configuration - click to enlarge

If you are unsure which option to choose, select Keep the currently installed version and click on the “Next” button.

Incorrectly installed packages (part 1)

Synaptic may inform you that some packages have not been installed correctly.

Synaptic informs you that some packages are incorrectly installed 1/2 Synaptic informs you that some packages are incorrectly installed 2/2


In this case, start by restarting your machine.

Here, if your machine restarts on a black screen, restart again and when the GRUB screen appears, press the E key and use the arrows on your alphanumeric keyboard to navigate to the initrd line, then add nomodeset to the end of the line. This will disable the advanced features of the Intel graphics card and start up on a basic graphics driver.

In command line, you can complete the installation and configuration of incorrectly installed packages by repeating what did not work before with the command: ‘'su -c “apt full-upgrade”’'.

Then launch Synaptic and “Reload”.

Synaptic message: problem in repositories

At this point, Synaptic may warn you that there is a problem in the repositories: Problem warning - click to enlarge

This message will reappear each time if we do not resolve the issue now, so let's do this once and for all.

What is happening here is that some of the repository addresses from the old LibraZiK-4 are still listed. As a reminder, these repositories addresses are (in short) internet addresses where Synaptic will look for lists of installable software.

To fix this, you can delete the following files: /etc/apt/sources.list.d/LZK-BAP-users.list and /etc/apt/sources.list.d/LZK-BAP-users-fr.list. CAUTION: ONLY delete files with BAP1) in their names, not those with PDW2).

To remove them, you can use one of the following commands (depending on how you installed your system, you will use “su” or “sudo” to switch to the administrator account):

  su -c 'rm /etc/apt/sources.list.d/LZK-BAP-*'

or

  sudo rm /etc/apt/sources.list.d/LZK-BAP-*

Incorrectly installed packages (part 2)

Once again, click “Reload” in Synaptic. The above message will no longer appear.

Check that the meta-packages librazik-menu, librazik-base-all, librazik-mate-all, librazik-optimisations-all, and librazik-theme-all are properly installed. If not, install them.

There will probably be a problem with LMMS here. If so, remove the lmms-common and lmms-vst packages and try again.

Now install a low-latency (LL) kernel dedicated to computer-assisted music.

Please note that the update will not have removed the kernels that were installed on your LibraZiK-4 system. You must therefore do this manually. To see which kernel to keep, refer to this paragraph.

Restart your machine to apply the new kernel: LibraZiK menu → System → Shut Down… then select “Restart”.

Qt theme correction

Manually delete the file “~/.config/qt5ct/qt5ct.conf”. The system will recreate a clean (and compliant!) file the next time it starts up. Please note that this must be done for each user account.

Reboot

Once the machine is restarted, you will see that the graphic theme is not completely restored. To do this:

  • go to: LZK menu → System → Preferences → Appearance → Appearance
  • search and choose the “LibraZiK-5” theme
  • click on the button: “Apply background”
  • close the Appearance Preferences window

Configurations of your LibraZiK-5 system

To finish installing your LibraZiK-5 audio studio, you will want to add some configurations to your system.

1)
the repository addresses for LibraZiK-4
2)
the repository addresses for LibraZiK-5
en/manuel/installer_librazik/lzk4verslzk5.txt · Last modified: by trebmuh