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 01-22-2012, 03:09 PM   #1
cefege
Member
 
Registered: Jan 2012
Posts: 34

Rep: Reputation: Disabled
Slackware 13.37 64 How to switch to -current?


Do I just select a mirror that is -current in /etc/slackpkg/mirrors, and just update after?
I know this sounds stupid but I'm afraid I might break something ...

Clarification:
I should of posted that I installed
Slackware64-current DVD ISO
Kernel: 2.6.38.7

I want a mirror for my system. I also want to go multilib. In what order do I do this? Do I go multilib and then select a multi lib mirror or?

From man slackpkg:
Slackpkg can be used to upgrade the whole distribution.
The usual way is to do:

# slackpkg update
# slackpkg install-new
# slackpkg upgrade-all
# slackpkg clean-system

Last edited by cefege; 01-22-2012 at 04:45 PM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 01-22-2012, 03:17 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Change the mirror to a -current mirror, then do
Code:
slackpkg update
slackpkg upgrade-all
slackpkg install-new
After that you should be running -current.
Don't forget to adapt your lilo configuration file for the new kernel and to run lilo after that.
 
2 members found this post helpful.
Old 01-22-2012, 03:20 PM   #3
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
Originally Posted by TobiSGD View Post
Change the mirror to a -current mirror, then do
Code:
slackpkg update
slackpkg upgrade-all
slackpkg install-new
After that you should be running -current.
Don't forget to adapt your lilo configuration file for the new kernel and to run lilo after that.
I might be wrong, but I think the order of the commands matters and install-new should go before upgrade-all.
 
3 members found this post helpful.
Old 01-22-2012, 03:25 PM   #4
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware, Debian
Posts: 7,351

Rep: Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750
Quote:
Originally Posted by sycamorex View Post
I might be wrong, but I think the order of the commands matters and install-new should go before upgrade-all.
Yes. The order should be:

# slackpkg update
# slackpkg install-new
# slackpkg upgrade-all

Also, it is a good idea to run # slackpkg clean-system and see if you have any things that need removing.

Last edited by hitest; 01-22-2012 at 03:32 PM. Reason: typo
 
3 members found this post helpful.
Old 01-22-2012, 03:35 PM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
indeed.
 
1 members found this post helpful.
Old 01-22-2012, 03:37 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Sorry, but I don't understand that. Why does the order of the commands matter?
 
Old 01-22-2012, 03:40 PM   #7
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
It's because new packages are usually introduced for a specific reason (ie. new dependency of some other upgraded package) and if you run upgrade-all first, it might complain about unsatisfied dependencies. At least that's how I understand it.
 
3 members found this post helpful.
Old 01-22-2012, 03:41 PM   #8
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware, Debian
Posts: 7,351

Rep: Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750
Quote:
Originally Posted by TobiSGD View Post
Sorry, but I don't understand that. Why does the order of the commands matter?
Sometimes new programs are added that need to be installed before you do a system upgrade. Better safe than sorry.
 
3 members found this post helpful.
Old 01-22-2012, 03:43 PM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
That makes sense, thanks for clarifying that.
 
Old 01-22-2012, 03:54 PM   #10
liltux
Member
 
Registered: Mar 2011
Posts: 45

Rep: Reputation: 2
That is how i did my upgrade to current, but if your running multilib you will need to also switch to -current in alienbobs multilib instructions. I had warnings about glibc not being correct before i updated my multilib.
 
1 members found this post helpful.
Old 01-22-2012, 04:44 PM   #11
cefege
Member
 
Registered: Jan 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
I should of posted that I installed
Slackware64-current DVD ISO
Kernel: 2.6.38.7

I want a mirror for my system. I also want to go multilib. In what order do I do this? Do I go multilib and then select a multi lib mirror or?

From man slackpkg:
Slackpkg can be used to upgrade the whole distribution.
The usual way is to do:

# slackpkg update
# slackpkg install-new
# slackpkg upgrade-all
# slackpkg clean-system
 
Old 01-22-2012, 05:30 PM   #12
Andersen
Member
 
Registered: Dec 2008
Distribution: Slackware
Posts: 179

Rep: Reputation: 72
First uncomment one of the mirrors in "Slackware64 current" part of /etc/slackpkg/mirrors . After that you can upgrade your system with:


# slackpkg update
# slackpkg install-new
# slackpkg upgrade-all


Then, if you want multilib, you should go here, and read the instructions:

http://connie.slackware.com/~alien/multilib/

Last edited by Andersen; 01-22-2012 at 05:34 PM.
 
Old 01-22-2012, 05:53 PM   #13
liltux
Member
 
Registered: Mar 2011
Posts: 45

Rep: Reputation: 2
I feel Andersen has the right approach. I only wanted to point out something not to forget if you were already multilib. It would be better to go current first then multilib.
 
1 members found this post helpful.
Old 01-22-2012, 05:59 PM   #14
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
Originally Posted by liltux View Post
I feel Andersen has the right approach. I only wanted to point out something not to forget if you were already multilib. It would be better to go current first then multilib.
Yes, generally, first you'd upgrade to -current and then go multilib.
 
1 members found this post helpful.
Old 01-22-2012, 06:06 PM   #15
cefege
Member
 
Registered: Jan 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
Change the mirror to a -current mirror, then do
Code:
slackpkg update
slackpkg upgrade-all
slackpkg install-new
After that you should be running -current.
Don't forget to adapt your lilo configuration file for the new kernel and to run lilo after that.
I won't have to update lilo right? I'm using 2.6.38.7
 
  


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
[SOLVED] Script to build always a current ISO image of Slackware (slackware-current) robertjinx Slackware 2 12-09-2010 02:00 AM
Post 13.0 switch from hd* --> sd* in -current with 2.6.32+ rworkman Slackware 18 01-10-2010 03:26 AM
When I switch from windows XP to Xubuntu will I be able to keep my current e-mail? Mac_09 Linux - General 2 05-11-2008 08:33 PM
slackware current question on the current kernels davimint Slackware 3 06-03-2007 07:39 AM
DISCUSSION: Upgrade to Slackware -current without a -current CD truthfatal LinuxAnswers Discussion 0 09-19-2006 01:42 PM

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

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