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.
|
 |
|
10-15-2013, 03:10 PM
|
#1
|
Senior Member
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639
Rep: 
|
upgrade from 13.37
Hi all,
Getting excited about the imminent release...
If I remember, in the past it was recommended to do progressive upgrades and not skip a version. I usually use slackpkg to upgrade. Assuming I do slackpkg clean-system at the end, is there any reason not to upgrade directly to 14.1 from 13.37?
Brian
|
|
|
10-15-2013, 03:15 PM
|
#2
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,843
|
I tried it just recently on a system and started getting errors not very long into the install. Don't remember what the error was, something about ild or ld not for sure what it was. I used the option to download all files before installing. On the second try, I followed the upgrade to 14 text to upgrade from 13.37 to current and still got same error.
Last edited by colorpurple21859; 10-15-2013 at 03:16 PM.
|
|
|
10-15-2013, 03:21 PM
|
#3
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
|
|
|
10-15-2013, 06:45 PM
|
#4
|
Senior Member
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639
Original Poster
Rep: 
|
@colorpurple - So you got the errors even though you did incremental upgrades? Did the upgrade ever complete?
@Habitual - I couldn't find in the link where he addresses my questions
Brian
|
|
|
10-15-2013, 07:10 PM
|
#5
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,843
|
I had 13.7 on vmware and tried to do an upgrade straight to current, skipping 14 with slackpkg update, slackpkg installnew, slackpkg upgradeall. walked away while it was downloading everthing, came back and was getting errors during the installs. Then tried it again 13.37 to current skipping 14, but following the upgrade.txt that was provided to upgrade to 14. Still got the errors. Now I think about it I was tired so I might have missed one of the preliminary installs before installing everything else, but not sure.
Last edited by colorpurple21859; 10-15-2013 at 07:13 PM.
|
|
|
10-15-2013, 11:06 PM
|
#6
|
Member
Registered: Sep 2006
Location: Earth
Distribution: Slackware 14.1 Slackware64-current multilib
Posts: 278
Rep: 
|
I wrote a blog how to upgrade from early version to current, check it out, beware, you will missing some libraries, which you have to manually download from L directory and install these libraries.
Basically, need upgrade kernel first, then you wouldn't get old kernel panic problem, then you need manually build and upgrade lilo, mkinitrd, so you can use new kernel.
I wrote the blog for 64bit, making changes the directory if you are using 32bit. (note: you might need to rebuild udev package after full upgrade.)
Good luck.
Last edited by number22; 10-15-2013 at 11:27 PM.
|
|
1 members found this post helpful.
|
10-15-2013, 11:48 PM
|
#7
|
Senior Member
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
|
13.37 to 14.0 was some huge changes in kde etc etc. if you upgrade from slackpkg I always do an install-new first then upgrade all.
but if you did it from UPGRADE.TXT it should be ok. this little script has helped me many times when working with current and rolling back to a earlier version
Quote:
#!/bin/sh
for dir in a ap d e f k kde l n t tcl x xap xfce y ; do
( cd $dir ; upgradepkg --install-new *.t?z )
done
|
|
|
|
10-16-2013, 05:02 AM
|
#8
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
FYI, using slackpkg for upgrades will only work if you upgrade to the next release and do not skip a release.
When you run "slackpkg install-new" in order to install packages which have been added to Slackware since the previous release, slackpkg will check the ChangeLog.txt of that release for lines that have the string "Added." in them. If you skip a release, then any package that was added to Slackware in that skipped release, will not get installed on your computer. That is a recipe for disaster.
If you want to skip one or more releases, you will have to do so manually, using the instructions from UPGRADE.TXT of your new Slackware release as well as the UPGRADE.TXT files of the skipped release(s).
But you might consider doing a full re-install from scratch instead.
Eric
|
|
5 members found this post helpful.
|
10-16-2013, 05:36 AM
|
#9
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,843
|
Played around with it last night on vmware. I got it to install with upgrading kernels, lilo, rerunning lilo and rebooting to use new kernels before installing a/glibc-solibs. Installed everything else without error. When I went to reboot started to get errors about modprobe.d and wasn't able to reconnect to internet. I only had a, ap, l, n installed. I suspect the problems was caused by the install-new issues mentioned by Alien Bob
Last edited by colorpurple21859; 10-16-2013 at 05:39 AM.
|
|
|
10-16-2013, 07:08 AM
|
#10
|
LQ 5k Club
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,570
|
@Alien Bob
Thanks for the description of the pitfall in post #8.
Perhaps this could be made more explicit in your article at SlackDocs. http://docs.slackware.com/howtos:sla...:systemupgrade
This is going to get a heavy workout in the near future.
|
|
|
10-16-2013, 08:19 AM
|
#11
|
Senior Member
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639
Original Poster
Rep: 
|
Quote:
Originally Posted by Alien Bob
When you run "slackpkg install-new" in order to install packages which have been added to Slackware since the previous release, slackpkg will check the ChangeLog.txt of that release for lines that have the string "Added." in them. If you skip a release, then any package that was added to Slackware in that skipped release, will not get installed on your computer. That is a recipe for disaster.
|
That's exactly what I wanted to know. Makes perfect sense.
Thanks, Brian
PS And thanks to everyone else who took the time to reply.
|
|
|
10-16-2013, 09:32 AM
|
#12
|
LQ Veteran
Registered: May 2008
Posts: 7,150
|
I wrote a script that compares available package files with installed packages rather than trying to parse the Changelog like slackpkg does but it only works with packages stored on your local filesystem, so you'd need a local mirror of the slackware packages to use it. Works really well for me, but I know not everyone likes to keep a local mirror (which IMO is short-sighted as it's a handful of GB well spent and has saved my bacon numerous times).
|
|
|
10-16-2013, 10:17 AM
|
#13
|
Senior Member
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,559
|
Quote:
Originally Posted by GazL
I wrote a script that compares available package files with installed packages
|
You mean something like this?
Code:
diff <(sed -nr 's/^PACKAGE NAME: ([[:graph:]]+)(-[[:alnum:]\.\+_]+){3}.t.z$/\1/p' PACKAGES.TXT | sort) <(ls /var/log/packages | sed -nr 's/^([[:graph:]]+)(-[[:alnum:]\.\+_]+){3}$/\1/p' | sort)
Note: I am assuming bash and that PACKAGES.TXT is in the current working directory.
|
|
|
10-16-2013, 10:20 AM
|
#14
|
Senior Member
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,559
|
You could also pipe the result of that through "grep '^>'" to see a list of just the non-official packages you have installed or "grep '^<'" just to see the official packages you are missing.
Last edited by ruario; 10-16-2013 at 10:21 AM.
|
|
|
10-16-2013, 11:43 AM
|
#15
|
LQ Veteran
Registered: May 2008
Posts: 7,150
|
Quote:
Originally Posted by ruario
You mean something like this?
|
Not exactly, it was a bit more involved than that and allows for multiple package sources without reading any meta-data files.
I posted this once before, but nobody seemed interested.
P.S.
I usually use it like this (though this doesn't cater for any ordering requirements):
Code:
while read package
do
gpg --verify $package.asc $package && upgradepkg --install-new $package
done < <( slacklist upgrade install | sort)
slacklist remove | xargs -r -- removepkg
Last edited by GazL; 05-23-2014 at 11:50 AM.
|
|
2 members found this post helpful.
|
All times are GMT -5. The time now is 07:56 AM.
|
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
|
|