philip101a Posted January 24, 2005 Report Share Posted January 24, 2005 In Mandrake Control Centre in Software Management I click on the icons but get no response. Other sections of MCC work ok. Cannot recall having done anything particularly stupid lately but have noticed when at CLI get three lines of info before log in prompt. Like so:- locale: Cannot set LC_CTYPE to default locale: Invalid argument locale: Cannot set LC_MESSAGES to default locale: Invalid argument locale: Cannot set LC_ALL to default locale: Invalid argument above may of course have nothing to do with my problem. Running Mdk 9.2/KDE 3.1on Dual Processor Compaq 5100 for about 8months now with no real problems to speak of. Any pointers to a resolution of the non-response would be appreciated. Phil from Frome, Som. Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted January 24, 2005 Report Share Posted January 24, 2005 Can you run rpmdrake from a console and see if that outputs any errors (maybe the same errors you already noticed)? That is the program that mcc runs when you click on software management. Quote Link to comment Share on other sites More sharing options...
philip101a Posted January 24, 2005 Author Report Share Posted January 24, 2005 (edited) Can you run rpmdrake from a console and see if that outputs any errors..? Thanks for prompt reply Steve. Did that and got this:- ocale: Cannot set LC_CTYPE to default locale: Invalid argument locale: Cannot set LC_MESSAGES to default locale: Invalid argument locale: Cannot set LC_ALL to default locale: Invalid argument [ phil]$ su Password: locale: Cannot set LC_CTYPE to default locale: Invalid argument locale: Cannot set LC_MESSAGES to default locale: Invalid argument locale: Cannot set LC_ALL to default locale: Invalid argument [root@ phil]# rpmdrake perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_GB:en", LC_ALL = (unset), LC_PAPER = "en_GB", LC_ADDRESS = "en_GB", LC_MONETARY = "en_GB", LC_NUMERIC = "en_GB", LC_TELEPHONE = "en_GB", LC_MESSAGES = "en_GB", LC_COLLATE = "en_GB", LC_IDENTIFICATION = "en_GB", LC_MEASUREMENT = "en_GB", LC_CTYPE = "en_GB", LC_TIME = "en_GB", LC_NAME = "en_GB", LANG = "en_GB" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). (process:2391): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Can't locate locale.pm in @INC (@INC contains: /usr/lib/libDrakX /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/sbin/rpmdrake line 46. BEGIN failed--compilation aborted at /usr/sbin/rpmdrake line 46 Am I looking at a re-install or do you have some other suggestion? B. Rgdfs Phil Edited January 24, 2005 by philip101a Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted January 24, 2005 Report Share Posted January 24, 2005 (edited) No no no. No reinstall needed. Give me a little bit. :D Edit: Ok. Try this. As root, in a console: rpm -qa | grep perl Look for the RPM that is just perl-<<version number>>, like this: perl-5.8.5-3.1.101mdk (that's mine that I'll use for an example, yours will be different). Then do: rpm -e --nodeps perl-5.8.5-3.1.101mdk urpmi perl If that does not fix your problem, try my Script to Repair Your Installation link in my sig. You'll need just web sources for urpmi, so hopefully you'll have a good internet connection. Use the edited script in my last post in that topic when you do it...I haven't gotten around to updating the first post in that topic. Edited January 24, 2005 by Steve Scrimpshire Quote Link to comment Share on other sites More sharing options...
philip101a Posted January 25, 2005 Author Report Share Posted January 25, 2005 No no no. No reinstall needed. Give me a little bit. :D Did grep perl. and got:- perl-5.8.1-0.RC4.3mdk then was not able to access with answer "not installed". Steve: Many thanks for your advice on this. I do not fancy trying your other option as I think this is would be way over my head. (Old - Grey - Addled). As the lack of access to Software install is not a real problem in the true sense of the word and I can live with the 3 messages appearing on console I shall let sleeping dogs lie and hang on till MDK 10.2 arrives in March and do a clean install then. B. Rgds Phil Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted January 26, 2005 Report Share Posted January 26, 2005 Ok, just try urpmi perl If it gives you an error, we'll try something else. (The other option is easy, really) Quote Link to comment Share on other sites More sharing options...
philip101a Posted January 26, 2005 Author Report Share Posted January 26, 2005 Thanks for your continued interest in my problem Steve.Is very much appreciated. Here is what I got from urpmi perl. [ phil]$ su Password: locale: Cannot set LC_CTYPE to default locale: Invalid argument locale: Cannot set LC_MESSAGES to default locale: Invalid argument locale: Cannot set LC_ALL to default locale: Invalid argument [phil]# urpmi perl bash: urpmi: command not found [root phil]# This was this morning 09.26 gmt . response yesterday was slightly different . Had another llook at your Repair Script. (Jan 11 rev.) Still frightens me :unsure: Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted January 26, 2005 Report Share Posted January 26, 2005 (edited) Ok, download this: ftp://fr.rpmfind.net/linux/Mandrake/9.2/i...4.3mdk.i586.rpm and do rpm -ivh --replacepkgs perl-5.8.1-0.RC4.3mdk.i586.rpm And if you are getting 'urpmi: command not found', my repair script won't help because that the command it uses. We'll get there, though. Edited January 26, 2005 by Steve Scrimpshire Quote Link to comment Share on other sites More sharing options...
philip101a Posted January 26, 2005 Author Report Share Posted January 26, 2005 Thanks for that Steve. Just off to bed now 23.07 here in Frome (where everybody goes to bed early) Will do just that in the morning and hopefully solve problem. B. Rgds Phil from Frome, Somerset UK. Quote Link to comment Share on other sites More sharing options...
philip101a Posted January 27, 2005 Author Report Share Posted January 27, 2005 Ok, download this:ftp://fr.rpmfind.net/linux/Mandrake/9.2/i...4.3mdk.i586.rpm and do rpm -ivh --replacepkgs perl-5.8.1-0.RC4.3mdk.i586.rpm Did both of those wound up with this: [root@ phil]# rpm -ivh --replacepkgs perl-5.8.1-0.RC4.3mdk.i586.rpm error: open of perl-5.8.1-0.RC4.3mdk.i586.rpm failed: No such file or directory [root@ phil]# Your url came up on Browser titled as :perl-5.8.1-0RC4.3mdk.i586.rpm(audio/x-pn-realaudio-pluginObject)-Mozilla and this triggered a recollection that a few weeks ago I aborted a download of RealPlayer10 as I did not like the look of it. Possible cause of the problems I now encounter??. B. Rgds Phil Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted January 27, 2005 Report Share Posted January 27, 2005 No, that's some crazy problem with the gxine plugin thinking that rpms are rms. Just right click my link and Save Link As... The error you get it because either you didn't download the file, or you are not in the directory where the file got downloaded. Quote Link to comment Share on other sites More sharing options...
philip101a Posted January 27, 2005 Author Report Share Posted January 27, 2005 No, that's some crazy problem with the gxine plugin thinking that rpms are rms. Just right click my link and Save Link As... I did that. Now got the file sitting on desktop with rpm icon. rightclicked starts SoftwareInstaller in taskbar and after 50/60 secs. SoftwareInstaller goes off. In Konsole then did your rpm ivh replace line got this:- error: open of perl-5.8.1-0.RC4.3mdk.i586.rpm failed: No such file or directory went su got same result. B. Rgds Phil Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted January 27, 2005 Report Share Posted January 27, 2005 Open a console: su to root and type: cd Desktop rpm -ivh --replacefiles --replacepkgs perl-5.8.1-0.RC4.3mdk.i586.rpm Quote Link to comment Share on other sites More sharing options...
philip101a Posted January 27, 2005 Author Report Share Posted January 27, 2005 (edited) Open a console:su to root and type: cd Desktop rpm -ivh --replacefiles --replacepkgs perl-5.8.1-0.RC4.3mdk.i586.rpm <{POST_SNAPBACK}> Many thanks for your c ontinued attention to my problem. here are the results of the above as presented phil@ phil]$ su Password: locale: Cannot set LC_CTYPE to default locale: Invalid argument locale: Cannot set LC_MESSAGES to default locale: Invalid argument locale: Cannot set LC_ALL to default locale: Invalid argument [root@ phil]# cd Desktop [root@ Desktop]# rpm -ivh--replacefiles -replacepkgs perl-5.8.1-0.RC4.3mdk.i586.rpm -ivh--replacefiles: unknown option [root@ Desktop]# rpm -ivh --replacepkgs perl-5.8.1-0.RC4.3mdk.i586.rpm error: Failed dependencies: perl-base = 2:5.8.1-0.RC4.3mdk is needed by perl-5.8.1-0.RC4.3mdk perl(re) is needed by perl-5.8.1-0.RC4.3mdk perl(warnings::register) is needed by perl-5.8.1-0.RC4.3mdk [root@ Desktop]# seems to open up even more discrepancies. I was originally running MDK v9.O then upgraded to 9.2from cd nrs 1 2 & 3. with download from site so screen shows MDK9.2 Download edition. Does any of this make sense> ??. B. Rgds Phil Edited January 27, 2005 by philip101a Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted January 27, 2005 Report Share Posted January 27, 2005 Well, this is where I tell you that it is time for drastic measures. Maybe your download disks were bad? Did you do an md5sum on them? Do you still have the ISOs and the *.md5sum files to check them with? I would either: (1) Use those disks to do an 'Upgrade' (not a complete reinstall...choose the Upgrade option) or (2) Download 10.1 and do an Upgrade with it. Of course checking the md5sums. 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.