To update your Slack, which you should do as soon as you install it, do the following:
1) First choose a server from the list --> /etc/slackpkg/mirrors
- edit the list via command line (or whatever's comfortable for you)
root@slackware~:$ vim /etc/slackpkg/mirrors
It will look like this:
# mirrors - List of Slackware Linux mirrors.
# SlackPkg - An Automated packaging tool for Slackware Linux
# Copyright © 2003-2011 Roberto F. Batista, Evaldo Gardenali
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# Project Page: http://slackpkg.org/
# Roberto F. Batista (aka PiterPunk) email@example.com
# Evaldo Gardenali (aka UdontKnow) firstname.lastname@example.org
# END OF LEGAL NOTICE
Further down, you'll see individual servers. Just uncomment (remove #) the one you want to use.
2) Now you can update using Slackpkg:
root@slackware~:$ slacpkg update
The command will tell Slackpkg to search the server you chose for the updated package lists. Once this is done, it'll look like this in your terminal:
Resolving mirrors.slackware.com... 220.127.116.11
Connecting to mirrors.slackware.com|18.104.22.168|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 845 [text/plain]
Saving to: '/tmp/slackpkg.8wnBEW/testing-PACKAGES.TXT'
/tmp/slackpkg.8wnBE 100%[===================>] 845 --.-KB/s in 0s
2018-07-18 20:01:07 (210 MB/s) - '/tmp/slackpkg.8wnBEW/testing-PACKAGES.TXT' saved [845/845]
Formatting lists to slackpkg style...
Package List: using CHECKSUMS.md5 as source
Now use the following command to actually upgrade the system:
root@slackware~:$ slackpkg upgrade-all
An ncurses window will appear in your terminal with all the packages that are available for upgrade... pick and choose or install all.
Oh, this pic reminds me of something very IMPORTANT
You'll need to blacklist your kernel from upgrading via slackpkg. It's NOT a good idea to upgrade the kernel with the package manager in Slackware. Always MANUALLY upgrade your kernel. To blacklist, you'll need to edit your /etc/slackpkg/blacklist file. Here's what my kernel blacklist entries look like: