LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > deNiro
User Name
Password

Notices


Rate this Entry

Slackware-Current update procedure

Posted 02-12-2021 at 07:10 AM by deNiro
Updated 02-16-2021 at 04:56 AM by deNiro (updated info)

updated: Febr 14 2021 ( blacklisting in slackpkg has changed, updated the procedure)

The notes I now use to upgrade: Slackware-current

/etc/slackpkg/blacklist contains:
Code:
# all kernel packages, unless I planned kernel upgrade
# This one will blacklist all SBo packages:
[0-9]+_SBo
sbopkg
# This one will blacklist all alienbob packages:
[0-9]+alien
# This one will blacklist all Multilib packages:
[0-9]+compat32
# This one will blacklist all current-ponce packages:
[0-9]+ponce
# This one will block kde/plasma and emacs
kde/
e/
###### Short version ###### (with kernel packages blacklisted)

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

#######################


Long version with my specific hardware:
with multilib, nvidia 970gtx ,and kde/plasma+emacs blacklisted/disabled. And using generic kernel instead of huge.

###### Slackware-current upgrade procedure ######

## 1. check slackware-current changelog

## 2. update packages cache
slackpkg update

## 3. install new packages
slackpkg install-new

## 4. upgrade all packages
slackpkg upgrade-all

## 5. (ONLY with kernel upgrade)
## generate mkinitrd and update bootloader
go to /boot directory and generate initrd with:
mkinitrd -c -k 5.10.xx -m ext4 (my root is ext4)

and then update bootloader:
lilo -v

## 6. (ONLY with kernelupgrade NVIDIA driver install)
!!in case you are running your own or multiple kernels!!
!!or if it is the same nvidia driver version, just compile kernel module!!
for example:
sh NVIDIA-Linux-x86_64-460.39.run -s -K -k 5.4.97

OR
When using a new nvidia driver version
just reboot after lilo -v and
sh NVIDIA-Linux-x86_64-460.39.run


## 7. Check if multilib is still up-to-date and resolve if needed

## 8. Clean system
## generates a list of all packages that are obsolete and can be safely removed
## non-official packages will be listed here unless blacklisted - check changelog
slackpkg clean-system
Posted in Slackware Notes
Views 162 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 06:49 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration