crispus Posted November 21, 2004 Report Share Posted November 21, 2004 Ok, I made a big mistake. I am using Mandrake 10.0 official. I had set up some cooker mirrors a couple of days ago to install superkaramba and amarok. I forgot to disable them when I attempted to update urpmi itself with: urpmi urpmi It failed and I now get an error that looks like this: 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.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/vendor_perl/5.8.6/urpm.pm line 17. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.6/urpm.pm line 17. Compilation failed in require at /usr/sbin/urpmi line 22. BEGIN failed--compilation aborted at /usr/sbin/urpmi line 22. This looks pretty bad to me. Of course I now can't use urpmi to reinstall a working version and the Mandrake package updater (rpmdrake) also no longer works. I also cannot get harddrake or configure my computer to work. Harddrake also fails on boot. I tried doing an upgrade install from my 10.0 official discs but that didn't fix anything. Is there I way I can reinstall urpmi from the CDs using an rpm package? or download an rpm from somewhere? Any help is greatly appreciated. Regards, Crispus (with egg on his face) [moved from Installing Mandrake by spinynorman] Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted November 21, 2004 Report Share Posted November 21, 2004 Just an idea.. URPMI is just a wrapper for RPM. Uninstall URPMI totally and reinstall it. Haven't tried this so consider yourself an adventurer :o Quote Link to comment Share on other sites More sharing options...
chris z Posted November 21, 2004 Report Share Posted November 21, 2004 (edited) looks like you borked perl libraries, somehow. (probably due to cooker dependencies for superkaramba, i know that uses perl. not sure about amarok.) you could try the following...... if Mandrake Control Center still works........... first, disable all cooker sources in media manager. does Mandrake Control Center->software management->install software/remove software work? if so, use remove, search for perl, remove it. then use install, search for perl, install it from the CD's. the Perl libraries are on CD #1 /Mandrake/RPMS. if MCC doesn't work, try removing perl &/or urpm with urpme. urpme perl or urpme urpm then install it from the Mandrake CD1. insert the CD, mount it if necessary, then either browse to the Perl package(s) on the CD, click them to install, or in terminal as root do........ rpm -ivh <path to perl packages here> i'm not sure what else to suggest. it depends how deep the perl libraries are borked & how many of them. the perl version for MDK 10.0 is 5.8.3. looks like you have several library versions mixed in there. short of what i suggested, or somebody coming up with an alternative, a reinstall might be the only way to go, unfortunately. but, only do that as a last resort when all other methods are exhausted. Chris Edited November 21, 2004 by chris z Quote Link to comment Share on other sites More sharing options...
crispus Posted November 21, 2004 Author Report Share Posted November 21, 2004 Thanks for the quick replies. Unfortunately, all of those pathways are fubar. Borked is right. It looks like I need a less elegant way to remove perl and/or urpm. -Crispuus Quote Link to comment Share on other sites More sharing options...
bvc Posted November 21, 2004 Report Share Posted November 21, 2004 yeah, that's a bugger alright either go cooker or Update to all your correct sources and try to remove as many perl pkgs you can from cli with rpm -qa | grep perl to find out which are intalled, and rpm -e --nodeps <pkg_name> to remove them without braking rpm and also unistall urpmi. Reinstall urpmi and restore the perl. You may need to venture deeply into rpm commands for the database all all that fun stuff (ah...the good ol_days) this will be extremely difficult and frustrating! look at all the perl pkgs I have installed :o [root@localhost root]# rpm -qa | grep perl perl-GTK-GdkImlib-0.7009-1mdk perl-GTK-Glade-0.7009-1mdk perl-Magick-6.0.4.4-5mdk perl-5.8.6-0.RC1.1mdk perl-DB_File-1.810-2mdk perl-PerlIO-gzip-0.17-2mdk perl-Gnome2-Rsvg-0.03-1mdk perl-Parse-Yapp-1.05-6mdk perl-devel-5.8.6-0.RC1.1mdk perl-Term-Readline-Gnu-1.15-1mdk perl-Gnome2-VFS-1.011-2mdk perl-Libconf-0.33-2mdk perl-Parse-RecDescent-1.94-4mdk perl-DateManip-5.42a-1mdk perl-MDK-Common-1.1.20-1mdk perl-Gtk2-1.070-2mdk perl-Gtk2-TrayIcon-0.04-2mdk perl-URI-1.35-1mdk perl-DBI-1.45-2mdk perl-XML-SAX-0.12-4mdk perl-XML-Writer-0.520-1mdk perl-GTK-Gnome-0.7009-3mdk perl-HTML-Tagset-3.03-7mdk perl-MailTools-1.62-1mdk perl-Digest-HMAC-1.01-11mdk perl-XML-NamespaceSupport-1.08-3mdk perl-base-5.8.6-0.RC1.1mdk perl-XML-Parser-2.34-3mdk perl-Digest-SHA1-2.10-2mdk perl-Crypt-SSLeay-0.51-5mdk perl-Gnome2-Vte-0.04-2mdk perl-Gnome2-Canvas-1.002-1mdk perl-XML-Encoding-1.01-6mdk perl-XML-Stream-1.21-2mdk perl-SVG-2.32-1mdk perl-Glib-1.070-2mdk perl-HTML-Parser-3.38-1mdk perl-PDL-2.4.1-3mdk perl-TimeDate-1.16-3mdk perl-GTK-0.7009-1mdk perl-GTK-GdkPixbuf-0.7009-1mdk perl-MIME-Lite-3.01-5mdk glade-perl-0.59-5mdk perl-libxml-enno-1.02-9mdk perl-Locale-gettext-1.01-14mdk perl-Mail-SpamAssassin-3.0.1-1mdk perl-Term-ReadKey-2.21-5mdk perl-IO-Tty-1.02-10mdk perl-Gnome2-1.020-1mdk perl-Gnome2-GConf-1.000-2mdk perl-Expect-1.15-6mdk perl-Authen-SASL-2.08-1mdk perl-Gimp-2.0-1mdk perl-libxml-perl-0.07-10mdk perl-URPM-1.04-2mdk perl-libwww-perl-5.801-1mdk perl-XML-LibXML-Common-0.13-3mdk perl-XML-LibXML-1.58-2mdk perl-File-Slurp-9999.06-1mdk perl-Gnome2-PanelApplet-0.0-2mdk [root@localhost root]# Quote Link to comment Share on other sites More sharing options...
adamw Posted November 21, 2004 Report Share Posted November 21, 2004 It's borked because Cooker has been updated to a new, non-ABI-compatible version of Perl. This is why we tell people not to use Cooker repositories in the first place...sigh. It looks like you still didn't try just plain rpm yet. Try uninstall the urpmi and perl-URPM packages with rpm -e --nodeps , then reinstall 10.1 version packages. I think those are the only two that should need to be changed, but I'll check tonight when I'm on my mdk box. If that doesn't work, frankly, the two fastest and most pain-free solutions are 1: update everything to Cooker and use it (current Cooker has lots of nice new stuff and isn't very broken!) or 2: reinstall. There *are* ways to fix this, but they're hideously ugly and time-consuming and just doing a reinstall while preserving your home partition (you DO have a separate home partition, right?) will be much easier. Quote Link to comment Share on other sites More sharing options...
crispus Posted November 21, 2004 Author Report Share Posted November 21, 2004 Yes, I have home partition. I think i'll be venturing into the reinstall territory. Right after I make a little note to myself. Quote Link to comment Share on other sites More sharing options...
crispus Posted November 23, 2004 Author Report Share Posted November 23, 2004 Just a note that this thread can be closed. I did a fresh install of MDK 10.1 CE and then upgraded to official. All is working fine. Quote Link to comment Share on other sites More sharing options...
Guest mintshows Posted December 4, 2004 Report Share Posted December 4, 2004 Sorry to bump this older post, but I ran into this same problem when trying to upgrade (dispite all warnings) my perfectly fine 10.1 official, to gnome 2.8 from cooker. I DID find a fix to this problem however. Just migrate to your favorite mirror & find the */devel/cooker/i586/media/main directory. Download perl-URPM-1.05-1mdk.i586.rpm (or whatever current version is on cooker) and run: rpm -Uvh perl-URPM-1.05-1mdk.i586.rpm Fixed this issue for me! Hope this helps! Quote Link to comment Share on other sites More sharing options...
jdion81 Posted December 25, 2004 Report Share Posted December 25, 2004 Sorry to bump this older post, but I ran into this same problem when trying to upgrade (dispite all warnings) my perfectly fine 10.1 official, to gnome 2.8 from cooker. I DID find a fix to this problem however. Just migrate to your favorite mirror & find the */devel/cooker/i586/media/main directory. Download perl-URPM-1.05-1mdk.i586.rpm (or whatever current version is on cooker) and run: rpm -Uvh perl-URPM-1.05-1mdk.i586.rpm Fixed this issue for me! Hope this helps! <{POST_SNAPBACK}> This let me use urpmi again. but MCC is still borked. I get segmentation fault when I run from CLI. Quote Link to comment Share on other sites More sharing options...
Guest merauder Posted September 24, 2005 Report Share Posted September 24, 2005 ***Full Solution*** Determined not to do a re-install, these are the steps I did to fix urpmi, and the damaged vim and vi. Errors encountered: Can't locate URPM.pm in @INC .... and vim: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory Fix: ---------------------- Download the 2005 version of perl-URPM and it's dependency wget ftp://ftp.proxad.net/pub/Distributions_Li...1-1mdk.i586.rpm wget ftp://ftp.proxad.net/pub/Distributions_Li...0-1mdk.i586.rpm Uninstall the conflicting packages rpm -ev --nodeps rpmtools rpm -ev --nodeps perl-URPM Install the updated perl-URPM and it's dependency. rpm -ivh packdrake-5.0.20-1mdk.i586.rpm rpm -ivh perl-URPM-1.11-1mdk.i586.rpm (may have to add --nodeps here) Now urpmi should work so urpmi rpmtools again. urpmi rpmtools To satisfy dependencies, the following 2 packages are going to be installed (0 MB): perl-Config-IniFiles-2.38-3mdk.noarch rpmtools-5.0.20-1mdk.i586 Is this OK? (Y/n) y Fixing the libperl.so: ----------------------- slocate libperl.so Mine was like this: /usr/local/other2/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE/libperl.so /usr/lib/perl5/5.8.6/i386-linux/CORE/libperl.so so I did: cp /usr/local/other2/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE/libperl.so /usr/lib/ and now everything works again! I hope this helps other people who run into this. From what I have seen on the net, there is a lot. :) Quote Link to comment Share on other sites More sharing options...
AussieJohn Posted September 24, 2005 Report Share Posted September 24, 2005 (edited) Sure you may have learn't a few things along the way but was all that truoble really worth it ???. It surely would have been far simpler to use a live CD to locate and save your important data if you had some that needed to be saved and then done a reinstall. There may be a lot on the internet who seem to have the same trouble but the remedy you worked out still seems so unnecessary. Thanks at least for posting your results, that is a lot more than many do. PS. Don't work in root. He He He. I suspect you did you naughty person you. :D Good luck and cheers. John. Edited September 24, 2005 by AussieJohn Quote Link to comment Share on other sites More sharing options...
Guest merauder Posted September 28, 2005 Report Share Posted September 28, 2005 Sure you may have learn't a few things along the way but was all that truoble really worth it ???. It surely would have been far simpler to use a live CD to locate and save your important data if you had some that needed to be saved and then done a reinstall.There may be a lot on the internet who seem to have the same trouble but the remedy you worked out still seems so unnecessary. Thanks at least for posting your results, that is a lot more than many do. PS. Don't work in root. He He He. I suspect you did you naughty person you. :D Good luck and cheers. John. <{POST_SNAPBACK}> I would have done a reinstall, but it was on a live system that I couldn't bring down. And I know not to work in root. sheesh Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.