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 05-27-2010, 09:23 AM   #1
bmxcess
Member
 
Registered: Jan 2009
Location: Brisbane, Australia
Distribution: @work:RHEL 5.4/Fedora 13, @home:slack64-current,ubuntu lynx studio
Posts: 65

Rep: Reputation: 19
multilib glibc gcc upgrade


Hi all,

I'm wanting to keep my multilib slackware-current up to date. I've blacklisted glibc/gcc since I first installed the alien bob's compat32 packages.

If I want to upgrade glibc/gcc and still keep my 32bit compatibly intact, what is the correct procedure? Do I just repeat Bob's instructions on the docuwiki? I'm not sure if I understand the dependancy between my compat32 packages and the version of glibc/gcc. Should I only be worried about those packages that were built with the newer versions of glibc/gcc? i

I'm a little confused. btw kudos to the slackware team on their new release and of course alien bob)

Cheers
 
Old 05-27-2010, 09:34 AM   #2
foodown
Member
 
Registered: Jun 2009
Location: Texas
Distribution: Slackware
Posts: 611

Rep: Reputation: 221Reputation: 221Reputation: 221
Yes. Whenever there's an update to one of the gcc packages that you have blacklisted on the changelog, just download the new version from Alien Bob's ftp. (Usually, he is up-to-date within minutes or hours, but I think it is a good practice to give him at least 36 hours to match whatever Pat does in the updates.) The you can do an 'upgradepkg --install-new --reinstall *.t?z' just like before.

I wrote a little script to upgrade all of my multilib packages beyond the core compiler components. Of course, it requires Alien Bob's compat32 tools, which are of course conveniently on his ftp right next to the gcc packages. It also requires curlftpfs for mounting your favorite mirror as a file system.

Code:
#!/bin/sh
# Update the tree with the most current packages from FTP server and install 

/sbin/umount /root/compat32/mnt
rm -rf /root/compat32/*
mkdir /root/compat32/mnt
cd /root/compat32/mnt
/usr/local/bin/curlftpfs ftp://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware-current /root/compat32/mnt
cd /root/compat32
/usr/sbin/massconvert32.sh -i /root/compat32/mnt/slackware
/sbin/umount /root/compat32/mnt
/sbin/upgradepkg --reinstall --install-new *-compat32/*.t?z
This script, of course, is not selective at all . . . it just upgrades everything, whether it has been changed or not. Perhaps a 'slackpkg' hack is in order for this sort of thing . . . then it could easily go right along with the changelog.

I suppose, to make this script better, there are many things which could be done, including making the path to use for the 'compat32' packages adjustable with a variable at the top, as well as the name of the mirror to be used . . . but whatever, you get the idea.

Last edited by foodown; 05-27-2010 at 09:37 AM.
 
Old 05-27-2010, 09:41 AM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
This is what I plan to do:
1) Upgrade to Slackware-13.1
2) Remove all (old) compatibility packages and install new ones instead

That will be easy as alien BOB already provides all packages and instructions I need already. Thanks Eric

Just follow his instructions again.

Last edited by Didier Spaier; 05-27-2010 at 09:44 AM.
 
Old 05-27-2010, 09:48 AM   #4
bmxcess
Member
 
Registered: Jan 2009
Location: Brisbane, Australia
Distribution: @work:RHEL 5.4/Fedora 13, @home:slack64-current,ubuntu lynx studio
Posts: 65

Original Poster
Rep: Reputation: 19
Thanks!

I'm a bit slow, but correct me if I've got it wrong: every time Alien Bob brings out the new multilib versions of gcc/glibc, upgrade all, grab a copy of current from a local mirror and run Bob's massconvert then install?

thanks again
 
  


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
Blacklisting gcc/glibc with slackpkg in multilib-current damgar Slackware 1 01-04-2010 11:15 PM
gcc 4.4.2 in testing: problem trying multilib setup ponce Slackware 0 11-02-2009 01:40 AM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM
Newbie seeks upgrade glibc & gcc on SuSE 7.0 sfarber53 Linux - Newbie 2 01-14-2004 09:17 AM
GCC/glibc odyssee: Or "how do I upgrade my compiler environment?" BedriddenTech Slackware 5 09-01-2003 09:17 AM

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

All times are GMT -5. The time now is 04:23 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
Open Source Consulting | Domain Registration