LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Blogs > number22
User Name
Password

Notices



Rate this Entry

Upgrade Slackware64 13.x to current from slackpkg thorough internet

Posted 10-02-2013 at 11:30 PM by number22
Updated 10-16-2013 at 12:58 PM by number22

inspired by this post: http://www.linuxquestions.org/questi...urrent-897960/
and reference http://docs.slackware.com/slackware:slackpkg
and http://docs.slackware.com/howtos:sla...:systemupgrade

Upgrade kernels first, do NOT use slackpkg upgrade kernel:
Code:
Use ftp ftp.slackware.com 
User anonymous without password.
cd to pub/slackware/slackware64-current/slackware64/a/
mget kernel*
cd ../d
mget kernel*
cd ../k
mget kernel*
cd ../l
mget libssh*  pcre*
cd ../n
mget openss*
you need to get kernel packages( gerneic, headers, firmware, modules and source) and openssl packages you will need run installpkg all these packages after verifying these packages.
Download some source code,
Code:
lftp -c 'open ftp.slackware.com/pub/slackware/slackware64-current/source/a; mirror lilo'
lftp -c 'open ftp.slackware.com/pub/slackware/slackware64-current/source/a; mirror mkinitrd'
you will need to build these 2 packages and upgrades these packages, so you can use your new kernel. Don't reboot before running lilo.
After reboot with new kernel, you do these following
Code:
go to /etc/slackpkg/; then find a mirror site then point to current, blacklist  all kernels and aaa_eliflib
slackpkg update 
slackpkg upgrade tgz
slackpkg update        (again, 2nd time)
slackpkg upgrade libtool
slackpkg upgrade glibc
slackpkg install new
slackpkg upgrade all
slackpkg upgrade aaa_elflib
make sure your ldconfig working properly.
don't reboot yet, you need to ftp.slackware.com again, download few libraries and packages ( icu, libcrocos, lftp, and wget etc.).
run /etc/rc.d/rc.M to check out missing library and lftp, wget can works before rebooting.(notes: check inside your /var/log/packages against L direcotry for missing libraries)
after reboot you might find your system hang at udev, just wait out 2 minutes, then log into as root, to manual bring up your ethernet,
Code:
modprobe your network card driver
ifconfig eth0 up
/etc/rc.d/rc.inet1
and make sure, udev package upgraded, and checking out some file permission. you might still missing some libraries, but your system should be upgraded at this point.
Code:
note: kmod is replacement for module-ini-tools, download kmod package before uninstalling module-ini-tools, just in case.

slackpkg clean-system
at last, good luck.
Posted in Uncategorized
Views 436 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 12:30 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration