angryadmin
Nov 23 2006, 12:17 AM
All of a sudden none of my perl scripts are working, and I am getting errors like:
Can't locate vars.pm
even though I haven't changed anything???
I have tried `up2date -i --force perl` but it didn't do anything. I need to somehow reinstall perl.
agruetz
Nov 24 2006, 05:34 PM
Just curious have you checked the HD? Things do not typically just stop working. Are you finding any other error message?
angryadmin
Nov 26 2006, 02:31 PM
This message appeared after running fsck. So it obviously removed some files from perl, but how do I put them back?
agruetz
Nov 26 2006, 04:47 PM
You could check the lost+found dir and see if they some how got dropped in there by fsck. But the simplest way would probally be to uninstall perl and reinstall the exact same perl version.
angryadmin
Nov 26 2006, 07:34 PM
How do you uninstall perl? I must be doing something wrong.
agruetz
Nov 26 2006, 10:30 PM
rpm -e the perl files. But this could be dangerous and break other things as well. But in theory you should be able to rpm -e perl and then up2date perl and install it again and everything should be good.
angryadmin
Nov 27 2006, 03:50 AM
I tried that but I get tons of these errors when trying to uninstall perl and it of course doesn't uninstall:
perl(POSIX) is needed by (installed) automake17-1.7.9-5.noarch
perl(POSIX) is needed by (installed) mod_perl-1.99_16-4.i386
perl(POSIX) is needed by (installed) autoconf-2.59-5.noarch
perl(POSIX) is needed by (installed) automake16-1.6.3-5.noarch
perl(POSIX) is needed by (installed) spamassassin-3.0.6-1.el4.i386
angryadmin
Nov 27 2006, 04:09 AM
Ahh, ended up doing a:
rpm -e --nodeps perl
Then running up2date, all better now.
Thanks so much for your help!!
agruetz
Nov 27 2006, 06:28 PM
Yea I was going to tell you to read the manual. Glad I could be of help. My control panel of expertise

.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.