Saturday, 7 August 2010

How to upgrade SalixOS 13.0 to 13.1

This is a short guide on how to upgrade your SalixOS to the latest version, 13.1. I'm mirroring the instructions here in case it gets lost in the mist of time and for my own perusal. Please note this was not written by me. All credits go to the SalixOS user documentation team.


Preparing for the upgrade

You first need to change the default repositories to the ones for Slackware and Salix 13.1. Open file /etc/slapt-get/slapt-getrc and change all "13.0" instances to "13.1". Also make sure the Slackware repositories have an OFFICIAL priority. Example setups are show below:

i486 architecture


x86_64 architecture

After you make the changes, run
slapt-get -u

Upgrading packages

It's always safer to upgrade your glibc package first:
slapt-get -i glibc
And then upgrade all other packages to their versions in current:
slapt-get --upgrade
DO NOT use:
slapt-get --dist-upgrade
in any case. Although it might seem to be the best option for upgrading to a different version, it really isn't.
Upgrade your udev package, it's locked for upgrades in /etc/slapt-get/slapt-getrc so you have to ask for it explicitly:
slapt-get -i udev

Obsolete packages

Some packages have been obsoleted and should be removed. Some have been replaced by new packages. You can do this automatically with:
slapt-get --remove-obsolete --remove
Careful, because this will also remove all personal packages that you might have installed, if any. If you want a complete list of the obsolete packages, read the Slackware and Salix changelogs and look for entries marked with "Removed":

i486 changelogs


x86_64 changelogs



Upgrading the kernel

You don't need to upgrade your kernel, especially if your hardware is running with no problems with the old kernel. If you want to, be advised that there might be complications if your system includes ATA hard drives. If you system includes SATA hard drives only, you'll have no such problems.
If you do have ATA hard drives, make sure your read the "LIBATA SWITCHOVER" section in the Slackware CHANGES_AND_HINTS.TXT file in any Slackware 13.1 repository, or you're likely to have your system not booting after the upgrade:
If you don't have any ATA hard drives, run a:
ls /var/log/packages/kernel*
to see which kernel packages you have installed and do a slapt-get -i for each one of them.
If you have switched to the kernel-generic package instead of the default kernel-huge package, don't forget to recreate the initrd.gz file which will be needed for booting you upgraded system. If you're still using the default kernel-huge package, an initrd is not needed anyway and you needn't be concerned about it.
After upgrading the packages, don't forget to edit your /etc/lilo.conf file accordingly and run:
lilo -v
to inform the bootloader about the kernel upgrade.


Configuration files

After doing all the upgrades, run:
to accept or reject new configuration files. Make sure that you DO NOT replace your /etc/passwd, /etc/shadow or /etc/group files. If you do, you will lose all users/groups/passwords you have in your system. However, even if you do, you can get the old files back, they will be kept in the same locations, with an .orig suffix.

Thanks to: The SalixOS User Documentation Team


  1. I can verify that the above instructions work fine. I did not upgrade the kernel and a small problem remains where apparently alsa-libs are not recognized, no sound at the moment.
    After the remove obsolete packages step above you'll have to reinstall and probably recompile any extra programs you had installed. You'll also need to install mplayer-plugin from the repository for multimedia browser integration, because totem which was handling this previously has been removed.
    Lastly, install the codec-installer from the repo and execute it to make sure you have all the codecs you should have. = Enjoy.

  2. @Barnaby
    Well, that was interesting. It wasn't a problem with alsa but related to udev. If you elect to upgrade to 13.1 but keep your old stock kernel from 13.0 around like I did DO NOT upgrade udev, otherwise your system will not recognise your alsa devices.
    I'm thinking of changing the official instructions above to reflect this, but in the meantime hopefully anyone thinking of following this will read the comments.

  3. Downgrading udev works to get the mixer and all entries in /dev/snd created again that were not created with the new udev from 13.1. gapan from the Salix team cautioned though that this might break scanner support, and possibly a few other things. I don't do scanning and haven't noticed anything else untoward, but be aware!



12.04 LTS (1) 1280x1024 (2) 14.1 (1) absolute (3) accessibility (6) administration (2) afterstep (1) android (2) announcements (13) anonymity (5) anonymous (1) anonymous browsing (1) antiX (2) applications (1) arch (9) archbang (11) archone (1) authentication (1) backports (1) bash (2) bittorrent (2) block-this (1) bodhi (1) books (1) browsers (5) browsing (1) bsd (2) bug (2) bugs (3) calculate (1) centos (1) certification (1) chakra (2) chat (1) chatzilla (1) chromebook (1) chromium (2) click (1) commodore 64 (1) crunchbang (5) crux (1) ctkarch (1) debian (21) desktop (55) devuan (1) digital certificates (1) digital memories (1) distributions (72) documentaries (1) documentation (2) drivers (1) duo (1) e17 (1) encryption (3) enlightenment (1) events (1) exit nodes (1) fake (1) fallout (1) fallout 4 (1) fedora (6) firefox (3) flash (1) flush (1) fluxbox (6) fluxflux (1) FPS (2) free software (2) frugalware (1) FSF (1) fusion (1) fvwm (1) fvwm-crystal (1) games (10) gaming (9) gentoo (2) gnome (8) gnome shell (4) gnu/linux (4) google (2) google-chrome (3) graphics (1) grml (1) hangouts (1) hardcore punk (1) hardware (3) how-to (22) humor (2) icewm (3) init (2) init freedom (2) interview (1) introduction (1) jibbed (1) jwm (1) kanotix (2) kde (17) kde3 (2) kernel (6) knoppix (1) kongoni (2) kubuntu (1) LAS (1) libtorrent-rasterbar (1) linux (18) linux light (12) live (40) live medium (13) live system (7) liveslak (1) lxde (12) lxqt (1) mageia (1) mandriva (1) marine life (1) mate (1) media center (4) mepis (2) mint (2) mobile (2) movies (5) mozilla (3) music (1) netbook (2) networking (4) news (3) nvidia (1) open source (1) openbox (13) openSUSE (2) opinion (12) other (5) overclockix (1) packages (1) pclinuxos (2) perl (1) poll (2) porteus (3) privacy (5) privoxy (1) programming (1) proxy (2) puppy (3) qbittorrent (1) qt (1) quick look (10) ratpoison (1) red hat (6) relax (1) release (1) reviews (48) rhythmbox (1) RPG (2) sabayon (5) salix (15) scientific (7) screenshots (2) scripts (3) security (2) semplice (1) server (3) shell (1) shooter (4) siduction (1) slackel (1) slackware (50) slackware 14.2 (1) slackware-current (10) slax (7) slitaz (1) smart phones (2) sms (1) south africa (2) specialist (1) spoof (1) surfing (1) systemd (2) table mountain (1) TDE (1) tegra k1 (1) themes (1) tinyme (1) tips (1) tor (3) torrenting (1) torrents (1) traffic analysis (2) trinity (2) trisquel (1) ubuntu (4) unity (2) unity linux (3) unix (1) upgrade (5) vector (2) video (3) vinux (2) virtualbsd (1) visual impairment (5) voip (1) vpn (2) wallpapers (3) window maker (4) window managers (1) wireless (10) xfce (13) youtube (1) zenwalk (3) zoo (1)