Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re^9: broke my perl? :(

by rowdog (Curate)
on Aug 25, 2010 at 18:03 UTC ( #857260=note: print w/replies, xml ) Need Help??

in reply to Re^8: broke my perl? :(
in thread broke my perl? :(

Then your system perl is still broken because /usr/bin/perl should be an ELF executable. I suggest you move your script out of the way and try apt-get --reinstall perl again.

My advice is to always leave the system perl alone and install your own perl for your own use in a separate directory.

Update: forgot -- on --reinstall as I usually use aptitude.

Replies are listed 'Best First'.
Re^10: broke my perl? :(
by megnetz (Novice) on Aug 27, 2010 at 08:04 UTC
    Are you sure this is necessary? Can I test if my system perl is broken? Everything seems to work fine.

      I'm not sure that it's necessary to fix your Ubuntu installation but you will probably run into problems down the road if you don't. It used to be that your package manager would be broken by now but apt has been moving away from the perl dependency so you might not ever notice. At the very least, perl programs installed through the package manager will be broken.

      You can check the system perl with
      /usr/bin/perl -v
      which should say something like
      This is perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi
      You can also check to see what kind of file it is with
      file /usr/bin/perl
      which should say something like
      /usr/bin/perl: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dy +namically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
      If your system doesn't give similar responses, your system perl is broken.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://857260]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2021-02-28 10:47 GMT
Find Nodes?
    Voting Booth?

    No recent polls found