MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am new to linux and have mandrake 10.1, It was fine untill last week,
from yesterday it start giving problem, KDE doesnot start and the following
error message I got.
usr/bin/perl: error while loading shared libraries
I was trying to download new perl , but it says failed dependencies, is it anyone has rpm file for perl which has all the librarys for mandrake 10.1, that I can get and installed in my computer. thanks
any suggestions are appreciated, kind frustrated after trying to install othr perl versions.
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606
Rep:
I suggest you remove the perl rpms you have installed
(you can do this in a terminal with rpm or urpmi)
and go to http://easyurpmi.zarb.org/ so to set up urpmi correctly
to have all the dependencies
Alternatively update to Mandriva 2005
I assume you can still access gnome (or xfce or icewm, whichever
other windows manager there is)
I could not able to use KDE or GNOME, ICWM , while trying to login , i seen mutiple colored screen and it came back back without login.
I am using default to get inside, but urpmi doesnot work?
I tried to download some perl5.8.7 and installed it but didnot work
and dont know how to remove those rpm installed, Im kind of new to this linux everyone suggested me tht mandrake is very user friendly so I tried and it was fine, untill last week and now end up in mess?
Not sure what is the problem , it didnot let me login in KDE and GNOME?
Is it just perl or something else is a problem?
any help will be greatly apprecited, I dont want to resintall all again cause I have some data tht I dont want to lose it.
how can I check that , my datas are safe , if I resintall the mandrake.
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606
Rep:
Have you got a backup of your data? How much data?
Have you got a USB pen drive handy?
(burning a cd from the command line is doable)
mandriva is indeed very user friendly, no joking.
There is just this akward time at the begining where all is new.
I do not think you can blame mandrake at this stage
>urpmi.addmedia: Command not found.
type su to become root
then you will be able to add the media. Nothing closer to you than fr for the media?
BTW you chose the wrong urmpi sources: you took mandriva 2006, when you run 10.1.
You need main and 1 or two more, but not plf at this stage.
I think the priority is that you backup your data.
When you installed do you remimber creating a partition just for home?
urpmf --name perl | grep 5.8
will list what perl you have
When you are in terminal mode, maybe you still have internet access
(as root try ping somesite.com, then after a while press ctrl c)
If you type man rpm, you will find that you can erase or freshen files.
I am not 100% confident to guide you for all this.
I do not think you and I are advanced enough, but maybe sbdy will come to the rescue
If you have time, remove perl then
insert your cd/dvd of Mandy and do reinstall (as root) perl by doing
rpm -i /mnt/cdrom/ followed to the rest of the path to the rpms of perl on your cd/dvd
Best backup, reinstall, add urpmi sources, then add perl
To be clear: you have access to text mode, but you cannot start KDE etc
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606
Rep:
>where are u?
Does it matter?
>/usr/bin/urpmf: Command not found.
Maybe not there in 10.1. do not know.
What does which rpm return?
You can check partitions with
fdisk -l
If home is effectively separate, there is little risk when reinstalling mandrake
You could even take this as a chance to upgrade to 10.2 (aka 2005 LE)
If you are paranoid about your data, a second IDE,
and a live distro, and "learn the dd command" in LQ
could be a way to make a backup of your data
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606
Rep:
Actually, instead of re-install, or upgrade,
when mandrake is already there, the re-install is a bit like an update.
Have you got a dual boot system?
if you type mount (nothing else)
it should tell you /dev/hda8 /home
If yes, then you will have double checked for sure where you home data are.
My advice would be reinstall first. Very little risk IMHO.
If the data are very important, spend the money and get another HD
How much is it worth loosing all the data?
LQ is a good place to look for help.
You can try somewhere else for a second opinion, but crossposting
is not very appreciated (generally speaking)
By answering you a few times the thread was bumped to the top
hence attracting some interest.
If you are patient somebody else might come
My solution is the least complicated, and avoid finding out exactly what
is wrong, which in your case looked difficult to pinpoint (at least to me).
I am making you cautious with your data because you should be,
and I have the duty to make you aware of any risk you may take, even small.
Now you have to balance risk/money/time.
Post the result of mount if that can reassure you.
in the home, I made two directory, one for programs and one for me ,
like
/home/pgm and /home/venk
I have my program files in pgm and data files in venk.
Now I can able to use the system without window manager, but it is nice if I could fix the problem without reinstall .
I remember that I did try to install other programs from urpmi like readline etc for another software to run, I think tht could be messed up the system but not quiet sure.
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606
Rep:
Well now we are sure your home is on hda8.
In theory the risk of loosing the data during reinstall is only
- user error
- some dramatic disk heads crashing
If I were you, I would reinstall.
If you type df as root it will tell you the size of the partition.
Knowing that hda8 is the partition of size yyy GB
then you should identify it no problem and NOT install on it,
and do install on hda6.
Last thing to check, is that you are not going to harm your dual boot.
Is lilo your boot loader?
Before going ahead you might want to make a backup copy of the boot sector
and MBR (just in case). dd command can be use for that (please see LQ thread on dd)
I am of the paranoid kind. If you are not, just jump and re-install
Unless you can remember what you installed...
cat /var/log/security/rpm-qa.diff | less
cat /var/log/security.log | less
may give you an idea of what has changed
hi all
after long time, I rebuild the perl5 from source and seems to be KDE is happy with that
and able to start, I think it is fine. but I cant able to use any mandrake modules
such as that or console or installation could not able to open, I think that might be
because of new perl installation.,
I got the following error message. Is it anyone knows what is going wrong? how can I fix it?
drakconf
Can't locate MDK/Common.pm in @INC (@INC contains: /usr/lib/libDrakX /usr/local/lib/perl5/5.00504/i686-linux /usr/local/lib/perl5/5.00504 /usr/local/lib/perl5/site_perl/5.005/i686-linux /usr/local/lib/perl5/site_perl/5.005 .) at /usr/lib/libDrakX/common.pm line 3.
BEGIN failed--compilation aborted at /usr/lib/libDrakX/common.pm line 3.
BEGIN failed--compilation aborted at /usr/sbin/drakconf line 28.
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606
Rep:
IMHO you have chosen a difficult route
You are taking the risk of breaking your system even more.
You have a file missing now, called Common.pm
possibly living in some MDK folder.
Look on your cd /dvd is the drak rpms are there
you should be able to install it with command
rpm -i path/to/nameoffile.rpm
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.