Upgrade to SliTaz 5.1 SliTaz 5.1

How to get from an older SliTaz to 5.1, and what is really possible. In short: from SliTaz 4.0 or an old 5.0 system, make a fresh install and keep your files. From a recent cooking install, spk-up is enough. The Handbook says the same in Coming from SliTaz 4.0; this page gives the details and the backup steps.

What do you have?

Three commands tell where you start from:

$ cat /etc/slitaz-release
$ cat /var/lib/tazpkg/mirror
$ uname -m

Then pick your case below.

From SliTaz 4.0: fresh install

SliTaz 4.0 came out in 2012. Between 4.0 and 5.1 almost everything changed: the kernel (6.12 LTS instead of 2.6/3.x), udev, the desktop (LXDE on GTK3 with the LXTaz tools), the login manager, the settings tools and the package manager (spk, with tazpkg still there). No upgrade from 4.0 with tazpkg up was ever tested, and pointing a 4.0 system at the 5.1 mirror is very likely to leave it unbootable.

The tested and recommended way is a fresh install from a 5.1 ISO, keeping your /home: see "Keep your files" below.

From SliTaz 5.0 or an old rolling install

There was never a stable SliTaz 5.0: "5.0" systems are release candidates or rolling installs that followed cooking, with the 3.16 kernel, GTK2 and TazPanel. Their packages were never tested against the 5.1 mirror, and their mirror file may point to an older address.

Upgrading such a system in place is not a tested path. Treat it like 4.0: back up, then make a fresh install.

A system that only knows tazpkg and whose mirror file is not one of the two addresses above is in this case.

The installer's Upgrade mode and tazpkg set-release

Two older tools still offer an upgrade. Neither was tested from 4.0 or 5.0 to 5.1:

Prefer the fresh install: it keeps your files just as well, and you start from a clean 5.1.

From a recent cooking install: spk-up

The cooking ISOs published since October 2026 ("on the road to 5.1") and the 5.1 release candidates use the same packages as 5.1. Installs made from them upgrade in place. As root:

# spk-up

spk-up refreshes the package lists, shows the upgrades and asks for confirmation. On SliTaz Base i486, which has no spk, use tazpkg recharge then tazpkg up. The commands and options are in the Handbook, Upgrade the system.

This was tested: installs from the cooking ISOs of 20 and 31 October 2026, i486 and x86_64, upgraded to the mirror of November with spk-up, rebooted fine with X, network and USB keyboard.

Before you start:

After the upgrade

Reboot when the kernel was upgraded. When linux-lts is in the list, the modules of the running kernel are replaced: until you reboot, a new USB device or Wi-Fi card may find no driver.

Never upgrade linux-lts from a live session. The running kernel comes from the ISO, it loses its modules and you lose the network and the graphics driver until the next boot.

The login manager stays SLiM. An upgrade keeps your /etc/rcS.conf, so an older install still starts SLiM. To get the 5.1 login screen, install lxtaz-dm:

# spk-add lxtaz-dm

then set this line in /etc/rcS.conf and reboot:

LOGIN_MANAGER="lxtaz-dm"

See Login and session in the Handbook. Other tools changed name in 5.1 (TazPanel → Trame, udev → eudev...): the list is in Renamed and replaced packages. spk-up does not swap an installed package for its new name: install the new one yourself when you want it.

Cooking and the 5.1 stable branch

A cooking install keeps following cooking: spk-up brings it the packages built after 5.1. When 5.1 stable is out with its own package tree, its release notes will tell how to follow it; until then, no switch from cooking to stable has been tested, so do not edit the mirror file by hand.

From 32-bit to 64-bit: fresh install

The architecture cannot change in place: every package of an i486 system is built for 32-bit, and spk-up only upgrades within the same architecture. To move to x86_64, make a fresh install from an x86_64 ISO and keep your /home.

First check that the processor runs 64-bit code: this prints lm on a 64-bit CPU and nothing on a 32-bit one.

$ grep -o -w lm /proc/cpuinfo | sort -u

Keep your files

Whatever the case, back up first. What to keep:

$ ls /var/lib/tazpkg/installed > ~/packages-old.txt

/home on its own partition

The easy case. Install 5.1 on the root partition and give your existing /home partition to the installer without formatting it, as the Handbook explains in Install from the desktop. Still make a copy first: one wrong click formats it.

/home on the root partition

Tazinst can install on the same partition without formatting it: it then removes everything on it except /home, and the partition keeps its file system.

Copy your home to another disk or a USB key first anyway, as root, here mounted on /media/usb:

# cp -a /home /media/usb/home-backup

If you choose to format the root partition, copy your files back into the new home after the install.

After the fresh install

Troubleshooting

spk-up says there is nothing to do right after an install: the lists were not refreshed. Run spk-up --list, then spk-up.

No network after an upgrade, before reboot: the kernel was upgraded and its modules changed. Reboot.

The upgrade broke the system: boot the SliTaz rescue (reprise) entry of the boot menu, or run reprise --fix as root. It compares the system with its state before the upgrade and proposes to roll back the packages that broke it, from /var/cache/spk/previous/, without network. See Repair a broken system.

The desktop looks wrong after a fresh install with an old home: settings from the old desktop live in hidden files of your home. Create a second user to compare; if the new user is fine, the old settings are the cause.