LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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-26-2013, 05:07 AM   #1
andreas-r
Member
 
Registered: Jan 2013
Location: Denmark
Distribution: Ubuntu 12.10 & Slackware 14, 64bit
Posts: 46

Rep: Reputation: 0
Remove multilib - how to upgrade gcc and glibc?


Trying to uninstall Alien Bob's multilib packages (the Wine program I needed didn't work anyway) I did this:

- installed compat32pkg
- ran
Code:
compat32pkg --remove all
and
Code:
 removepkg multilibpkg compat32-tools compat32pkg
I still have these packages:
Code:
bash-4.2$ ls /var/log/packages | grep multilib
gcc-4.7.1_multilib-x86_64-1alien
gcc-g++-4.7.1_multilib-x86_64-1alien
gcc-gfortran-4.7.1_multilib-x86_64-1alien
gcc-gnat-4.7.1_multilib-x86_64-1alien
gcc-go-4.7.1_multilib-x86_64-1alien
gcc-java-4.7.1_multilib-x86_64-1alien
gcc-objc-4.7.1_multilib-x86_64-1alien
glibc-2.15_multilib-x86_64-7alien
glibc-i18n-2.15_multilib-x86_64-7alien
glibc-profile-2.15_multilib-x86_64-7alien
glibc-solibs-2.15_multilib-x86_64-7alien
glibc-zoneinfo-2012f_2012f_multilib-noarch-7alien
I can understand from the answers to this questions that I need to use upgradepkg to replace them with the stock Slackware packages.

How exactly do I do that?

Is there anything else that I need to do to revert from multilib so I won't have trouble installing SlackBuilds and other 64bit packages?

Thanks!
 
Old 01-26-2013, 05:13 AM   #2
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 249

Rep: Reputation: Disabled
slackpkg reinstall <packagename>
 
Old 01-26-2013, 05:19 AM   #3
andreas-r
Member
 
Registered: Jan 2013
Location: Denmark
Distribution: Ubuntu 12.10 & Slackware 14, 64bit
Posts: 46

Original Poster
Rep: Reputation: 0
Should I do that for all the packages listed above?
Won't that just reinstall Alien Bob's multilib packages?

Sorry but I'm pretty newbie ...
 
Old 01-26-2013, 06:51 AM   #4
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 249

Rep: Reputation: Disabled
Yes for all package's.
 
Old 01-26-2013, 07:06 AM   #5
andreas-r
Member
 
Registered: Jan 2013
Location: Denmark
Distribution: Ubuntu 12.10 & Slackware 14, 64bit
Posts: 46

Original Poster
Rep: Reputation: 0
This only work with one gcc package:
Code:
root@duk:/var/log/packages# slackpkg reinstall glibc*

Looking for glibc-2.15_multilib-x86_64-7alien glibc-i18n-2.15_multilib-x86_64-7alien glibc-profile-2.15_multilib-x86_64-7alien glibc-solibs-2.15_multilib-x86_64-7alien glibc-zoneinfo-2012f_2012f_multilib-noarch-7alien in package list. Please wait... DONE

No packages match the pattern for reinstall. Try:

	/usr/sbin/slackpkg install|upgrade 


root@duk:/var/log/packages# slackpkg reinstall gcc*

Looking for gcc-4.7.1_multilib-x86_64-1alien gcc-g++-4.7.1_multilib-x86_64-1alien gcc-gfortran-4.7.1_multilib-x86_64-1alien gcc-gnat-4.7.1_multilib-x86_64-1alien gcc-go-4.7.1_multilib-x86_64-1alien gcc-java-4.7.1_multilib-x86_64-1alien gcc-objc-4.7.1_multilib-x86_64-1alien gccmakedep-1.0.2-noarch-2 in package list. Please wait... DONE
After which I get a slackpgk menu where the only thing I can choose is this:
Code:
[*] gccmakedep-1.0.2-noarch-2.txz
Then tried upgrading but:
Code:
upgradepkg gcc*
Cannot install gcc-4.7.1_multilib-x86_64-1alien:  invalid package extension
Cannot install gcc-g++-4.7.1_multilib-x86_64-1alien:  invalid package extension
Cannot install gcc-gfortran-4.7.1_multilib-x86_64-1alien:  invalid package extension
Cannot install gcc-gnat-4.7.1_multilib-x86_64-1alien:  invalid package extension
Cannot install gcc-go-4.7.1_multilib-x86_64-1alien:  invalid package extension
Cannot install gcc-java-4.7.1_multilib-x86_64-1alien:  invalid package extension
Cannot install gcc-objc-4.7.1_multilib-x86_64-1alien:  invalid package extension
Cannot install gccmakedep-1.0.2-noarch-2:  invalid package extension

Last edited by andreas-r; 01-26-2013 at 07:08 AM.
 
Old 01-26-2013, 07:50 AM   #6
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 249

Rep: Reputation: Disabled
Run the command without this *

slackpkg reinstall glibc
slackpkg reinstall gcc
 
Old 01-26-2013, 07:56 AM   #7
andreas-r
Member
 
Registered: Jan 2013
Location: Denmark
Distribution: Ubuntu 12.10 & Slackware 14, 64bit
Posts: 46

Original Poster
Rep: Reputation: 0
Hmm, doesn't seem to work:
Code:
root@duk:/var/log/packages# slackpkg reinstall glibc

Looking for glibc in package list. Please wait... DONE

No packages match the pattern for reinstall. Try:

	/usr/sbin/slackpkg install|upgrade 


root@duk:/var/log/packages# slackpkg reinstall gcc  

Looking for gcc in package list. Please wait... DONE

No packages match the pattern for reinstall. Try:

	/usr/sbin/slackpkg install|upgrade
 
Old 01-26-2013, 08:27 AM   #8
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,555

Rep: Reputation: 424Reputation: 424Reputation: 424Reputation: 424Reputation: 424
Check your blacklist file on /etc/slackpkg
 
Old 01-26-2013, 08:40 AM   #9
andreas-r
Member
 
Registered: Jan 2013
Location: Denmark
Distribution: Ubuntu 12.10 & Slackware 14, 64bit
Posts: 46

Original Poster
Rep: Reputation: 0
Blacklist contained '[0-9]+alien' that I added after multilib install. Didn't think of that. After removing it I can 'slackpkg upgrade glibc|gcc' - thanks. Hope my system is back to "normal" 64bit.
 
  


Reply

Tags
multilib, upgradepkg


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
[SOLVED] GCC-4.5.2 - Pass 2 / unsetting the multilib spec for GCC golarbol Linux From Scratch 2 07-11-2011 07:30 AM
Slack64 13.1 multilib: skype 2.1.0.81 not working after glibc upgrade. Tinkster Slackware 7 12-20-2010 10:22 AM
[SOLVED] multilib glibc gcc upgrade bmxcess Slackware 3 05-27-2010 09:48 AM
Blacklisting gcc/glibc with slackpkg in multilib-current damgar Slackware 1 01-04-2010 11:15 PM
Newbie seeks upgrade glibc & gcc on SuSE 7.0 sfarber53 Linux - Newbie 2 01-14-2004 09:17 AM


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

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