Page 1 of 1

[SOLVED] software management fails on mga4 (Perl?)

PostPosted: Jan 27th, '15, 10:57
by magfan
Hi,

I have a strange problem on Mageia 4. When I tried to add a new software package with mcc I got the following bug report:

Code: Select all
Das Programm "drakrpm" ist mit folgender Fehlermeldung abgestürzt (segfault):

  SEGV
  Glibc's trace:
  4: /usr/lib/perl5/5.18.1/x86_64-linux-thread-multi/CORE/libperl.so(Perl_sighandler+0x20f) [0x7fb7b67e451f]
  5: /lib64/libc.so.6(+0x349f0) [0x7fb7b562a9f0]
  6: /lib/../lib64/librpmio.so.3(rpmstrPoolId+0x14) [0x7fb7b2bebc14]
  7: /lib/../lib64/librpm.so.3(+0x1f791) [0x7fb7b2e1e791]
  8: /lib/../lib64/librpm.so.3(+0x200a6) [0x7fb7b2e1f0a6]
  9: /lib/../lib64/librpm.so.3(+0x1c5ef) [0x7fb7b2e1b5ef]
  10: /lib/../lib64/librpm.so.3(rpmdbInitIterator+0x258) [0x7fb7b2e1ba28]
  11: /lib/../lib64/librpm.so.3(rpmtsInitIterator+0x113) [0x7fb7b2e40583]
  12: /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi/auto/URPM/URPM.so(+0x13a0d) [0x7fb7b307aa0d]
  13: /usr/lib/perl5/5.18.1/x86_64-linux-thread-multi/CORE/libperl.so(Perl_pp_entersub+0x596) [0x7fb7b67fc836]
  14: /usr/lib/perl5/5.18.1/x86_64-linux-thread-multi/CORE/libperl.so(Perl_runops_standard+0x16) [0x7fb7b67f4e46]
  15: /usr/lib/perl5/5.18.1/x86_64-linux-thread-multi/CORE/libperl.so(perl_run+0x254) [0x7fb7b678d394]
  16: /usr/bin/perl(main+0x149) [0x400ea9]
  17: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7fb7b5617c85]
  18: /usr/bin/perl() [0x400ee1]
 
  Perl's trace:
  standalone::bug_handler() called from /usr/lib/libDrakX/standalone.pm:226
  standalone::__ANON__() called from /usr/lib/perl5/vendor_perl/5.18.1/Rpmdrake/pkg.pm:341
  (eval)() called from /usr/lib/perl5/vendor_perl/5.18.1/Rpmdrake/pkg.pm:341
  Rpmdrake::pkg::get_installed_packages() called from /usr/lib/perl5/vendor_perl/5.18.1/Rpmdrake/pkg.pm:482
  Rpmdrake::pkg::get_pkgs() called from /usr/lib/perl5/vendor_perl/5.18.1/Rpmdrake/gui.pm:642
  Rpmdrake::gui::pkgs_provider() called from /usr/libexec/drakrpm:803
  main::__ANON__() called from /usr/lib/perl5/vendor_perl/5.18.1/rpmdrake.pm:415
  rpmdrake::slow_func() called from /usr/libexec/drakrpm:803
  main::run_treeview_dialog() called from /usr/libexec/drakrpm:846

Benutztes Theme: oxygen-gtk


Maybe one of the latest updates caused this behavior. Unfortunately, I cannot install / remove / update any software package now. What can I do?

Re: software management fails on mga4 (Perl?)

PostPosted: Jan 27th, '15, 23:43
by doktor5000
Does urpmi still work?

Re: software management fails on mga4 (Perl?)

PostPosted: Jan 27th, '15, 23:54
by magfan
No, it does not. It also stops with a segfault.

Re: software management fails on mga4 (Perl?)

PostPosted: Jan 28th, '15, 00:00
by doktor5000
Then you can only try to fetch relevant urpmi and perl-URPM and then run rpm -e --nodeps urpmi perl-URPM; rpm -ihv urpmi perl-URPM
But that will probably not cure that perl issue. You will probably need to manually overwrite the offending file, once you know which one it is.

You better report that as a bug.

Re: software management fails on mga4 (Perl?)

PostPosted: Feb 11th, '15, 11:02
by magfan
Finally I could solve the problem. I had to use the Mageia 4.1 installation DVD and select Installation->Update. After restarting the system I had to run a file system check because the partition with the root directory got corrupted. After running fsck manually I could install the following packages using rpm -hiv --force:

Code: Select all
gurpmi-7.31-1.mga4.noarch.rpm
perl-5.18.1-3.2.mga4.x86_64.rpm
perl-URPM-4.30-1.mga4.x86_64.rpm
perl-base-5.18.1-3.2.mga4.x86_64.rpm
urpmi-7.31-1.mga4.noarch.rpm


Now everything is working again. I do not know why I had to use the installation DVD because it does not contain newer versions of the installed software packages. But before running through this update process I could not even use rpm to re-install something. I always got a segfault:

Code: Select all
# rpm -hiv –force urpmi-7.31-1.mga4.noarch.rpm
Speicherzugriffsfehler
#