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:

LinuxQuestions.org suggested an alternative. I downloaded mirror-slackware-current.sh and modified it to my own needs as mirror-slackware-gtm.sh with
ARCH=${ARCH:-"x86_64"} and RELEASE=${RELEASE:-"15.0"} and ran it. Then, as root

mirror-slackware-gtm.sh
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.

1 thought on “Keeping Slackware Current

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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.