LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 01-13-2013, 09:45 AM   #1
BlackBreatH
LQ Newbie
 
Registered: Jul 2012
Location: Italy
Distribution: Slackware 14.0
Posts: 12

Rep: Reputation: Disabled
Reverting Kernel


Hi all
Recently, i've done a _huge_ mistake: i updated (via slackpkg) my kernel ( the one shipped with slackware 14.0) to the 3.7.1 without doing any backup of the old kernel. Since i'm getting problems with various stuff, i've decided to revert the kernel to the slackware default one.

Is there a safe way to revert it?

Thanks
 
Old 01-13-2013, 09:53 AM   #2
Jdogzz
Member
 
Registered: May 2012
Distribution: slackware
Posts: 40

Rep: Reputation: 5
I also had problems with the new kernel in current. The easiest way to revert to 14.0 is to go into the mirrors file, comment out the source you picked for a -current release and then uncomment one of the sources for 14.0, whichever architecture you need. From there, simply follow the slackpkg update and upgrade process and that should safely take you back to the kernel in 14.0.
 
1 members found this post helpful.
Old 01-13-2013, 10:09 AM   #3
BlackBreatH
LQ Newbie
 
Registered: Jul 2012
Location: Italy
Distribution: Slackware 14.0
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thank you, i'll try
Can i also use pkgtool packages from the slackware dvd, right? Or is better let slackpkg doing everything?
 
Old 01-13-2013, 10:12 AM   #4
wigry
Member
 
Registered: Jul 2004
Distribution: slackware
Posts: 218

Rep: Reputation: 52
If you used slackpkg to go to -current, then use slackpkg to go back to stable.
 
1 members found this post helpful.
Old 01-13-2013, 10:12 AM   #5
Jdogzz
Member
 
Registered: May 2012
Distribution: slackware
Posts: 40

Rep: Reputation: 5
I would let slackpkg do the work because not all the packages from the Slackware DVD are the same as the ones from the mirrors, very similar, but not entirely. However, it is up to you, if you would prefer to read the documentation on doing it with the DVD properly then that is your choice.
 
1 members found this post helpful.
Old 01-13-2013, 10:15 AM   #6
BlackBreatH
LQ Newbie
 
Registered: Jul 2012
Location: Italy
Distribution: Slackware 14.0
Posts: 12

Original Poster
Rep: Reputation: Disabled
ok Thank you guys
 
Old 01-13-2013, 10:32 AM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,257

Rep: Reputation: Disabled
Quote:
Originally Posted by Jdogzz View Post
not all the packages from the Slackware DVD are the same as the ones from the mirrors, very similar, but not entirely.
What crap is that? Can you at least be specific in your claim?

Eric
 
Old 01-13-2013, 11:19 AM   #8
Jdogzz
Member
 
Registered: May 2012
Distribution: slackware
Posts: 40

Rep: Reputation: 5
Quote:
Originally Posted by Alien Bob View Post
What crap is that? Can you at least be specific in your claim?

Eric
I say this based on the occasional security updates, like Firefox and Thunderbird:

Quote:
Thu Jan 10 08:17:57 UTC 2013
patches/packages/mozilla-firefox-18.0-x86_64-1_slack14.0.txz: Upgraded.
This release contains security fixes and improvements.
For more information, see:
http://www.mozilla.org/security/know...s/firefox.html
(* Security fix *)
patches/packages/mozilla-thunderbird-17.0.2-x86_64-1_slack14.0.txz: Upgraded.
This release contains security fixes and improvements.
For more information, see:
http://www.mozilla.org/security/know...underbird.html
(* Security fix *)
patches/packages/seamonkey-2.15-x86_64-1_slack14.0.txz: Upgraded.
This update contains security fixes and improvements.
For more information, see:
http://www.mozilla.org/security/know...seamonkey.html
(* Security fix *)
patches/packages/seamonkey-solibs-2.15-x86_64-1_slack14.0.txz: Upgraded.
But other than that, I can't think of many changes made to the original DVD. My apologies for not being more specific.
 
Old 01-13-2013, 05:34 PM   #9
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,235

Rep: Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040
Quote:
Originally Posted by Jdogzz View Post
not all the packages from the Slackware DVD are the same as the ones from the mirrors, very similar, but not entirely.
Whenever a package for a stable Slackware version is updated, the new package always go in the /patches directory. Other than that there should be no difference.
 
Old 01-16-2013, 02:49 AM   #10
qazo
LQ Newbie
 
Registered: Dec 2012
Distribution: Slackware
Posts: 11

Rep: Reputation: Disabled
i had a similar scenario except for the fack that i mistakenly deleted everything in the /boot directory, to fix it i mounted the slackdvd image, installed the original kernels(including huge, just incase), thank god i didn't reboot
 
  


Reply


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
FreeBSD: reverting to previous kernel Kropotkin *BSD 4 09-26-2012 05:07 PM
Reverting back to old kernel in CentOS ravangrid Linux - General 3 09-26-2010 10:15 AM
Reverting back to default Kernel CentOS blackfish Linux - Kernel 2 01-16-2010 11:34 AM
Reverting from a kernel upgrade devinWhalen Linux - General 5 01-05-2007 12:52 PM
Reverting YOU kernel update (suse 10) nitroid Suse/Novell 1 09-14-2006 02:36 AM


All times are GMT -5. The time now is 11:22 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration