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

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

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

Postby magfan » Jan 27th, '15, 10:57

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?
Last edited by magfan on Feb 11th, '15, 11:02, edited 1 time in total.
magfan
 
Posts: 334
Joined: Apr 3rd, '12, 12:33

Re: software management fails on mga4 (Perl?)

Postby doktor5000 » Jan 27th, '15, 23:43

Does urpmi still work?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18060
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: software management fails on mga4 (Perl?)

Postby magfan » Jan 27th, '15, 23:54

No, it does not. It also stops with a segfault.
magfan
 
Posts: 334
Joined: Apr 3rd, '12, 12:33

Re: software management fails on mga4 (Perl?)

Postby doktor5000 » Jan 28th, '15, 00:00

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18060
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: software management fails on mga4 (Perl?)

Postby magfan » Feb 11th, '15, 11:02

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
#
magfan
 
Posts: 334
Joined: Apr 3rd, '12, 12:33


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest