LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 07-11-2016, 08:31 AM   #1
wheelsg
Member
 
Registered: Feb 2004
Location: Westchester, NY
Distribution: slackware
Posts: 63

Rep: Reputation: 15
Recover multilib?


Just finished upgrading (using slackpkg/slackpkg+) to 14.2 on a collection of dual boot laptops. All went well for two of the beasties, but the first one I tried, a Thinkpad Yoga, didn't fare so well. In trying to figure out the order of things, I ended up downgrading the multilib installation and since then I can't even log in. What I'm wondering is if there's a way to re-run the installpkg routine using ROOT= to point the installation to a mounted filesystem. In other words, can I boot to a stick, mount the drive and re-do the upgrade.

Also, regarding blacklisting 'alien' and 'SBo' packages, what's the point? If I have packages (aside from system and multilib related ones) from those sources, don't I want them upgraded as well?

Also, if Eric happens to see this, I might suggest that the upgrade instructions on the wiki have a warning earlier on regarding the multilib upgrade. It now comes at the end of the piece, after a careful explanation of upgrading a plain-vanilla install. Us multilib types could use a heads up that we need to branch off to upgrade the multilib versions (glibc, etc.) before proceeding with the 'install-new, upgrade-all' steps.

Thanks,
Geoff.
 
Old 07-11-2016, 09:29 AM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
You can simply boot off a USB stick, mount your root partition and bind mount /sys /dev and /proc to the mounted partition, chroot the mounted partition, then install any and all packages as normal.

However, you can also not chroot and just run ROOT=/mnt upgradepkg --reinstall --install-new /location/to/packages.t?z, but personally, I always opt for the chroot as I think it allows for fewer mistakes.

As to the instructions, multilib is not officially supported on Slackware, so it does make sense to cover the vanilla usage first. But, even if you did just the vanilla instructions, it would just knock out your multilib as the required multilib packages would be overwritten by official pure 64bit packages. Then you could reinstall multilib just as you did the first time. It seems like what broke your system was installing multilib packages that aren't for your version of Slackware.

In regards to the blacklist, alien is recommended to be blacklisted if you're not using slackpkg+ to ensure it doesn't get removed when running slackpkg clean-system. However, if you have slackpkg+ and have it set up to use Eric's repo, then you'd not want to blacklist alien, otherwise it won't find any of his packages. Since slackpkg and slackpkg+ doesn't support SBo, if you don't have SBo blacklisted, running clean-package will propose to remove all SBo packages, potentially cluttering up the stock packages that need to be removed.
 
1 members found this post helpful.
Old 07-11-2016, 10:46 AM   #3
riwi
Member
 
Registered: Jul 2011
Location: Netherlands
Distribution: Slackware64 14.2
Posts: 64

Rep: Reputation: Disabled
I removed multilib from the 14.1 system before doing the upgrade.
So I modified slackpkgplus.conf to not have multilib. Then I did upgrade-all on 14.1 and then I followed with the upgrade to 14.2.

But then my setup was borked by running out of disk space.
 
Old 07-11-2016, 12:08 PM   #4
wheelsg
Member
 
Registered: Feb 2004
Location: Westchester, NY
Distribution: slackware
Posts: 63

Original Poster
Rep: Reputation: 15
Quote:
...I always opt for the chroot as I think it allows for fewer mistakes.
Teeheehee. Yeah, I suppose I _am_ over the adrenaline rush of watching an upgrade go horribly awry. Some day I'll have to tell you my 'rm -f *' story...

bassmadrigal, thanks, once more, for coming to my aid. You may recall I was trying to get the Yoga wifi adapter to work, which occasioned the upgrade. Intel notes there is kernel support for the module in the 4 series.

The slackpkg/slackpkg+ combo is what I've been using for awhile and, like many other things, has lagged in the documentation dept. Everyone seems to have left the blacklist comment alone with no mention of the irrelevance of it under slackpg+. The docs for installing/configuring slackpkg+ _do_ mention it, but it hasn't made it to the upgrade page on the wiki. (I should stop whining and dig out my old userid and make the edits. Hmm.) Heck, the reason I added 'plus' was to keep on top of Eric's changelog.

One other thing while I have you here. I noticed there's a new 'rc.modules' installed w/ 14.2 and it did not, as in versions past, create a soft link to a version-specific 'rc.modules.' Is this a change?

riwi, where are you running out of space? The caching of packages, or on the install/upgrade? If your system had a prior version with enough space how would an upgrade eat up that much more? Have you removed the packages from older versions that no longer need to be lying around?
 
Old 07-11-2016, 12:58 PM   #5
riwi
Member
 
Registered: Jul 2011
Location: Netherlands
Distribution: Slackware64 14.2
Posts: 64

Rep: Reputation: Disabled
Quote:
Originally Posted by wheelsg View Post
riwi, where are you running out of space? The caching of packages, or on the install/upgrade? If your system had a prior version with enough space how would an upgrade eat up that much more? Have you removed the packages from older versions that no longer need to be lying around?
I did not notice any errors during the packages install. I managed to edit lilo.conf and run it without complaints about disk space. Then after reboot I saw it could not find my bootdrive, I booted from DVD and mounted the drive and saw 100% usage. I am going to install from scratch in the 30GB partition. My other PCs also have 30GB system partitions so I am curious to see how that goes. Else I have to resize them before upgrading.
 
Old 07-11-2016, 02:28 PM   #6
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by wheelsg View Post
Some day I'll have to tell you my 'rm -f *' story...
I think we've all had those...

Quote:
Originally Posted by wheelsg View Post
The slackpkg/slackpkg+ combo is what I've been using for awhile and, like many other things, has lagged in the documentation dept. Everyone seems to have left the blacklist comment alone with no mention of the irrelevance of it under slackpg+. The docs for installing/configuring slackpkg+ _do_ mention it, but it hasn't made it to the upgrade page on the wiki. (I should stop whining and dig out my old userid and make the edits. Hmm.) Heck, the reason I added 'plus' was to keep on top of Eric's changelog.
I think the issue is that slackpkg is the official way to upgrade packages from a mirror. slackpkg+ is not official and is not officially supported in any capacity. This is why those default blacklist items remain as they are within slackpkg. As for the wiki, as you implied, it is editable by anyone (with an account, that has to be requested since registrations are closed), so if you could dig out your username and make the changes, I'm sure others would appreciate it.

Quote:
Originally Posted by wheelsg View Post
One other thing while I have you here. I noticed there's a new 'rc.modules' installed w/ 14.2 and it did not, as in versions past, create a soft link to a version-specific 'rc.modules.' Is this a change?
Yes, this is an intended change. From the 14 DEC 2015 changelog entry:

Code:
a/sysvinit-scripts-2.0-noarch-25.txz: Rebuilt.
       rc.modules: New simplfied module dep script.
       NOTE: This will be installed as /etc/rc.d/rc.modules.new by default.
       To use it, remove the existing rc.modules symlink and move the new
       file into place.
       rc.modules.local: New local module loading script.
       Thanks to GazL and rworkman for helping clean out the rc.modules cruft.
       rc.S: If executable, start rc.cgmanager.
       rc.6: If executable, stop rc.cgmanager.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANN] mk-slack64-multilib : A tool to create slackware64+multilib tree/iso phenixia2003 Slackware 5 12-28-2012 05:42 AM
upgrading slackware64 13.1 multilib to slackware64 -current multilib Cultist Slackware 4 03-12-2011 09:04 AM
[SOLVED] Broffice not compile on Slack64(multilib or no multilib);SlackBuild afreitascs Slackware 4 06-14-2010 07:16 AM
Multilib Question slowpoke Slackware 2 03-28-2010 12:49 AM
filesystem: recover or not to recover? bdp Linux - General 3 06-06-2003 03:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 02:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration