LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-12-2005, 04:57 AM   #1
Him
LQ Newbie
 
Registered: Apr 2005
Distribution: Mandrake 10.1
Posts: 22

Rep: Reputation: 15
URPMI Gone?


Hey. I am having a SERIOUS problem. I run Mandrake 10.1 and wanted to update my KDE 3.2 to 3.4, so I took URPMI and typed urpmi kdebase. It begins download etc.... Suddenly my connection breaks down and after a few seconds it comes back, but the download doesnt resume. So I kill urpmi, and type urpmi kdebase again. It begins the download from where it left.... now after it downloaded and installed the PERL 5 packages the damned connection went down again. I killed URPMI, then typed the same. To my surprise this error appeared;
------------
Can't locate URPM.pm in @INC (@INC contains: /usr/lib/perl5/5.8.6/i386-linux /usr/lib/perl5/5.8.6 /usr/lib/perl5/site_perl/5.8.6/i386-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i386-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/vendor_perl/5.8.5/urpm.pm line 16.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.5/urpm.pm line 16.
Compilation failed in require at /usr/sbin/urpmi line 22.
BEGIN failed--compilation aborted at /usr/sbin/urpmi line 22.
------------

I tried URPMI force, MCC everything, but still nothing works. Any clues?
 
Old 11-12-2005, 05:21 AM   #2
Him
LQ Newbie
 
Registered: Apr 2005
Distribution: Mandrake 10.1
Posts: 22

Original Poster
Rep: Reputation: 15
Nevermind, fixed the error myself!
 
Old 11-12-2005, 06:48 AM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
How? If someone else gets it, the answer could be useful.
 
Old 11-12-2005, 08:12 AM   #4
Him
LQ Newbie
 
Registered: Apr 2005
Distribution: Mandrake 10.1
Posts: 22

Original Poster
Rep: Reputation: 15
Well Ok =).

First, remember Google's your ally! Now, the following RPMs can be found in RPMFind.net or anyother site that offers RPMs (I myself just looked for the RPM file name in Google and it directed me to the correct page):

(For newbies, to execute a RPM file you open a terminal, cd (directory/where/downloaded and type rpm -Uhv filename.rpm , I prefeer to just copy the filename of the RPM file and paste it there)

1) Install perl-Config-IniFiles-2.38-3mdk.noarch.rpm
2) Install packdrake-5.0.20-1mdk.i586.rpm
3) Install rpmtools-5.0.20-1mdk.i586.rpm
4) Install rpmdrake-2.1.5-13.2.101mdk.i586.rpm
5) Install perl-URPM-1.11-1mdk.i586.rpm

I do not remember if that is the exact order, but remember to first download the files, if it tells you that certain depency is missing, then look at the filename and check if you downloaded the RPM and install that RPM first.

Hopefully, this will be helpful to someone.... but now I got a HardDrake segmentation fault (not caused by this though... my connection got cut off again and it screwed HardDrake, now time to fix this!).

:-)
 
Old 11-12-2005, 11:01 AM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Excellent fix. This is one of those "rare to happen" "painful to fix" things. Would you consider writing this up and posting it in the Tutorials section? I think it would be a useful entry (not all of them have to be long!) and would make it easy to find for others and for you (in case it happens again).
 
Old 11-12-2005, 08:30 PM   #6
Him
LQ Newbie
 
Registered: Apr 2005
Distribution: Mandrake 10.1
Posts: 22

Original Poster
Rep: Reputation: 15
Sure, no problem =).
 
  


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 ?? charnel Linux - General 2 04-13-2005 10:39 AM
What is URPMI? dabump Mandriva 1 05-28-2004 08:31 AM
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

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

All times are GMT -5. The time now is 07:16 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