LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-21-2004, 05:28 PM   #1
emilioestevezz
Member
 
Registered: Jul 2003
Posts: 38

Rep: Reputation: 15
If i remove /root/cpan do i lost all installed modules??


Hi, im kinda new using cpan, the problem is that is not working, i mean whenever i want to install any new module, i get connection timed out, conection refused, even when i have port 21 opened at the firewall, and i īve setted up ftp to run in passive mode. So as at cpan mailing i canīt get any help, i want to remove cpan directory and reinstall it again, but ill only do this if im not loosing installed modules with the removal.

Can anyone help me with this??

Thanks.
Emilio
 
Old 09-21-2004, 05:45 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Do you mean /root/.cpan?

You should just be able to blow it away and start again fresh. If you want to be 100% sure you don't lose any sources you downloaded then:
mv /root/.cpan /root/cpan-bak
 
Old 09-22-2004, 07:34 AM   #3
emilioestevezz
Member
 
Registered: Jul 2003
Posts: 38

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by david_ross
Do you mean /root/.cpan?

You should just be able to blow it away and start again fresh. If you want to be 100% sure you don't lose any sources you downloaded then:
mv /root/.cpan /root/cpan-bak
Maybe you can help me with this, when i type install MD5 or whatever module i might need to install this is the output:

Resolving mirror.sit.wisc.edu... 144.92.104.38
Connecting to mirror.sit.wisc.edu[144.92.104.38]:21... failed: Connection refused.

System call "/usr/bin/wget -O - "ftp://mirror.sit.wisc.edu/pub/CPAN/authors/01mailrc.txt.gz" > /root/.cpan/sources/authors/01mailrc.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't exist
Issuing "/usr/bin/ftp -n"
ftp: connect: Connection refused
Not connected.
Local directory now /root/.cpan/sources/authors
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Bad luck... Still failed!
Can't access URL ftp://mirrors.bannerlandia.com.ar/mi...mailrc.txt.gz.

Issuing "/usr/bin/ftp -n"
ftp: connect: Connection refused
Not connected.
Local directory now /root/.cpan/sources/authors
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Bad luck... Still failed!
Can't access URL ftp://ftp.linux.org.ar/pub/cpan/auth...mailrc.txt.gz.

even changing the repository, iīve tried lots but he result is quite the same.

What can i do???

Emilio
 
Old 09-22-2004, 02:43 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Can you ftp to that address normally without using cpan?
 
Old 09-22-2004, 08:12 PM   #5
emilioestevezz
Member
 
Registered: Jul 2003
Posts: 38

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by david_ross
Can you ftp to that address normally without using cpan?
Nope, it says: Connection Refused, but how is this possible, in my firewall iīve got port 21 opened?
 
Old 09-25-2004, 11:20 AM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Perhaps something else along the line is blocking you. Try:
ftp ftp.kernel.org
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
installing CPAN modules andy11983 Linux - Software 1 11-30-2004 12:28 PM
remove the modules alaios Linux - General 3 11-17-2004 07:57 AM
Conf.modules Vs Modules.conf Issue, lost eth0 initialization LinuxFreebie41 Linux - General 3 11-04-2004 06:02 AM
perl modules problems CPAN tardigrade Linux - Software 6 09-02-2004 12:29 PM
Canīt download perl modules with cpan emilioestevezz Linux - Networking 1 08-25-2004 09:51 AM


All times are GMT -5. The time now is 11:15 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration