Here are the instructions of upgrading slackware according to slacwkare tutorial.
1. Open your terminal (start – system – terminal) type init 1 to change the environment to single user mode
$init 1
2. Login as root
3. Upgrade the main installation which is
upgradepkg /root/slackware/a/pkgtools-*.tgz upgradepkg /root/slackware/a/tar-*.tgz upgradepkg /root/slackware/a/xz-*.tgz upgradepkg /root/slackware/a/findutils-*.txz upgradepkg /root/slackware/a/glibc-solibs-*.t?z
4. Now install everything
upgradepkg --install-new /root/slackware/*/*.t?z
or if you want to miss the KDEI language package, just run the script which contains :
#!/bin/sh for dir in a ap d e f k kde l n t tcl x xap y ; do ( cd $dir ; upgradepkg --install-new *.t?z ) done
5. remove old packages. The easy one is take a look into /var/log/package
ls -lt | less
6. do the script
removepkg util-linux-ng guidance-power-manager eggdbus iptraf \ libXTrap libXprintAppUtil libXprintUtil libxkbui rstart trapproto \ xf86rushproto xfindproxy xfwp xplsprinters xprehashprinterlist \ xproxymanagementprotocol xsetmode xsetpointer xtrap Note the removal of util-linux-ng! You better make sure that the renamed util-linux package is installed before removing that.
7. Fix the config file. There is also a script for that. It will rename the extension new config file to the regular file by copy the old one into bak file.
#!/bin/sh cd /etc find . -name "*.new" | while read configfile ; do if [ ! "$configfile" = "./rc.d/rc.inet1.conf.new" \ -a ! "$configfile" = "./rc.d/rc.local.new" \ -a ! "$configfile" = "./group.new" \ -a ! "$configfile" = "./passwd.new" \ -a ! "$configfile" = "./shadow.new" ]; then cp -a $(echo $configfile | rev | cut -f 2- -d . | rev) \ $(echo $configfile | rev | cut -f 2- -d . | rev).bak 2> /dev/null mv $configfile $(echo $configfile | rev | cut -f 2- -d . | rev) fi done
8. Make sure the /etc/lilo.conf is contain the right path. Or do this command to make sure the lilo installed to the MBR.
/sbin/lilo
9. back to init 3 and reboot
It should work.