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.
I'm want to move from slackware 10.2 to 12 and i've been told that using slapt-get to do it is a pretty bad idea, so im thinking maybe its best if i just do a fresh install.
I'm running apache, mysql, php and an IRCD (hybrid7, which was set up by someone else). Also I'd like to keep the files that took a bit of fiddling around with like xorg.conf so i dont have to go through that again.
What dirs/files should i back up so that the web/irc servers dont need to be re-installed and then configured again?
What other dirs/files should i burn so i dont have as much stress as last time getting stuff working? (i use KDE btw)
Is using slapt-get to upgrade a bad idea?
I know this is all a bit vague but its been so long since i installed 10.2 i cant remember much about it :/
Everything I have heard says that upgrading versions is a bad idea, whether or not you are using a package manager. I copy my configuration files to a separate partition, so that once I have upgraded, I can copy them back. I do the same with data, never keeping it in the same partition as the OS. That way I can wipe the entire OS partition, if I want, & not have to worry about my data.
boot with dvdrom and mount your hardisk partition with slackware 10.2 under /mnt and do the upgrade it will work fine : Download the dvd.iso and use that to upgrade !!! ftp://ftp.heanet.ie/mirrors/ftp.slac...nstall-dvd.iso
A. Put your machine in single-user mode:
telinit 1
B. Upgrade your glibc shared libraries. This is important, or things
might go haywire during the first part of the upgrade:
upgradepkg /root/slackware/a/glibc-solibs-*.tgz
C. Upgrade your package utilities:
upgradepkg /root/slackware/a/pkgtools-*.tgz
now you can use slapt-get to do the rest ... WARNING if you use gslapt then ask me what to do ...
If you are worried then contact me even if you stuff up the system DO NOT FORMAT I can tell you what to do ... or if you want to be ready then I can tell you beforehand !!!
If you were just moving from 11 to 12 then I would say it shouldn't be a problem. But you are wanting to move from 10.2 (major) to Slackware 12.0(major). The problem will be everything relative to 11 and the installs you made.
You could just backup the configuration files and make the move. Or use your system maintenance log to guide you through. Oh! You didn't document your installs did you. No system documentation or entry too assist. I'd start one now if I were you. That way you won't get into situations of this type in the future.
I would back up your data and start fresh and do a clean install. I agree with onebuck, keep a log of your installation, jot down notes. It is best if you install and set-up slackware yourself as you will learn more unassisted.
You can specify --remove-obsolete to remove all depreciated packages.
CAUTION: this can only take into consideration packages that are available
from your current sources. Thus self made packages will be considered
obsolete as well (they can be excluded within slapt-getrc, however). Only
use this if you have been using Slackware packages exclusively. You can
also use this option for information purposes, observing the obsolete
packages, then passing all the ones you are sure of to --remove (which can
accept multiple packages at once).
### dist upgrade and remove all depreciated/obsolete packages
$ slapt-get --dist-upgrade --remove-obsolete
Then follow the rest of the directions in UPGRADE.TXT.
You should make sure any new packages within the disk sets you are using are
also installed, as they will not be detected during --dist-upgrade, as only
packages already installed will be upgraded. To accomplish this, you can
specify slapt-get to install a disk set like so:
### install all X and X application packages
$ slapt-get --install-set x xap
Do the same for all your installed disk sets, such as gnome, x, xap, l, n, etc.
If you re-read the OP, then the criteria can be a problem. The above caution should be noted! I'm not saying that slapt-get can't be used but you will have to know your system. With system maintenance logs/system logs maintained during the operation or generation of the system then things become a lot easier.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.