LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-08-2004, 12:05 PM   #1
Boudewijn
Member
 
Registered: Nov 2003
Location: The Netherlands
Distribution: MDK: 10,10.1,10_amd64,9.2,9.1 . Debian: sarge,woody, Gentoo (X86 amd64 Sparc)
Posts: 219

Rep: Reputation: 30
URPMI crashes


Can't locate URPM.pm in @INC (@INC contains: /usr/lib/perl5/5.8.3/x86_64-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/vendor_perl/5.8.3/urpm.pm line 13.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.3/urpm.pm line 13.
Compilation failed in require at /usr/sbin/urpmi line 23.
BEGIN failed--compilation aborted at /usr/sbin/urpmi line 23.


This is the result form:

rpmdrake
urpmi
rpmdrake-remove

What to do?
 
Old 09-08-2004, 01:14 PM   #2
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 573

Rep: Reputation: 30
It might be a bad rpm. Thats when I've seen this. Try downloading the file again and if possable check it md5sum before trying to load it.
 
Old 09-08-2004, 01:53 PM   #3
Boudewijn
Member
 
Registered: Nov 2003
Location: The Netherlands
Distribution: MDK: 10,10.1,10_amd64,9.2,9.1 . Debian: sarge,woody, Gentoo (X86 amd64 Sparc)
Posts: 219

Original Poster
Rep: Reputation: 30
Angry

Well this isn't for a specific RPM:

if I try urpmi.removemedia -a

it still happens. It seems to be more likely to me that URPMI is messed up.

Should it be possible to reinstall urpmi (preferably not with an RPM :+ ), and if so how? And should it fix the problem?



Last edited by Boudewijn; 09-08-2004 at 01:55 PM.
 
Old 09-08-2004, 02:08 PM   #4
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
It would seem you've removed perl's urpmi support module. You might still be able to install the rpms from the disks with the rpm command, but without the dependancy resolution urpmi provides.
 
Old 09-08-2004, 02:12 PM   #5
Boudewijn
Member
 
Registered: Nov 2003
Location: The Netherlands
Distribution: MDK: 10,10.1,10_amd64,9.2,9.1 . Debian: sarge,woody, Gentoo (X86 amd64 Sparc)
Posts: 219

Original Poster
Rep: Reputation: 30
Can you tell me what package they are in?
 
Old 09-08-2004, 02:25 PM   #6
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
This seems to be it on my Mdk 10.0 system:
Quote:
Name: perl-URPM
Version: 0.94-11mdk
Size: 244 KB

Summary: URPM module for perl

Description: The URPM module allows you to manipulate rpm files, rpm header files and hdlist files and manage them in memory.
 
Old 09-08-2004, 03:04 PM   #7
Boudewijn
Member
 
Registered: Nov 2003
Location: The Netherlands
Distribution: MDK: 10,10.1,10_amd64,9.2,9.1 . Debian: sarge,woody, Gentoo (X86 amd64 Sparc)
Posts: 219

Original Poster
Rep: Reputation: 30
[boudewijn@zeus boudewijn]$ cd /mnt/cdrom/misc/
[boudewijn@zeus misc]$ ls
auto/ gendistrib* make_mdkinst_stage2* packdrake* packdrake.pm rpm2header* URPM/ URPM.pm

Can I put the URPM.pm in the directory on my hdd?


I'm asking this because I can't find the RPM file tou told me about (im using mdk10_64)
 
Old 09-08-2004, 03:07 PM   #8
Boudewijn
Member
 
Registered: Nov 2003
Location: The Netherlands
Distribution: MDK: 10,10.1,10_amd64,9.2,9.1 . Debian: sarge,woody, Gentoo (X86 amd64 Sparc)
Posts: 219

Original Poster
Rep: Reputation: 30
http://rpms.mandrakeclub.com/rpms/rp...sls.amd64.html

I've found it.... I'm trying to get al the deps now --> some are missing (rpm -iv seems to work, at least it was able to tell me I'm missing some objects)
 
Old 09-08-2004, 03:28 PM   #9
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
I was gunna say that I think it's part of the basic bootstrap of the install, as a lot of perl is used to set up the package system, so that itself cant simply be a package (recursive requirements). And I dont suggest you just copy the file, there's probably a command or file to edit to properly add the module to Perl's listings.
 
  


Reply



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
syntax problem with noclean option for rpmdrake urpmi /var/cache/urpmi/rpms Emmanuel_uk Mandriva 12 05-06-2007 07:29 PM
urpmi the battle urpmi 7 me 0 aamehl Mandriva 4 12-22-2003 04:14 AM
urpmi.update --all / urpmi database locked thepoint Mandriva 5 11-05-2003 06:03 PM
Konqueror crashes, SuseWatcher crashes!!! bruno buys Linux - Newbie 9 10-07-2003 10:44 AM
no urpmi? loran Slackware 3 03-18-2003 04:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 04:48 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration