Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 05-27-2010, 10:23 AM   #1
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)

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

Rep: Reputation: 219Reputation: 219Reputation: 219
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.

# 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 /root/compat32/mnt
cd /root/compat32
/usr/sbin/ -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 10:37 AM.
Old 05-27-2010, 10:41 AM   #3
Didier Spaier
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2 on Lenovo Thinkpad W520
Posts: 7,763

Rep: Reputation: 2687Reputation: 2687Reputation: 2687Reputation: 2687Reputation: 2687Reputation: 2687Reputation: 2687Reputation: 2687Reputation: 2687Reputation: 2687Reputation: 2687
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 10:44 AM.
Old 05-27-2010, 10:48 AM   #4
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

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


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

All times are GMT -5. The time now is 10:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration