ok, hang on let me first just heads up @70-tango-charlie "English humour alert"
Well upgrading could be said to be a bit of a "performance" and you know singers just don't go and do their stuff. No first they warm up with Do,re, mi, Fa, scales. So first warm up your brain reading this 5 times :
docs.slackware.com
if you can spot any errors let me know! (i wrote it)
end of english humor
Next I have to acknowledge & bow down to Alien Bob and who's article i mostly used.You can read it direct here:
docs.slackware.com
my post is simply my experience with explanation
Next head over to :
https://mirror.slackbuilds.org/slackware/slackware64-current/slackware64/a/
Down load by right mouse clicking on entries ,save link as .. and thus down load :
kernel-firmware-20200114_9c340bd-noarch-1.txz
kernel-generic-5.4.12-x86_64-1.txz
kernel-modules-5.4.12-x86_64-1.txz
mkinitrd-1.4.11-x86_64-14.txz
then head over to :
https://mirror.slackbuilds.org/slackware/slackware64-current/slackware64/ap/ right click on slackpkg-2.83.0-noarch-4.txz download link as ...an thus download latest slackpkg
We are going to do some manual stuff and leave nothing to chance. Your slackware has been booted and logged in as normal user. We don't need telinit 1 or anything special.
Say you have downloaded all to Desktop. Open up konsole or other terminal window:
cd Desktop
su <enter pasword> -># root
# installpkg kernel-firmware-20200114_9c340bd-noarch-1.txz
#installpkg kernel-generic-5.4.12-x86_64-1.txz
#installpkg kernel-modules-5.4.12-x86_64-1.txz
# upgradepkg mkinitrd-1.4.11-x86_64-14.txz
#upgradepkg slackpkg-2.83.0-noarch-4.txz
this will not clash with running kernel and will make sure you have most recent slackpkg
you have now installed latest kernels but at this stage still running old kernel.
Next because we have just installed latest kernels we don't want to do any overwirting by slackpkg ,so next we are going to stop any overwriting by:
cd /etc/slackpkg
ls --color
# nano blacklist
this opens up /etc/slackpkg/blacklist
my entries are:
kernel-generic
kernel-generic-smp
kernel-huge
kernel-huge-smp
kernel-modules
kernel-modules-smp
kernel-firmware
mkinitrd
#kernel-source
[0-9]+_SBo
[0-9]+alien
[0-9]+ponce
[0-9]+slonly
[to be more accurate they WERE my entries but not my present entries because part of the above is to protect your working kernel. once i got my new kernel working .all i wanted was to stop that being overwritten]
# with hash in front it does not pay any attention to line, without a hash line is taken into consideration. Thus all the above will not be affected by slackpkg upgrade. You don't want to do upgrade of kernels ,because you know you have the latest.
More importantly you don't want wiping of old kernels until you know new ones work !
You don't want thirs party packages touched either. The last four lines stop slackpkg messing up installed packages. That have alien, ponce, slonly or SBo packages for example latex2html-2019.2-x86_64-1_SBo
Next we need to make sure we are getting from current ,so next to edit mirrors for current
[next installment probably tomorrow]
with nano ^ represents control key. So edit and to write out is ctrl key + 0
hit return to write to file, and crtl +x to exit