LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   glib2-2.32.4-1.fc17.i686 crashes during installation (segfault) (https://www.linuxquestions.org/questions/fedora-35/glib2-2-32-4-1-fc17-i686-crashes-during-installation-segfault-4175425936/)

yacau 09-06-2012 06:39 AM

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.

pan64 09-06-2012 08:27 AM

probably your skype is a 32bit app and your os is a 64bit system.

yacau 09-06-2012 09:22 AM

Quote:

Originally Posted by pan64 (Post 4774139)
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.

John VV 09-06-2012 11:07 AM

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)

yacau 09-06-2012 12:10 PM

Quote:

Originally Posted by John VV (Post 4774265)
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

John VV 09-06-2012 04:33 PM

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 ?

yacau 09-07-2012 12:37 AM

Quote:

Originally Posted by John VV (Post 4774485)
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!

pan64 09-07-2012 12:39 AM

can you install anything else (only glibc will cause segfault or other packages too?)

yacau 09-07-2012 02:03 AM

Quote:

Originally Posted by pan64 (Post 4774705)
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.

yacau 09-08-2012 01:07 AM

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 ...

John VV 09-08-2012 03:08 AM

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

yacau 09-08-2012 04:19 AM

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?

John VV 09-08-2012 05:40 AM

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


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