LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-01-2009, 04:26 PM   #1
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Rep: Reputation: 53
What pitfalls can I expect switching from 12.1 to current?


Hello Everyone,

I know this topic has been covered completely, so I am not posting to ask how to do it. I came across this from Robby Workman:

Quote:
1. Set your preferred slackware-current mirror by uncommenting the relevant line in /etc/slackpkg/mirrors.
2. Update package list: # slackpkg update
3. Install new packages: # slackpkg install-new
4. Upgrade all installed packages: # slackpkg upgrade-all
5. Run the above again (due to recent switch from TGZ to TXZ packages): # slackpkg upgrade-all
6. Remove unneeded packages: # slackpkg clean-system
7. Repeat steps 2, 3, 4 and 6 once or twice a week to ensure that you are always in sync with the "current" development.
So, I want to upgrade using this. But, I had a silly occurance when I first installed back in October last year. I was originally running 12.1 at the time and had a hard drive disaster and had to re-install. I took the opportunity to install Slack current, which I did. However, I had inadvertently uncommented a SLACKWARE 12.1 mirror in Slackpkg mirrors, and on the first update/upgrade, it promptly (and very smoothly, I might add) downgraded me to 12.1 from current. At the time, I just said to heck with it and stayed where I was because everything was running fine.

Anyway, I now would like to upgrade back to current from my 12.1 install (which actually used to be current; whew!! I hope that makes sense.)

My question is two part:

1. I had to jump through some hoops to get some of the hardware working in 12.1 (sound, volume whell, etc.) Will those config files still remain after an upgrade? And, fglrx will not work anymore with some of the newer distros because it is not supported for my chipset anymore. Will this be true with Slack-current as well?

2. What particular pitfalls might I incur going from 12.1 to current?

Thanks in advance to anyone willing to comment.

Bob

Last edited by BobNutfield; 06-01-2009 at 04:27 PM.
 
Old 06-01-2009, 04:53 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by BobNutfield View Post
My question is two part:

1. I had to jump through some hoops to get some of the hardware working in 12.1 (sound, volume whell, etc.) Will those config files still remain after an upgrade? And, fglrx will not work anymore with some of the newer distros because it is not supported for my chipset anymore. Will this be true with Slack-current as well?

2. What particular pitfalls might I incur going from 12.1 to current?
As to question number one: you may need to delete /etc/asound.state if your sound does not work anymore. Slackware will re-create that file upon next boot trying to reconfigure your sound with sane defaults. Your fglrx will be partly overwritten as well by upgrading the xorg-server and mesa packages. I know that the fglrx driver has problems with recent Slackware kernels (including that of Slackware 12.2 iirc) and it will need a recompile for fglrx to work. Read this thread: http://www.linuxquestions.org/questi...module-703590/

About question number two, I can make no forecasts. You'll find out soon enough. Check what slackpkg tells you, and especially take care to move important *.new files into place, overwriting the older ones. Hardware autodetection for instance will stop working if you forget that.


Eric
 
Old 06-01-2009, 05:01 PM   #3
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Thanks, Eric. That information is what I thought to be the case, but I feel braver now that you have replied. I am competent enough now to fix most things that break. If I cannot fglrx to work, it is not the end of the world. I'm not a gamer.

Thanks again for your reply.


Bob
 
Old 06-04-2009, 01:04 AM   #4
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Quote:
Originally Posted by BobNutfield View Post
Hello Everyone,

I know this topic has been covered completely, so I am not posting to ask how to do it. I came across this from Robby Workman:

[...]

2. What particular pitfalls might I incur going from 12.1 to current?

Thanks in advance to anyone willing to comment.

Bob
That quote from Robby is not the full upgrade procedure. That is an overview, but there are many tid bits here and there that make all of the difference for a clean upgrade (particularly across multiple versions). UPGRADE.TXT and CHANGES_AND_HINTS.TXT should be used.

Also, I mentioned a problem with slackpkg upgrades across multiple versions in another post in your other thread, but I am going to touch on it briefly here.

Don't use slackpkg to cross multiple Slackware versions at once unless you know what you are doing. Some packages will likely be lost in the mix otherwise.

Other than that the pitfalls from 12.1 to -current depends on just what -current is. For someone reading this thread in the future -current could be Slackware 99. Regardless, usually the process is the same. Just check all of the CHANGES_AND_HINTS.TXT for each version you crossed to see if you missed anything. For instance, did you add the new groups?

The upgrade HowTos linked in my signature are an example of using the official Slackware docs (CHANGES_AND_HINTS.TXT, UPGRADE.TXT) for clean upgrades. I also show how to use other tools including slackpkg.
 
  


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
Expect script: how do i send function key F12 in an expect script alix123 Programming 4 09-01-2013 09:06 PM
switching system's want to stay with my current configuration dangold Slackware 6 10-27-2008 01:19 PM
pitfalls in switching shells? DJOtaku Linux - Software 1 02-05-2008 07:42 PM
Current xkbmap / X.org kb layout switching ? yacccobb Linux - Software 3 08-21-2006 04:15 AM
Avoiding pitfalls... tracedroute Slackware - Installation 6 05-09-2004 04:54 PM

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

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