RedHat 9: Install problems

Discussion in 'Installation/Configuration' started by AaronNGray, Mar 22, 2006.

  1. AaronNGray

    AaronNGray New Member

    Terrible PERL problems

    PERL seems to be having terible problem installing CPAN :-

    ~~~~
    cpan> install Bundle::CPAN
    CPAN: Storable loaded ok
    Going to read #/Metadata
    Database was generated on Sat, 25 Mar 2006 15:09:22 GMT
    CPAN: Digest::MD5 loaded ok
    Checksum for #/sources/authors/id/A/AN/ANDK/Bundle-CPAN-1.85.tar.gz ok
    Scanning cache #/build for sizes
    gzip: #/sources/authors/id/A/AN/ANDK/Bundle-CPAN-1.85.tar.gz: No such file or directory
    gzip: #/sources/authors/id/A/AN/ANDK/Bundle-CPAN-1.85.tar.gz: No such file or directory
    /bin/tar: #/sources/authors/id/A/AN/ANDK/Bundle-CPAN-1.85.tar.gz: Cannot open: No such file or directory
    /bin/tar: Error is not recoverable: exiting now
    Using Tar:/bin/tar xvf #/sources/authors/id/A/AN/ANDK/Bundle-CPAN-1.85.tar.gz:
    /bin/tar: #/sources/authors/id/A/AN/ANDK/Bundle-CPAN-1.85.tar.gz: Cannot open: No such file or directory
    /bin/tar: Error is not recoverable: exiting now
    Couldn't untar #/sources/authors/id/A/AN/ANDK/Bundle-CPAN-1.85.tar.gz
    ~~~~

    How can I reinstall PERL or get it back to a usable state ?

    Aaron
     
  2. AaronNGray

    AaronNGray New Member

    Regarding PERL

    I am not at all familurar with PERL but it seems its CPAN.pm is out of date and its MetaData is out of date or incorrect.

    I am thinking that this server (our backup and development server) may well need reinstalling from scratch. We are stuck with RedHat 9 rather than Fedora 1 as the video card a Cirrus Logic one is not supported by Fedora's X.org only by RedHat 9's XFree86.

    I am thinking it would be good to get a How to together for ISPConfig on RedHat 9. We have another main server that I want to put ISPConfig as well.

    Thanks for all your help so far,

    Aaron
     
  3. falko

    falko Super Moderator Howtoforge Staff

    Why did you try to install Bundle::CPAN? You must install Pod::Simple. Please disable the firewall before you do this, otherwise the Perl shell might have problems downloading the software.
     
  4. AaronNGray

    AaronNGray New Member

    Pod::Simple install problems

    I tried but it required Pod::Escapes

    ~~~~
    [[email protected] Pod-Simple-2.06]# perl Makefile.PL
    Warning: prerequisite Pod::Escapes 1.03 not found.
    Writing Makefile for Pod::Simple
    [[email protected] Pod-Simple-2.06]# perl -MCPAN -e shell

    cpan shell -- CPAN exploration and modules installation (v1.61)
    ReadLine support available (try 'install Bundle::CPAN')

    cpan> install Pod::Escapes
    CPAN: Storable loaded ok
    CPAN: LWP::UserAgent loaded ok
    Fetching with LWP:
    ftp://ftp.mirror.ac.uk/sites/ftp.funet.fi/pub/languages/perl/CPAN/authors/01mailrc.txt.gz
    Going to read #/sources/authors/01mailrc.txt.gz
    Fetching with LWP:
    ftp://ftp.mirror.ac.uk/sites/ftp.funet.fi/pub/languages/perl/CPAN/modules/02packages.details.txt.gz
    Going to read #/sources/modules/02packages.details.txt.gz
    Database was generated on Sat, 25 Mar 2006 15:09:22 GMT

    There's a new CPAN.pm version (v1.87) available!
    [Current version is v1.61]
    You might want to try
    install Bundle::CPAN
    reload cpan
    without quitting the current session. It should be a seamless upgrade
    while we are running...

    Fetching with LWP:
    ftp://ftp.mirror.ac.uk/sites/ftp.funet.fi/pub/languages/perl/CPAN/modules/03modlist.data.gz
    Going to read #/sources/modules/03modlist.data.gz
    Going to write #/Metadata
    Running install for module Pod::Escapes
    Running make for S/SB/SBURKE/Pod-Escapes-1.04.tar.gz
    Fetching with LWP:
    ftp://ftp.mirror.ac.uk/sites/ftp.fu...uthors/id/S/SB/SBURKE/Pod-Escapes-1.04.tar.gz
    CPAN: Digest::MD5 loaded ok
    Fetching with LWP:
    ftp://ftp.mirror.ac.uk/sites/ftp.funet.fi/pub/languages/perl/CPAN/authors/id/S/SB/SBURKE/CHECKSUMS
    Checksum for #/sources/authors/id/S/SB/SBURKE/Pod-Escapes-1.04.tar.gz ok
    Scanning cache #/build for sizes
    Can't stat tmp (No such file or directory) at /usr/lib/perl5/5.8.0/CPAN.pm line 3828
    gzip: #/sources/authors/id/S/SB/SBURKE/Pod-Escapes-1.04.tar.gz: No such file or directory
    gzip: #/sources/authors/id/S/SB/SBURKE/Pod-Escapes-1.04.tar.gz: No such file or directory
    /bin/tar: #/sources/authors/id/S/SB/SBURKE/Pod-Escapes-1.04.tar.gz: Cannot open: No such file or directory
    /bin/tar: Error is not recoverable: exiting now
    Using Tar:/bin/tar xvf #/sources/authors/id/S/SB/SBURKE/Pod-Escapes-1.04.tar.gz:
    /bin/tar: #/sources/authors/id/S/SB/SBURKE/Pod-Escapes-1.04.tar.gz: Cannot open: No such file or directory
    /bin/tar: Error is not recoverable: exiting now
    Couldn't untar #/sources/authors/id/S/SB/SBURKE/Pod-Escapes-1.04.tar.gz
    ~~~~

    Maybe its a firewall problem.

    Aaron
     
  5. falko

    falko Super Moderator Howtoforge Staff

    Did you disable the firewall as I suggested?
     
  6. AaronNGray

    AaronNGray New Member

    install Pod::Simple

    I am getting the following with the firewall turned off :-

    ~~~~
    cpan> install Pod::Simple
    CPAN: Storable loaded ok
    Going to read #/Metadata
    Database was generated on Sat, 25 Mar 2006 15:09:22 GMT
    CPAN: LWP::UserAgent loaded ok
    Fetching with LWP:
    ftp://ftp.mirror.ac.uk/sites/ftp.funet.fi/pub/languages/perl/CPAN/authors/01mailrc.txt.gz
    Going to read #/sources/authors/01mailrc.txt.gz
    Fetching with LWP:
    ftp://ftp.mirror.ac.uk/sites/ftp.funet.fi/pub/languages/perl/CPAN/modules/02packages.details.txt.gz
    Going to read #/sources/modules/02packages.details.txt.gz
    Database was generated on Mon, 27 Mar 2006 14:45:11 GMT

    There's a new CPAN.pm version (v1.87) available!
    [Current version is v1.61]
    You might want to try
    install Bundle::CPAN
    reload cpan
    without quitting the current session. It should be a seamless upgrade
    while we are running...

    Fetching with LWP:
    ftp://ftp.mirror.ac.uk/sites/ftp.funet.fi/pub/languages/perl/CPAN/modules/03modlist.data.gz
    Going to read #/sources/modules/03modlist.data.gz
    Going to write #/Metadata
    Running install for module Pod::Simple
    Running make for A/AR/ARANDAL/Pod-Simple-3.04.tar.gz
    Fetching with LWP:
    ftp://ftp.mirror.ac.uk/sites/ftp.fu...uthors/id/A/AR/ARANDAL/Pod-Simple-3.04.tar.gz
    CPAN: Digest::MD5 loaded ok
    Fetching with LWP:
    ftp://ftp.mirror.ac.uk/sites/ftp.funet.fi/pub/languages/perl/CPAN/authors/id/A/AR/ARANDAL/CHECKSUMS
    Checksum for #/sources/authors/id/A/AR/ARANDAL/Pod-Simple-3.04.tar.gz ok
    Scanning cache #/build for sizes
    gzip: #/sources/authors/id/A/AR/ARANDAL/Pod-Simple-3.04.tar.gz: No such file or directory
    gzip: #/sources/authors/id/A/AR/ARANDAL/Pod-Simple-3.04.tar.gz: No such file or directory
    /bin/tar: #/sources/authors/id/A/AR/ARANDAL/Pod-Simple-3.04.tar.gz: Cannot open: No such file or directory
    /bin/tar: Error is not recoverable: exiting now
    Using Tar:/bin/tar xvf #/sources/authors/id/A/AR/ARANDAL/Pod-Simple-3.04.tar.gz:
    /bin/tar: #/sources/authors/id/A/AR/ARANDAL/Pod-Simple-3.04.tar.gz: Cannot open: No such file or directory
    /bin/tar: Error is not recoverable: exiting now
    Couldn't untar #/sources/authors/id/A/AR/ARANDAL/Pod-Simple-3.04.tar.gz
    ~~~~~

    Aaron
     
  7. falko

    falko Super Moderator Howtoforge Staff

    Please try to install Pod::Simple manually. Download it from CPAN.org, extract it, go to the Pod::Simple directory and run this:

    Code:
    perl Makefile.PL
    make
    make install
     
  8. AaronNGray

    AaronNGray New Member

    Circles

    This is sending mke round in circles. It needs Pod::Escape and pod2man

    Aaron
     
  9. falko

    falko Super Moderator Howtoforge Staff

    Looks like dependency hell. :(
     
  10. AaronNGray

    AaronNGray New Member

    Dependancy Hell

    Yes, I am not really familuar with Perl either.

    Either I wipe Redhat 9 and start again or try to reinstall Perl, maybe easier.

    I was thinging if I can pose a proper question to put a question on comp.lang.perl.moderated and/or alt.perl.

    Aaron
     
  11. falko

    falko Super Moderator Howtoforge Staff

    I guess there's nothing more difficult than reinstalling Perl. You'll break lots of dependencies... :(
     
  12. nenad

    nenad Member

    Hi,

    how can I add path to script or to whatever to root PATH variable (on Debian)?

    and keep it permanent?

    If I just execute PATH=/aaaaa/bbbb/cccc/ then it replaces current PATH, and besides that it's lost after logout/new login
     
  13. martinfst

    martinfst Member Moderator

    Set the path in your login script. If you're using bash, edit $HOME/.bashrc. Do
    Code:
    man bash
    and somewhere you'll find a lot of info which startup scripts the login process reads. There are multiple scripts you can add/modify this.
     
  14. nenad

    nenad Member

    I needed quick solution last night.

    And it is:
    Code:
    In /root/.bash_profile
    
    PATH=$PATH:/aaaaa/bbbb/cccc/
    export PATH
    
    Then log out and login again.
    
    
     

Share This Page