update slackware

Many people wonder, me my self too, how can i update my slackware to the current one? This is important question to be solved. The updated program in our computer should be the main reason of the answer the compatibility issue.
So i try to googling and find out how easy the slackware’s update is. Of course these steps mainly purposes for slacker who already had experience on installing slackware.
The steps, this with several condition occure: for example your slackware is 12.1 and you want to upgrade it to 12.2
1. open your terminal and change the environment to init 1.

#su
#init 1

2. mount your dvd slackware 12.2 to some directory or if you like you can leave it by default, mount to /media.

#mount /dev/dvdrom /media/cd

you can change the mount point to any folder you like.
3. Now update the main backbone program. the glibc and pkgtools.

#upgradepkg /media/cd/a/glibc-solibs-*.tgz
#upgradepkg /media/cd/a/pkgtools-*.tgz

4. After that copy your necessary setting that you use earlier. I note several important setting that i know here:
<div style="background: pink;"/etc/rc.d/rc.inet1.conf for your network
/etc/passwd for your password and user data
/etc/group for your group data
/etc/shadow for your user data
/etc/cupsd.conf for your cups printing program
/etc/fstab for your mounting partition
/etc/resolv for your dns data if any
/etc/samba/smb.conf for your share folder using samba
/etc/sudoers if any
/etc/X11/xorg.conf for your vga and monitor setting

/etc/lilo.conf for your lilo boot manager configuration
5. Start upgrading

#upgradepkg –install-new /media/cd/*/*.tgz

6. Check your package for latest one. Go to /var/log/packages. You will find packages with -new add name file. You can remove the old one using removepkg command.
7. Move back all your save setting in number 4.
8. Back to environment 3 setting
<div style="background: skyblue;"#init 3
9. You may restart your computer if you not sure.

Now you already have your slackware 12.2 in your computer. Hope there is nothing wrong with your setting.

source: http://slackware.osuosl.org/slackware/UPGRADE.TXT

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.