Wednesday, October 23, 2013

Upgrading Slackware Machine

Few days ago, i perform my biggest upgrade ever on one of the server running Slackware. It was running Slackware 12.2 and since it will be EOL'ed by Patrick on December 2013, with two months left, i think it's time to move on. I decided to upgrade to Slackware 14.0, and i'm using slackpkg to help me on this one.

Since on that machine i have all the Slackware repository for 12.2 up until 14.0 (and even -Current), it's so easy to do so. I just changed the default configuration of slackpkg to use DOWNLOAD_ALL=on just to make sure everything is downloaded before attempting to upgrade the packages. Next is updating the mirror location to the local files and change it to Slackware 13.0 and ran
  • slackpkg update gpg
  • slackpkg update
  • slackpkg install-new
  • slackpkg upgrade-all
  • slackpkg clean-system
After all of these steps are done, i reviewed changes on the configuration and merged them and make sure that it still worked. This is the most time-consuming if you have so many customized configuration. Since this is a server, there weren't so many packages installed and most of it are basic applications and libraries.

I continued with Slackware 13.1, 13.37, and finally 14.0. These upgrade steps must be done one by one. You can't jump from 12.2 to 14.0 directly or else you might skip some important packages between those two versions.

There are some packages that will not work until you reboot your system and your kernel is updated with a new one. One of them is apr-* packages which is a dependency of httpd (apache web server).

Right now, the server is running on Slackware 14.0 and i'm planning to upgrade to Slackware 14.1 once it's released (it should be released soon).

Big thanks to slackpkg to make my upgrade process went so smooth :)

No comments:

Post a Comment