Jump to content

URPMI and updated modules from Perl


Guest Faern
 Share

Recommended Posts

Guest Faern

Hi,

 

I'm having some issues with 10.0 Official. Whenever I used CPAN to update some perl modules, I return to CLI and URPMI no longer runs. With one system it complains about @INC, so I have tried many things including regressing Perl, and also sym linking the Perl libs. No luck. With the other server it just complains about "Out of Memory!" and dies back to command line.

 

Both systems are similar 586 arch, and the identical systems have 0 issues running Gentoo. I'm a BIG MDK fan, but if the rpm manager is broken when using newer versions of Perl, I simply cannot use it.

 

Here is the error / diag info:

 

[root@itgbs root]# cat /etc/mandrake-release

Mandrake Linux release 10.0 (Official) for i586

[root@itgbs root]# perl -v

 

This is perl, v5.8.5 built for i386-linux-thread-multi

(with 1 registered patch, see perl -V for more detail)

 

Copyright 1987-2004, Larry Wall

 

Perl may be copied only under the terms of either the Artistic License or the

GNU General Public License, which may be found in the Perl 5 source kit.

 

Complete documentation for Perl, including FAQ lists, should be found on

this system using `man perl' or `perldoc perl'. If you have access to the

Internet, point your browser at http://www.perl.com/, the Perl Home Page.

 

[root@itgbs root]# urpmi

Out of Memory!

Core Dumped

[root@itgbs root]#

 

Second System...

 

[root@reports root]# urpmi gdImage

Undefined subroutine &main::log_it called at /usr/sbin/urpmi line 270.

[root@reports root]#

 

 

Any help would be great! Thanks!!!

 

~Faern~

 

 

[moved from Software by spinynorman - welcome aboard :)]

Link to comment
Share on other sites

I guess your Perl installation is borked (happened to me a couple of times in the past, always with Mandrake), and the easiest way out in Mandriva is reinstalling (fixing perl is a huge pain in the...).

Anyway, before doing that, what happens if you ask as root

urpmi --help

"No takers" because Mandy 10.0 is really old...

Link to comment
Share on other sites

Guest Faern

Well Linux is Linux, the kernel is pretty immaterial at this point. If you look at my message, I have re-installed and/or regressed perl. Re-installation of the whole box really isn't much of an option on a production server.

 

urpmi --help works normally

 

I'll keep looking, and appreciate the help.

Link to comment
Share on other sites

This is a difficult problem to solve without sitting at the box. My suggestion would be to start with manually downloading urpmi and/or perl-URPM and reinstalling them with

 

rpm -ivh --replacefiles --replacepkgs <<pkg>>

 

or if that doesn't work, try installing a new URPM module with cpan.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...