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 attempted to upgrade a Slackware 13.0 fresh install to current.
First I updated 13.0 by running:
Code:
slackpkg update
slackpkg upgrade-all
I then amended the mirror to current and ran the following commands
Code:
slackpkg update
slackpkg upgrade-all
Everything ran without errors and slackpkg updated lilo at the end w/out errors on reboot I get the following message:
Code:
Cannot open root device 301 or unknown-block(3,1)
append a correct root= boot option
0800 10485760 sda driver sd
0801 9765472 sda1
0802 720216 sda2
I am running Slack in vbox to learn I created a snapshot just before rebooting so I restored it and tried to amend lilo with sda instead of hda and when I ran lilo -v indicated sda was an invalid parameter.
Not new to linux can find my way around albeit with stumbling but not an expert either.
There is change in how the newer kernel that deprecates the /dev/hda style harddrive references. You must boot and during the lilo start, "hit tab" and set the boot drive to be "root = /dev/sda1" (or which ever partition) and then after the kernel loads, change your /etc/fstab to reference /dev/sda instead of /dev/hda or /dev/sdb instead of /dev/hdb. Also you will need to change in lilo.conf and then re-run lilo so that it recognizes. There is a changelog entry about how to do this, and also a detailed howto by Robby Workman, just need to look around for it a bit.
Now I get stuck at some errors when starting X session lib missing libck-connector.so.0
Question are these problems just part of the process or did something go wrong with the update process. Can they be resolved or should I start again with a fresh install?
Your slackpkg commands as you have given would not install any of the new packages that are in -current, nor would it remove those packages that are obsolete.
It's really important to read the CHANGES_AND_HINTS.TXT file in the new release prior to upgrading as well as UPGRADE.TXT so that you'll know what additional steps to take.
I would boot into runlevel 1 and follow the steps given in UPGRADE.TXT if I were you.
Ok no problem I'll read the upgrade and changes and hints completely forgot to do that.
Just one question you mentioned install-new and I did see that step but when I did upgrade-all I saw packages being removed and new packages being installed. The kernel was also upgraded which seems to indicate that install-new wasn't necessary.
Ok no problem I'll read the upgrade and changes and hints completely forgot to do that.
Just one question you mentioned install-new and I did see that step but when I did upgrade-all I saw packages being removed and new packages being installed. The kernel was also upgraded which seems to indicate that install-new wasn't necessary.
Did I miss something?
Thanks.
Upgrade-all will upgrade packages, such as the kernel. Install-new will install packages that were not part of the previous install, such as the xf86-video-nouveau-blacklist-noarch-1.txz package that blacklists the nouveau driver. The nouveau driver didn't exist in the 2.6.29.6 kernel so there was no xf86-video-nouveau-blacklist-noarch-1.txz package to blacklist it. That package was new and would be added with install-new.
Thanks that clarifies a lot. And after reading the upgrade and changes and hints the stuff I have read really oversimplify the upgrade process. I should have read this before.
Ok so having read the above it refers particularly to upgrading from a CD but if I am doing it via the internet what would I need to do differently aside from selecting the current mirror.
http://distrowatch.com/weekly.php?issue=20090518 is what I read when I decided to start running current. The clean-system can remove the out-of-tree packages you've installed (I've been told) so be careful with that. Also there is the libata change and Robby's tutorial to fix it to be aware of. The easies way to get current installed is to use Alien Bob's mirror-slackware-current script that will also produce ISO's of current so you can just do a clean install of current.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.