Keeping Slackware Current

What I wrote in Slackware Diary – 3 about keeping Slackware up to date is not correct:

slackpkg update gpg
slackpkg update

Does not do the job. A closer look at told me that I had to also run

# slackpkg install-new
# slackpkg upgrade-all
# slackpkg clean-system

as root. This failed with

FATAL! There is some problem in packages database
       or maybe an installation or upgrade in progress: suggested an alternative. I downloaded and modified it to my own needs as with
ARCH=${ARCH:-"x86_64"} and RELEASE=${RELEASE:-"15.0"} and ran it. Then, as root
cd root@Tyrone:/home/ftp/pub/Linux/Slackware/slackware64-15.0/slackware64#
upgradepkg --install-new */*.t?z

which ran just fine. A lot of output flew by on the screen, but

cd /var/log/packages
ls -la|grep upgraded

showed that several packages were upgraded.

This process completely bypasses the slackpkg system. I suppose I will try slackpkg again sometime, but this alternative works, although downloading all of the Slackware packages seems like overkill.

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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