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 03-07-2008, 10:50 AM   #1
macbeth8
LQ Newbie
 
Registered: Nov 2007
Posts: 15

Rep: Reputation: 0
Updating to -current with slackpkg


Hello, I haven't booted my slackware for a while and as I've been looking in the chagelog of slack-cuurent I found that Pat changed glibc version to 2.7. Is it safe to update slackware to -current using slackpkg? Will it require some extra steps? (Hopefully not recompiling all the sw...) I'm asking before the update, because it is hard to ask on the forum with kernel panic already blinking on the screen

Thx in advance!

Last edited by macbeth8; 03-07-2008 at 10:51 AM. Reason: make things a bit clearer :)
 
Old 03-07-2008, 11:00 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Updating glibc can be tricky. There are other packages that depend on it. If you make sure to update the remaining packages, everything should be okay.

You should probably follow the upgrade procedure Patrick makes when updating to new versions. I use to try and keep my system updated with Current, it's too tedious. I stick with the update for whatever version I'm running, keeps things nice and simple, also knowing that the new packages released are compatible and compiled against the other packages that might not have updates applied to them.
 
Old 03-07-2008, 06:08 PM   #3
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,576

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
you MUST update the glibc-solibs FIRST
and then you can update the rest using slackpkg or just run upgradepkg *.tgz
it works for me
 
Old 03-08-2008, 01:02 AM   #4
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
Do read the glibc2.7 notes in the -current changelog. Go init 1 and be sure you run a 2.6.x kernel before. Otherwise i've encountered zero problems with 2.7, and i've been using it since it came out on current.
 
Old 03-08-2008, 08:04 AM   #5
macbeth8
LQ Newbie
 
Registered: Nov 2007
Posts: 15

Original Poster
Rep: Reputation: 0
Success

I followed steps from UPGrADING.TXT (in slackware-current dir) and nearly everything went fine.
I had some problems with building new nvidia driver module, because (by default) slackware installs sources for smp kernel and I used non-smp one. It gives an error while inserting module:
Code:
 nvidia: version magic '2.6.24.3-smp SMP mod_unload 686' should be '2.6.24.3 mod_unload 486'
, but then I switched from huge non-smp to generic smp kernel with initrd and the nvidia kernel module builds correctly...

Thanx for hints...
 
Old 04-03-2008, 02:54 PM   #6
din
Member
 
Registered: Nov 2006
Posts: 53

Rep: Reputation: 15
Hi.
One question here:
I want to try upgrade my 12.0 to -current.
What do you think is a best way to download all "-current" directory to my hard drive before upgrade?

thanks.
 
Old 04-03-2008, 04:40 PM   #7
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,264

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
I've never used -current, but I've heard mention of rsync -- though this may be overkill. I think Alien Bob has some nice scripts to check -current for changes, so you may want to check it out. (Sorry for the lack of information)
 
Old 04-04-2008, 05:36 AM   #8
macbeth8
LQ Newbie
 
Registered: Nov 2007
Posts: 15

Original Poster
Rep: Reputation: 0
I use slackpkg. It is quite smart and updates glibc-solibs and pkgtools first and then the rest, so there should be no problem. So here's how I do it (roughly):
0. backup everything important, Pat recommends /etc directory (+ your documents, of course
1. install slackpkg and configure it to use some of the -current mirrors (in /etc/slackpkg/mirrors and /etc/slackpkg/slackpkg.conf)
2. go to singleuser mode:
telinit 1
and make sure you have access to the network (ie use "ping google.com" or sth similar), if not, run /etc/rc.d/rc.inet1 start
3. run slackpkg update
4. run slackpkg upgrade-all
5. run slackpkg install-new
6. run slackpkg clean-system and choose the packages you want to remove (it lists all the installed packages that are not in official repositories)
7. make sure your symbolic links in /boot (System.map, config and vmlinuz) point to new files (and change it if you want to use generic smp kernel instead of huge one)
8. also make sure that /etc/rc.modules points to new rc.modules-'kernel-num' file
9. make initial ramdisk if you use reiserfs, raid or whatever that needs it (very good instructions in /boot/Readme.initrd)
10. run lilo and configure it to use the initrd and the new kernel
11. you can now try to reboot to see if everything works fine...
...then you would probably need to reinstall drivers for your graphic card and configure new Xserver, maybe uninstall kde internationalization packages, koffice or sth like that...

this is how I do it, I do not guarantee that this will work for you, it does for me.

I also recommend reading ftp://ftp.slackware.com/pub/slackwar...nt/UPGRADE.TXT
to see what are slackware official instructions.

Last edited by macbeth8; 04-04-2008 at 05:40 AM.
 
Old 04-04-2008, 07:14 PM   #9
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,441

Rep: Reputation: 70
Quote:
Originally Posted by T3slider View Post
I've never used -current, but I've heard mention of rsync -- though this may be overkill. I think Alien Bob has some nice scripts to check -current for changes, so you may want to check it out. (Sorry for the lack of information)
Yes, here -
http://www.slackware.com/~alien/tool...are-current.sh

It will sync with -current or any version you set it to. It also can automatically create install cds or an install dvd.
 
  


Reply

Tags
current, slackpkg, upgrade


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
Using slackpkg to Upgrade to Slackware-Current x94qvi Slackware 8 10-20-2007 07:53 PM
slackpkg update = slackware-current? trashbird1240 Slackware 2 04-24-2007 08:50 AM
Updating to Slackware current Panagiotis_IOA Slackware 3 09-21-2006 11:51 AM
After slackpkg update(all current p'kges), Slackware 10 stops loading (black screen). SlawioG Slackware 3 11-28-2004 09:19 AM
updating slackware current jtravs Slackware 11 11-27-2002 02:38 AM


All times are GMT -5. The time now is 05:41 AM.

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