LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 09-06-2012, 06:39 AM   #1
yacau
LQ Newbie
 
Registered: Jun 2012
Posts: 12

Rep: Reputation: Disabled
Angry glib2-2.32.4-1.fc17.i686 crashes during installation (segfault)


I had skype working well under Fedora 15 and earlier. After upgrading to fedora 17 I tried to install both current (4.0.08) static and rpm versions of skype as well as the static 2.2.0.35. All three crash on start with Segmentation fault. I used ldd to identify all required libraries and re-installed the relevant packages one by one. One of the packages (see Subject) gave the following warning during the re-installation:
===================
Installing : glib2-2.32.4-1.fc17.i686 1/1
Non-fatal POSTIN scriptlet failure in rpm package glib2-2.32.4-1.fc17.i686
/var/tmp/rpm-tmp.w4EW8A: line 2: 18234 Segmentation fault (core dumped)
gio-querymodules-32 /usr/lib/gio/modules
warning: %post(glib2-2.32.4-1.fc17.i686) scriptlet failed, exit status 139
Verifying : glib2-2.32.4-1.fc17.i686 1/1
=====================
I also noticed that /usr/lib/gio/modules contains only libgiofam.so
while the 64 version has another 7 files including giomodule.cache

I considered removing glib2-2.32.4-1.fc17.i686 but I am afraid it may effect other part of the system.

Any suggestion how to proceed to install this library properly (and hopefully get skype working) would be very appreciated.
 
Old 09-06-2012, 08:27 AM   #2
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,490

Rep: Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221
probably your skype is a 32bit app and your os is a 64bit system.
 
Old 09-06-2012, 09:22 AM   #3
yacau
LQ Newbie
 
Registered: Jun 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
probably your skype is a 32bit app and your os is a 64bit system.
Of course it is (note the comparison with the 64 libraries). So was fc15 a 64bit installation and the 32bit skype worked ok. I have re-installed a number of 32 bit packages without problems. The question was what to do with this particular one (yes, it is also 32 bit, but as the i686 indicates, designed to live with the 64 bit architecture). Sorry but your observation does not help.
 
Old 09-06-2012, 11:07 AM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 12,669

Rep: Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683
Quote:
===================
Installing : glib2-2.32.4-1.fc17.i686 1/1
Non-fatal POSTIN scriptlet failure in rpm package glib2-2.32.4-1.fc17.i686
/var/tmp/rpm-tmp.w4EW8A: line 2: 18234 Segmentation fault (core dumped)
gio-querymodules-32 /usr/lib/gio/modules
warning: %post(glib2-2.32.4-1.fc17.i686) scriptlet failed, exit status 139
Verifying : glib2-2.32.4-1.fc17.i686 1/1
please post the FULL command that is triggering the error
and the FULL error also

there should NOT be a conflict with the 64 bit and the auto installed 32 bit legacy compatibility
that is UNLESS you are manually trying to install a mismatched version

Quote:
I considered removing glib2-2.32.4-1.fc17.i686 but I am afraid it may effect other part of the system.
removing that would NOT BE WISE

if you did you would uninstall about 98% of Fedora17 ( about 600 dependencies - a guess)

Last edited by John VV; 09-06-2012 at 11:09 AM.
 
Old 09-06-2012, 12:10 PM   #5
yacau
LQ Newbie
 
Registered: Jun 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
please post the FULL command that is triggering the error
and the FULL error also

This is a bit lengthy:
yum reinstall glib2-2.32.4-1.fc17.i686
Loaded plugins: langpacks, presto, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package glib2.i686 0:2.32.4-1.fc17 will be reinstalled
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Reinstalling:
glib2 i686 2.32.4-1.fc17 updates 1.9 M

Transaction Summary
================================================================================
Reinstall 1 Package

Total download size: 1.9 M
Installed size: 9.1 M
Is this ok [y/N]: y
Downloading Packages:
glib2-2.32.4-1.fc17.i686.rpm | 1.9 MB 00:09
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : glib2-2.32.4-1.fc17.i686 1/1
Non-fatal POSTIN scriptlet failure in rpm package glib2-2.32.4-1.fc17.i686
/var/tmp/rpm-tmp.9uk3iv: line 2: 2536 Segmentation fault (core dumped) gio-querymodules-32 /usr/lib/gio/modules
warning: %post(glib2-2.32.4-1.fc17.i686) scriptlet failed, exit status 139
Verifying : glib2-2.32.4-1.fc17.i686 1/1

Installed:
glib2.i686 0:2.32.4-1.fc17

Complete!

Furthermore, I downloaded an rpm version of this package and installed it by

rpm -i --force <full path to the downloaded package>

which gave the same warning/error as above.

there should NOT be a conflict with the 64 bit and the auto installed 32 bit legacy compatibility
that is UNLESS you are manually trying to install a mismatched version


removing that would NOT BE WISE

if you did you would uninstall about 98% of Fedora17 ( about 600 dependencies - a guess)
Thank you for pointing this out and for your help as well!

BTW, I am new to using this forum - how do you look at new responses in a thread without starting all over again? I can't find any "see new" to click on .. I see that I don't know how to interrupt the quoted text neither

Last edited by yacau; 09-06-2012 at 12:13 PM.
 
Old 09-06-2012, 04:33 PM   #6
John VV
Guru
 
Registered: Aug 2005
Posts: 12,669

Rep: Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683
Quote:

Furthermore, I downloaded an rpm version of this package and installed it by

rpm -i --force <full path to the downloaded package>

which gave the same warning/error as above.
rpm should never be used except as a VERY LAST RESORT

one issue with using a FULL name "glib2-2.32.4-1.fc17.i686 "
this can cause all kinds of problems
the 32 bit conpat should get puled
Code:
su -
yum search glib2
--- not so long list ---
yum reinstall glib2
you did run a update in the last few days ?

Last edited by John VV; 09-06-2012 at 04:35 PM.
 
Old 09-07-2012, 12:37 AM   #7
yacau
LQ Newbie
 
Registered: Jun 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
rpm should never be used except as a VERY LAST RESORT

one issue with using a FULL name "glib2-2.32.4-1.fc17.i686 "
this can cause all kinds of problems
the 32 bit conpat should get puled
Code:
su -
yum search glib2
--- not so long list ---
yum reinstall glib2
you did run a update in the last few days ?
Yes (including reboot), just checked and there is nothing to update. uname gives:

... 3.5.3-1.fc17.x86_64 #1 SMP Wed Aug 29 18:46:34 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

I followed your advice how to reinstall glib2 - two packages were selected - with
similar warning:
===================
Is this ok [y/N]: y
Downloading Packages:
(1/2): glib2-2.32.4-1.fc17.i686.rpm | 1.9 MB 00:09
(2/2): glib2-2.32.4-1.fc17.x86_64.rpm | 1.9 MB 00:09
-------------------------------------------------------------------------------------------------------------------------
Total 211 kB/s | 3.9 MB 00:18
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : glib2-2.32.4-1.fc17.x86_64 1/2
Installing : glib2-2.32.4-1.fc17.i686 2/2
Non-fatal POSTIN scriptlet failure in rpm package glib2-2.32.4-1.fc17.i686
/var/tmp/rpm-tmp.BwYg4k: line 2: 21839 Segmentation fault (core dumped) gio-querymodules-32 /usr/lib/gio/modules
warning: %post(glib2-2.32.4-1.fc17.i686) scriptlet failed, exit status 139
Verifying : glib2-2.32.4-1.fc17.i686 1/2
Verifying : glib2-2.32.4-1.fc17.x86_64 2/2

Installed:
glib2.i686 0:2.32.4-1.fc17 glib2.x86_64 0:2.32.4-1.fc17

Complete!
=================

Thank you very much for attending to this!
 
Old 09-07-2012, 12:39 AM   #8
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,490

Rep: Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221
can you install anything else (only glibc will cause segfault or other packages too?)
 
Old 09-07-2012, 02:03 AM   #9
yacau
LQ Newbie
 
Registered: Jun 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
can you install anything else (only glibc will cause segfault or other packages too?)
A have reinstalled ALL (about 30) packages required by static skype (listed by ldd), including glibc, without problems but for the discussed one, that is glib2. Details in other posts to this thread.
 
Old 09-08-2012, 01:07 AM   #10
yacau
LQ Newbie
 
Registered: Jun 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
An idea - att John VV:
How about if I reinstall all packages on which glib2 depends?
"yum reinstall [package]" checks dependencies can I force it to re-install them?
If not, "yum deplist glib2" gives two long lists looking like
========
package: glib2.i686 2.32.4-1.fc17
dependency: /bin/sh
provider: bash.x86_64 4.2.37-2.fc17
dependency: libc.so.6
provider: glibc.i686 2.15-56.fc17
dependency: libc.so.6(GLIBC_2.0)
provider: glibc.i686 2.15-56.fc17
========
where the provider is often repeated. So I can reinstall them manually. If I do should
I use the search first, as you suggested, or just "yum reinstall glibc.i686" ?

I would like to avoid of installing the whole fc17 again ...
 
Old 09-08-2012, 03:08 AM   #11
John VV
Guru
 
Registered: Aug 2005
Posts: 12,669

Rep: Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683
Right now i am not running fedora so it is only from past experience and current with ScientificLinux

so on to debugging

what is at the end of the yum.log ( /var/log/yum.log)
is that glib2 ( 32bit) listed as installed ?

then what repos are installed
Code:
su -
yum repolist all
some of them ARE incompatible with the BASE install

Now this is all for dealing with the VERY OLD linux version of "Skype" or the
Now owned by Microsoft and in call Advertising supported
the current fedora 16 32 bit version
skype-4.0.0.8-fedora.i586 ( dated July 13 2012 )
http://www.skype.com/intl/en-us/get-...loading.fedora


There ARE other VOIP programs that are probably in the repos . Like Ekiga or Sip ?
or even
"ekg2-core-0.3.1-2.fc17.x86_64.rpm"
"ekg2-voip-0.3.1-2.fc17.x86_64.rpm"

https://fedoraproject.org/wiki/VoIP
 
Old 09-08-2012, 04:19 AM   #12
yacau
LQ Newbie
 
Registered: Jun 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
Yes, yum.log reports glib2 installed every time I've tried it.

yum repolist all
Loaded plugins: langpacks, presto, refresh-packagekit
repo id repo name status
adobe-linux-x86_64 Adobe Systems Incorporated enabled: 2
fedora Fedora 17 - x86_64 enabled: 27,033
fedora-debuginfo Fedora 17 - x86_64 - Debug disabled
fedora-source Fedora 17 - Source disabled
updates Fedora 17 - x86_64 - Updates enabled: 8,269
updates-debuginfo Fedora 17 - x86_64 - Updates - Debug disabled
updates-source Fedora 17 - Updates Source disabled
updates-testing Fedora 17 - x86_64 - Test Updates disabled
updates-testing-debuginfo Fedora 17 - x86_64 - Test Updates Debu disabled
updates-testing-source Fedora 17 - Test Updates Source disabled
repolist: 35,304

Also, my skype 2.2... is not very old, it is the last which worked and i tried both
static and rpm versions 4.0.0.8 with the same result. They also require glib2.

Microsoft ownership/advertising is unfortunate - do they claim resposibility for the
Linux versions, too?

Can you comment on my last post (reinstalling dependencies), please?
 
Old 09-08-2012, 05:40 AM   #13
John VV
Guru
 
Registered: Aug 2005
Posts: 12,669

Rep: Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683
Quote:
Can you comment on my last post (reinstalling dependencies), please?
maybe ? maybe not ?


that is an unknown
sometimes it dose fix things

however i am guessing here
The 4.0.0.8.rpm is for fedora 16
built for fedora 16 and fedora 16 WILL have a different version of glib installed

so i am guessing it is explicitly looking for the fedora 16 version


welcome to the world of fedora
Fedora is VERY often WAY too NEW to run most prebuilt binary blobs
it is a fact of " fedora life"
there are a BUNCHE of even "newish" programs that will not even build on the current fedora
if it is not GCC that is TOO new then gtk ,or libpng,or libssl , or something
even NEW programs have to be hacked to build with the VERY NEW gcc fedora uses
 
  


Reply

Tags
crashes, glib2


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] Slackware64-current installation detects i686 samac Slackware 2 11-18-2010 02:24 PM
difference between i686 and X86_64 installation procedure linux.ab Linux - Newbie 2 02-25-2010 08:23 AM
VLC installation on fedora 3 i686 (2.6.9-1.667) sharathg786 Fedora 6 03-25-2006 08:34 AM
2.6.9-5.EL-hugemem-i686, 2.6.9-5.EL-i686, 2.6.9-5.EL-smp-i686 , Which? arsham Linux - General 2 05-07-2005 11:21 PM
2.6.9-5.EL-hugemem-i686, 2.6.9-5.EL-i686, 2.6.9-5.EL-smp-i686 , Which? arsham Linux - Enterprise 1 05-07-2005 07:20 PM


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