LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-09-2015, 02:10 PM   #1
nitecrawler
Member
 
Registered: Dec 2014
Distribution: slackware x86-64 14.2
Posts: 188

Rep: Reputation: Disabled
slackware current issue on kernel upgrade....`GLIBC_2.22'


slackware issue on upgrade of kernel.....

i had blacklisted the kernel yesterday but i just wanted the new kernel and did a full system upgrade....and i got this error when slackpkg ran lilo...havent restarted my system yet as i know i would hit kernel panic mode....
Quote:
Your kernel image was updated. We highly recommend you run: lilo
Do you want slackpkg to run lilo now? (Y/n)
y
/sbin/lilo: /lib64/libc.so.6: version `GLIBC_2.22' not found (required by /lib64/libdevmapper.so.1.02)
why is the file missing?
and which is the package i should get it from?

kindly note i havent installed any files beginning with k during slackpkg install-new step.....since i suspect its for KDE and so i dont want it...correct me if am wrong....

Last edited by nitecrawler; 09-09-2015 at 02:12 PM.
 
Old 09-09-2015, 02:17 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
Your Current system is not up to date. You are missing the upgrade to glibc-2.22 provided since Fri Aug 21 21:17:48 UTC 2015.

See the Changelog.

If you run Current you should check the ChangeLog frequently and make sure all updates are done successfully.
 
Old 09-09-2015, 02:18 PM   #3
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,334

Rep: Reputation: Disabled
Not all packages that have names beginning with "k" are KDE-related. In particular, you'd certainly want to install/upgrade the kmod package, and probably kbd as well.
 
Old 09-09-2015, 02:22 PM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
Quote:
Originally Posted by Ser Olmy View Post
Not all packages that have names beginning with "k" are KDE-related. In particular, you'd certainly want to install/upgrade the kmod package, and probably kbd as well.
Is this really related to the OP's question? Or maybe wrong thread?
 
Old 09-09-2015, 02:27 PM   #5
nitecrawler
Member
 
Registered: Dec 2014
Distribution: slackware x86-64 14.2
Posts: 188

Original Poster
Rep: Reputation: Disabled
@Didier: what if all updates aint succesful? like this time round?

having to re-run the whole procedure would work?

kindly note i have blacklisted slackbuilds, alien bobs files and compat32 files....


if i run the whole procedure again would it help?

Last edited by nitecrawler; 09-09-2015 at 02:30 PM.
 
Old 09-09-2015, 02:28 PM   #6
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,334

Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
Is this really related to the OP's question? Or maybe wrong thread?
I was referring to this:
Quote:
Originally Posted by nitecrawler View Post
kindly note i havent installed any files beginning with k during slackpkg install-new step.....since i suspect its for KDE and so i dont want it...correct me if am wrong....
I probably should have started my first sentence with the word "additionally" though, because as you say, it isn't related to the glibc error.
 
Old 09-09-2015, 02:38 PM   #7
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
Quote:
Originally Posted by nitecrawler View Post
@Didier: what if all updates aint succesful? like this time round?
Sorry, but having answered in several similar threads of yours my advice is: wait until you be more acquainted with Slackware to use -current. Especially as going multilib needs even more care to keep your system up to date. And not doing so you will spend more time repairing what's broken (if possible) than actually using your system.
 
Old 09-09-2015, 02:40 PM   #8
nitecrawler
Member
 
Registered: Dec 2014
Distribution: slackware x86-64 14.2
Posts: 188

Original Poster
Rep: Reputation: Disabled
@didier: yes same thoughts racing through my head too...stick on to stable for now before i jump to current...current requires lots of homework and maybe i need to wait a little more...going to 14.1 for now....
 
Old 09-09-2015, 02:56 PM   #9
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

Rep: Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513
slackware current issue on kernel upgrade....`GLIBC_2.22'

As said before, there's a few files to check before going -current. The docs.slackware.com related pages are a good start and I believe the way to do things right. There's something related to your problem at the very beginning...
 
Old 09-09-2015, 04:29 PM   #10
TheRealGrogan
Member
 
Registered: Oct 2010
Location: Ontario, Canada
Distribution: Slackware, LFS, Manjaro (for gaming)
Posts: 570

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
The 'k' package series is kernel source. You would want the corresponding source for your kernel IF you intend to compile external kernel modules (e.g. VirtualBox, Nvidia, AMD Catalyst) The 'KDE' package series will have a lot of packages that start with k but there are others like kmod (from the 'a' package series) that you do need.

I can't see it being practical to blacklist things by the first letter of package filenames, rather, it would be better to just not have any of the KDE series installed if you don't want those packages getting installed/upgraded. You still might need the qt library though but that is in package series l.

One rule of thumb... if you are going to try your luck upgrade things piecemeal from Slackware-current, at least upgrade glibc first.

glibc-solibs from package series a
glibc-zoneinfo from a
glibc from l
glibc-i18n from l

If you have installed glibc-debug or glibc-profile you should upgrade those too. (or removepkg them first... they aren't normally needed)

You can put packages in a directory, drop down to runlevel 1 and cd into the directory and:

upgradepkg --reinstall --install-new *.txz

(--reinstall --install-new switches aren't necessary in an upgradepkg command if you're sure the packages are all installed, and do not have identical version names)

Reboot normally, as soon as that completes. (ctrl-alt-del is fine if your shell has crashed or anything)

Glibc is serious stuff and can leave you dead in the water if you do not upgrade it correctly. Generally, upgrading to NEWER glibc packages is safe. (Right now it should be, anyway)

I get that you (the original poster) have decided to just stick with stable but it's still best to know what's going on.

Last edited by TheRealGrogan; 09-09-2015 at 04:31 PM.
 
Old 09-09-2015, 09:54 PM   #11
Lirey
Member
 
Registered: Sep 2009
Distribution: Slackware
Posts: 39

Rep: Reputation: 12
Quote:
Originally Posted by nitecrawler View Post

kindly note i have blacklisted slackbuilds, alien bobs files and compat32 files....
Do you have Alien Bob's multilib packages installed? You probably need to simply update the multilib GLIBC package - but you should update all of the multilib packages.

Your error from lilo looks just like the one that I received when I tried updating the kernel without first updating the multilib/compat32 files.

-Lirey
 
Old 09-10-2015, 12:42 AM   #12
nitecrawler
Member
 
Registered: Dec 2014
Distribution: slackware x86-64 14.2
Posts: 188

Original Poster
Rep: Reputation: Disabled
thanks everyone...but i went back to 14.1...and now running stable....

@TheRealGrogan: that was informative...thanks...i missed some libraries frankly cos i assumed k is for kde only...i see my mistakes now...

@lirey: i had alienbob multilib packages installed...but i had blacklisted them during my update this time round...maybe it was all to just update glibc...but maybe when i go current again,,,,for now sticking on to stable 14.1 till i get a better hang of it...

since am in stable 14.1 now, a system upgrade should be fairly easy right? no checks required i assume?
 
Old 09-10-2015, 08:18 AM   #13
lems
Member
 
Registered: May 2004
Distribution: BSD
Posts: 269

Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by nitecrawler View Post
since am in stable 14.1 now, a system upgrade should be fairly easy right? no checks required i assume?
This is the "tried-and-true" method for upgrading Slackware: UPGRADE.TXT. You can use slackpkg for this as well, but it's usually safer to upgrade according to that file. If you run multilib, you need to skip the gcc/glibc packages, and install/upgrade them from Alien BOB's multilib instead. CHANGES_AND_HINTS.TXT shows what packages have been added or removed since the last release. Added packages are automatically installed if upgrading via UPGRADE.TXT, but obsolete packages need to be removed manually.
 
Old 09-10-2015, 11:32 AM   #14
TheRealGrogan
Member
 
Registered: Oct 2010
Location: Ontario, Canada
Distribution: Slackware, LFS, Manjaro (for gaming)
Posts: 570

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
Sorry, I hadn't considered multilib (It's not the problem in itself... it's clearly the wrong glibc symbols for the 64 bit libdevmapper) but it is different glibc packages you are supposed to have because the dynamic linker is different on the multilib distro. That could be the reason you didn't get the glibc 2.22 packages in your slackpkg upgrade. (and that was probably a good thing)

I haven't used slackpkg or alienbob's multilib so I'm a bit out of the loop. Fortunately others picked up on that clue.
 
Old 09-10-2015, 06:14 PM   #15
nitecrawler
Member
 
Registered: Dec 2014
Distribution: slackware x86-64 14.2
Posts: 188

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by lems View Post
This is the "tried-and-true" method for upgrading Slackware: UPGRADE.TXT. You can use slackpkg for this as well, but it's usually safer to upgrade according to that file. If you run multilib, you need to skip the gcc/glibc packages, and install/upgrade them from Alien BOB's multilib instead. CHANGES_AND_HINTS.TXT shows what packages have been added or removed since the last release. Added packages are automatically installed if upgrading via UPGRADE.TXT, but obsolete packages need to be removed manually.

maybe i had to rephrase better but thanks lems...

correct me if am wrong: instead of using slackpkg to update or upgrade, regardless of slackware upgrading to new release(version change) or system updates(for patches) i need to follow the text files you gave right?
 
  


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
Running slackware 14 current can not upgrade kernel. zrdc28 Slackware 4 01-10-2013 05:28 PM
[SOLVED] libc segfault after upgrade to -current. upowerd issue? Martinus2u Slackware 4 07-28-2012 04:10 PM
Slackware-current (aug) upgrade to slackware 13? jensklas Slackware 20 09-02-2009 11:52 AM
DISCUSSION: Upgrade to Slackware -current without a -current CD truthfatal LinuxAnswers Discussion 0 09-19-2006 01:42 PM
What first upgrade kernel or upgrade slack 10.0 to current Kelean Slackware 7 01-16-2005 06:54 PM

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

All times are GMT -5. The time now is 05:28 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