What is the proper way to upgrade from 12.0 to 12.1
SlackwareThis 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.
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.
The UPGRADE.TXT and CHANGES_AND_HINTS.TXT files (on the CD/DVD or from a mirror) basically explain it all. Follow the instructions carefully (make sure you upgrade your glibc libraries first, as explained in UPGRADE.TXT) and it should be easy. The only part that's iffy is merging your .new files. If you haven't changed any config files in packages that will be upgraded it should be safe to overwrite them -- however, I would always advise making a backup. There's a little script in UPGRADE.TXT that automatically backs up all of the configuration files that need to be changed and overwrites them. You can then just add your changes from the old (.bak) files. Alternatively, you could just search for all *.new files in /etc (by doing `cd /etc; find . -name "*.new"`, for example) and look at your existing file, compare it to the new file, and just add your changes to the .new file (then move the .new file over to the correct config file's name). Again I would suggest backing up your existing configuration files here. You could also use `merge` to merge configuration files, but I find that's a bit messy for my taste (though it's a perfectly reasonable option if you know what you're doing).
excerpt from Slackware-Howto;
For the network options, you'll need to have a network card that's
supported by one of the installer's modules, and preferably a DHCP server
running to make the network setup easy. The network install options are
to use as your source an NFS server, an FTP server, or an HTTP server
(along with an optional port). If you use DHCP to set up, odds are
you'll have working name resolution and won't need to enter an IP
address to specify the server (but you can if you wish, of course).
The network installation feature is intended primarily to facilitate
installing to many machines on a local network. Please don't use it to
bog down the Slackware mirror sites.
Thanks to Eric Hameleers for finally bringing FTP/HTTP installtion
support to the Slackware installer. :-)
lorton, you could always upgrade to -current (which is the same) or download all of the files from a mirror, but they're being hit pretty hard right now because of the new release, so it would be better to download the CDs/DVD using torrents. You only need the first 3 CDs (or just the one DVD) to install (CDs 4, 5 and 6 are source code). It's nice having a set of CDs or a DVD just in case you need to boot in an emergency or in case your system is totally screwed up in which case you can always install fresh right away -- but it's up to you. You *could* use rsync to download all of the files and upgrade as instructed in UPGRADE.TXT -- but again, if you want to be nice to the mirrors, you'd just download the torrents and use the CDs/DVD. You don't necessarily have to burn a CD if you use the .iso images -- you can always just mount the image using `mount -o loop /path/to/image.iso /root/slackware` or some such thing and then upgrade from there.
No matter what you do, you'll have to download a lot (unless you order the CD/DVD set).
number22, that's the ideal method. (But upgrading packages really isn't that risky and 12.0 to 12.1 isn't overly incompatible. For the next major release, maybe.)
I think I'll download the DVD, I know it will take a while then upgrade.
My system has a vanilla kernel with only the config files changed as required, so I'll go for an upgrade.
I'll let you know if I had any problems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.