![]() ![]() You can now sync the repositories again with:.This way, you won’t receive all the updates from the unstable server with the next command. If the file doesn’t exist, we’ll create it.Īs you can see, with set a priority for each repository.Īs 500 is higher than 100, apt will use the bullseye repository first, and the unstable one only if there is the package you want to install is not available in the main one. To fix this, you can configure the apt behavior by editing one file: Save and exit (with nano: CTRL+O, CTRL+X).ĭon’t do the system updates for now, or it will update everything from the unstable repository.Īre you a bit lost in the Linux command line? Check this article first for the most important commands to remember and a free downloadable cheat sheet so you can have the commands at your fingertips.Add these lines at the end of the file:.Remember to use sudo or an administrator terminal for doing this. Open the sources.list file with your favorite text editor, for example:.Add the unstable repository to your packages sourcesĪnyway, here is how to add the unstable repository on Debian: But we are talking of a big project (GNOME) that has been around for at least 6 months, so most bugs are already fixed, and most distributions are using it by default, so it’s not really risky if you are mainly using your Debian PC for desktop usage. So, unstable is not necessarily something you would use on a server or on a critical setup. As you may already know, a new version for any package moves this way:Įxperimental => unstable => testing => stable Hopefully, GNOME 43 is available in the Debian repository, but only on the “unstable” server. Since then, many other versions have been released, the latest one is Gnome 43 at the time of writing. Once done, you can move to the next step. It will require more or less time depending on how often you usually do it. Upgrade the packages that need an update:.Sync the repository packages versions with:.Or if you only have the sudo privilege, add the prefix “sudo” to each command I give in this tutorial: You can generally switch to root with this command: Either use root or sudo, depending on your system settings.This will avoid any issues later on, especially with package versions unavailable. Prerequisite: Do your system updatesĪs before any new project or service installation, the Debian system needs to be updated first. We’ll configure it to only use the unstable repository for GNOME packages or when explicitly requested in the apt command. To install it on Debian, the apt command can be used only once the unstable repository has been added in the “sources.list” file.ĭon’t worry, I’ll give you all the commands to safely add it to your system. The latest version of GNOME is not available in the default repository, only in the unstable one. In this tutorial, I will explain how to install the latest version of GNOME, but it works the same way for any package. But if for some reason, you want to install a more recent one, it’s not really intuitive. ![]() Using Debian is fine when you are looking for stability and don’t necessarily need the latest version of each application or service. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |