LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-07-2005, 08:30 PM   #1
saucyjack
LQ Newbie
 
Registered: Dec 2005
Posts: 1

Rep: Reputation: 0
Lost urpmi after Package Manager install


Hello-

I'm running Mandake 10.1. Yesterday I installed mysql 4and about 10 prerequisites (among them, perl) via the GUI Package Manager. Following the install (which appeared to succeed without incident), I closed the window and MCC hung. After killing it, I found that drakconf now seg faults, and that even urpmi is broken. See below.

I've checked the perl paths and added in sym links for URPM.pm and URPM/*, so that's no longer the problem. I've found that if I comment the URPM->bootstrap($VERSION) line in URPM.pm, related to DynaLoader, everything loads but then I get runtime errors later on. I guess this has something to do with the perl upgrade earlier?

As of right now, I can't use urpmi to get drakconf back alive, and rpm gives me a long list of prerequisites if I try to reinstall it that way. Any suggestions?

If this can't be fixed, can I safely reinstall or upgrade Mandrake without losing my important stuff (which are currently on /etc/, /var/ and /home/).

Suggestions are greatly appreciated. Thanks in advance.

-Jack



[root@james root]# urpmq --help
Can't locate loadable object for module URPM 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/5.8.5 /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.2
/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl .) at
/usr/lib/perl5/site_perl/5.8.6/urpm.pm line 17
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.6/urpm.pm line 17.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.6/urpm.pm
line 17.
Compilation failed in require at /usr/bin/urpmq line 29.
BEGIN failed--compilation aborted at /usr/bin/urpmq line 29.

[root@james root]#
 
Old 12-07-2005, 08:52 PM   #2
Trio3b
Member
 
Registered: Oct 2004
Location: Texas, USA
Distribution: MDV 2008.1, PCLinuxOS,
Posts: 315

Rep: Reputation: 30
drakconf

Don't know if this is helpful, but had a similar perl issue with dansguardian a while back. It was due to downloading and installing packages that were NOT for my specific version. Completely destroyed the OS and had to reinstall. Sounds like you used official packages so that shouldn't be a problem.

Had very brief experience with MDV 10.1 and it was not good so moved on to MDV 10.2 and many problems seem to be resolved.

I believe all necessary config files (if you're using KDE) are in your /home directory and you can just reinstall the OS. Don't choose upgrade. Early during setup, installer should ask if you want to format partition with / and partition /home. If you leave /home UNCHECKED it will only format / thus giving you a new installation, but leaving your personal settings as they were. Remember to backup any important stuff that you moved out of /home and if it's REAL important, you should back it up no matter where it is.
good luck
 
  


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
latex2e package unavailable in package manager or apt-get cesine Debian 2 07-11-2006 02:31 PM
I lost my urpmi database...how to restore it ? riccisit Mandriva 14 01-22-2006 03:14 AM
URPMI Package, what is it? dudeman41465 Linux - Software 1 10-13-2005 10:15 PM
how to install rpm package manager? :))) sawran Linux - Software 3 04-18-2005 07:04 AM
Can't install Development Tools from package manager nick623 Linux - Newbie 0 01-19-2005 09:38 AM

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

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