LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-26-2016, 03:08 AM   #1
sinar.kk
Member
 
Registered: Nov 2015
Location: Cochin , Kerala , India
Distribution: Slackware
Posts: 79

Rep: Reputation: Disabled
Question Updating through slackpkg didnt upgraded the kernel in slackware64-current


Hi all,

Today i upgraded my slackware64-current , i was using 17-jan-2016 slackware64-current

today i went and uncommented a mirror for slackware64-current from /etc/slackpkg/mirror

and run as root slackpkg update

everything was downloading correctly and in var/lib/slackpkg/ChangeLog.txt it is showing

"a/kernel-generic-4.4.2-x86_64-1.txz: Upgraded.
a/kernel-huge-4.4.2-x86_64-1.txz: Upgraded.
a/kernel-modules-4.4.2-x86_64-1.txz: Upgraded"

and so on others , i rebooted my machine when i do uname -r it is still showing "4.4.0"

what could have gone wrong?
 
Old 02-26-2016, 03:16 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,153

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Have you ran /sbin/lilo ?
 
Old 02-26-2016, 03:23 AM   #3
sinar.kk
Member
 
Registered: Nov 2015
Location: Cochin , Kerala , India
Distribution: Slackware
Posts: 79

Original Poster
Rep: Reputation: Disabled
no, will run now and let you know
 
Old 02-26-2016, 03:26 AM   #4
sinar.kk
Member
 
Registered: Nov 2015
Location: Cochin , Kerala , India
Distribution: Slackware
Posts: 79

Original Poster
Rep: Reputation: Disabled
Ran /sbin/lilo this is the output

Quote:
Warning: LBA32 Addressing assumed
Added linux *
One warning was issued

And after i checked its still 4.4.0
 
Old 02-26-2016, 03:41 AM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,378

Rep: Reputation: Disabled
That an upgrade shows in the Changelog do not tell if it was applied. You should look in /var/log/packages instead

Either the kernel is blacklisted in /etc/slackpkg/blacklist and was not installed or for some reason the symlink /boot/linux does not point to the new kernel.

Anyway people who run Slackware current are expected to be able to solve themselves this kind of issue and furthermore it is not recommended to upgrade to a new kernel, but instead to first install it alongside the previous one, just in case. Only when you are sure you can boot with the new kernel you can get rid of the old one.
 
Old 02-26-2016, 04:00 AM   #6
slacker1337
Member
 
Registered: Jun 2012
Location: Connecticut, USA
Distribution: Slackware
Posts: 131

Rep: Reputation: 38
Any chance it was blacklisted?
 
Old 02-26-2016, 04:01 AM   #7
sinar.kk
Member
 
Registered: Nov 2015
Location: Cochin , Kerala , India
Distribution: Slackware
Posts: 79

Original Poster
Rep: Reputation: Disabled
No it is not blacklisted , i dont know what to do next
 
Old 02-26-2016, 04:07 AM   #8
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,378

Rep: Reputation: Disabled
Show the results of following commands, typed as root:
Code:
ls -l /var/log/packages/kernel*
cat /etc/lilo.conf
ls -l /boot/vmlinuz*
 
Old 02-26-2016, 04:56 AM   #9
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 958

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Hello,

Quote:
Originally Posted by sinar.kk View Post
Today i upgraded my slackware64-current , i was using 17-jan-2016 slackware64-current

today i went and uncommented a mirror for slackware64-current from /etc/slackpkg/mirror

and run as root slackpkg update

everything was downloading correctly and in var/lib/slackpkg/ChangeLog.txt it is showing

"a/kernel-generic-4.4.2-x86_64-1.txz: Upgraded.
a/kernel-huge-4.4.2-x86_64-1.txz: Upgraded.
a/kernel-modules-4.4.2-x86_64-1.txz: Upgraded"

and so on others , i rebooted my machine when i do uname -r it is still showing "4.4.0"

what could have gone wrong?
Correct me if I'm wrong but it seems you didn't run slackpkg upgrade-all after slackpkg update.

slackpkg update only download metadata from slackware mirror. To install the updates you need to run slackpkg upgrade-all or, slackpkg upgrade kernel to only upgrade the kernel.

--
SeB

Last edited by phenixia2003; 02-26-2016 at 04:57 AM.
 
Old 02-26-2016, 05:58 AM   #10
sinar.kk
Member
 
Registered: Nov 2015
Location: Cochin , Kerala , India
Distribution: Slackware
Posts: 79

Original Poster
Rep: Reputation: Disabled
Yes !!! @phenixia2003 Thank you , i forgot give the upgrade-all , now it works , thanks , marking this thread as solved
 
Old 02-26-2016, 06:08 AM   #11
kevison
Member
 
Registered: Dec 2007
Location: Grand Rapids, Michigan USA
Distribution: Slackware/Bodhi/Manjaro
Posts: 146

Rep: Reputation: Disabled
sometimes it just something simple
 
  


Reply

Tags
kernel, slackpkg, slackware64-current


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] slackpkg upgrade-all is not working in slackware64-current foobarz Slackware 1 08-13-2012 01:55 PM
[SOLVED] Can't boot into -current partition after slackpkg upgrade-all, after kernel upgraded gabytf Slackware 7 08-12-2012 10:42 AM
Slackware64 -current (20-04-2010) problem with slackpkg mlpa Slackware 5 04-22-2010 01:55 AM
Slackware64-current : can't have lilo updating the boot loader after kernel upgrade Didier Spaier Slackware 3 07-21-2009 08:00 AM
Slackware64-Current / slackpkg slackass Slackware 31 06-06-2009 10:51 PM

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

All times are GMT -5. The time now is 07:48 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration