Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-08-2013, 10:11 AM
|
#1
|
Member
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333
Rep:
|
Upgrading via slackpkg
Hi all, like the rest of us I'm looking forward to updating to the new release. I have a few questions about the process though. UPGRADE.TXT has instructions that involve the use of a CD, or otherwise having the packages local on your system. I would prefer to use slackpkg if possible, and I feel like I've upgraded this way in the past... I think from 13.0 to 13.37. However, when I upgraded from 13.37 to 14.0 this way my machine wouldn't boot afterward, and I ended up doing a fresh install.
I'm also multilib, and the instructions in UPGRADE.TXT don't seem to account for that. I seem to recall reading that upgrading multilib systems needs to be done with care.
I think there are instructions for this on doc.slackware.com, but it seems to be either down or very slow right now.
So, can I upgrade via slackpkg by simply changing the mirror from 14.0 to 14.1? If so, why doesn't UPGRADE.TXT say so? It seems to be a lot more convenient to upgrade this way, rather than using a CD.
Thanks!
|
|
|
11-08-2013, 10:14 AM
|
#2
|
Member
Registered: Jun 2013
Location: Germany
Distribution: Slackware
Posts: 174
Rep: 
|
also one should think about people how simply dont have a cd/dvd/bd drive and cant get one too.
just for the record. 
|
|
|
11-08-2013, 10:30 AM
|
#3
|
Senior Member
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425
Rep: 
|
I upgraded using the dvd (minus KDE) by following the upgrade.txt, then updated multi-lib and KDE using slackpkg+ and modifying the mirror in /etc/slackpkg/mirrors.conf and the repos in
/etc/slackpkg/slackpkgplus.conf to 14.1 for most of them but current for ktown and then left the machine running overnight. All I had to do was install the new version of the nvidia driver and tweak a bit.
samac
|
|
|
11-08-2013, 11:51 AM
|
#4
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,827
|
You can use slackpkg to upgrade between versions
I upgraded my server from 12.2 incrementally to 14.0 using slackpkg and i'm planning to upgrade to slackware 14.1 soon
I personally use these common steps
Point to slackware 14.1 mirror
slackpkg update
slackpkg install-new (look at CHANGES_AND_HINTS)
slackpkg upgrade-all
slackpkg clean-system
It would be better if you have a local repository 
|
|
4 members found this post helpful.
|
11-08-2013, 01:09 PM
|
#5
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep: 
|
Multilib
In addition to Willysr's way I usually upgrade slackpkg itself before those steps. That will stop slackpkg stopping in the middle and asking you to run slackpkg update again. So my steps + Willysr's:
Edit mirrors file.
slackpkg update
slackpkg upgrade slackpkg
slackpkg update
slackpkg install-new
slackpkg upgrade-all
slackpkg clean-system
I have so far done 4 chroots like this. I have two multilib hosts to do yet though (probably saturday) and this will be the first time I've had to do this on a multilib system so I've no real plan in mind yet. What I will probably do is backup my slackpkg blacklist file and remove all the multilib/sbo stuff on it ([0-9]+_SBo and [0-9]+alien) and anything else that needs taking out. Then I will follow the steps above to install the pure 64bit system, then run my multilib script to install alienBob's multilib stuff (script below) and then add back in the blacklisted stuff from above. Hopefully, that should work ok.
My multilib rsync/install script:
Code:
#!/bin/sh
set -e
URL=rsync://taper.alienbase.nl/mirrors/people/alien/multilib/14.1/
rsync -ruhv --progress --exclude=debug/ --include=*/ --include=*t?z \
--delete --exclude=* $URL ./
upgradepkg --reinstall --install-new *.t?z
upgradepkg --install-new slackware64-compat32/*-compat32/*.t?z
WARNING! Create a multilib directory for this to run in first and run the script inside it or you'll kill your $HOME.
|
|
4 members found this post helpful.
|
11-08-2013, 01:16 PM
|
#6
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
It is indeed recommended to upgrade slackpkg first, since there were changes made in the default options. Without the changed options (in this case the important one is "DOWNLOAD_ALL", which is now set to on by default) your wget will break during the upgrade process, making it impossible to do further upgrades without having a local package repository (or the DVD, which is basically the same).
Don't forget that you have to upgrade your multilib, too. It is, thanks to zerouno and phenixia2003, exceptionally easy to install and maintain multilib (and other repositories) with the slackpkg+ plugin.
Last edited by TobiSGD; 11-10-2013 at 06:02 PM.
Reason: added missing credits
|
|
1 members found this post helpful.
|
11-08-2013, 01:29 PM
|
#7
|
Member
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333
Original Poster
Rep:
|
Thanks for the tips everyone, I'll likely start updating my machines over the weekend. What about the kernel? Step 7 of UPGRADE.TXT seems pretty important...
|
|
|
11-08-2013, 01:33 PM
|
#8
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep: 
|
Quote:
Originally Posted by mattca
What about the kernel? Step 7 of UPGRADE.TXT seems pretty important...
|
Edit your lilo config (/etc/lilo.conf) to point to the new kernel (check /boot to find the new version) before running lilo.
The first 5 paragraphs of step 7 are for people using an initrd. More info here:
http://mirror.bytemark.co.uk/slackwa..._AND_HINTS.TXT
Last edited by dive; 11-08-2013 at 01:36 PM.
|
|
1 members found this post helpful.
|
11-10-2013, 01:09 PM
|
#9
|
Senior Member
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398
|
upgraded 32/64 following mentioned suggestions, everything is working good, thank you
|
|
|
11-10-2013, 01:16 PM
|
#10
|
Guru
Registered: Mar 2004
Location: Canada
Distribution: Slackware, Debian, Ubuntu
Posts: 7,445
|
Further to willysr's excellent post I also run slackpkg update gpg just prior to running slackpkg update.
|
|
|
All times are GMT -5. The time now is 02:04 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|