Page 1 of 1

Safe method to upgrade your system

Posted: 17 Jun 2017 12:52
by djemos
Switch to root user

Code: Select all

su
Run

Code: Select all

slapt-get -u
Run

Code: Select all

slapt-get --upgrade --simulate
And check if glibc and/or other glibc-i18n etc packages were also upgraded in slackware current
If so
Download all updated packages without installing them to slapt-get's working directory; by default, this is /var/slapt-get

Code: Select all

slapt-get -i -d glibc glibc-i18n glibc-profile

Code: Select all

slapt-get -i -d --upgrade
First upgrade glibc and glibc- other related packages

Code: Select all

upgradepkg /var/slapt-get/slackware64/l/glibc-* 
Then upgrade the rest

Code: Select all

slapt-get --upgrade
Upgrading the kernel
Run

Code: Select all

ls /var/log/packages/kernel*
to see which kernel packages you have installed and do a slapt-get -i <packagename> for each one of them. (Do not include the package version in <packagename>).
Run update grub otherwise system will be un-bootable.

Code: Select all

update-grub
Then reboot

Now check the http://www.slackel.gr/repo/x86_64/slack ... ngeLog.txt file to see if new packages has been added and which packages has been removed in slackware current. And install new added packages if you need them and also also remove the packages which has been removed from slackware current.