Autor Thema: Problem mit cpan auf Raspberry Wheezy  (Gelesen 347 mal)

Offline Fritz Muster

  • Full Member
  • ***
  • Beiträge: 153
Problem mit cpan auf Raspberry Wheezy
« am: 05 Juli 2018, 22:25:03 »
Hallo in die Runde,

basierend auf diesem Thread versuche ich gerade auf meinen pi mit wheezy den Befehl

cpan IO::Socket::Timeout
auszuführen. Leider will das Ganze nicht funktionieren. Ich bekomme folgende Ausgabe

pi@raspberrypi ~ $ cpan IO::Socket::Timeout
Going to read '/home/pi/.cpan/Metadata'
  Database was generated on Tue, 23 May 2017 09:29:02 GMT
Fetching with LWP:
http://ftp.belnet.be/ftp.cpan.org/authors/01mailrc.txt.gz
LWP failed with code[404] message[Not Found]

Trying with
    /usr/bin/wget -O "/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908"
to get
    http://ftp.belnet.be/ftp.cpan.org/authors/01mailrc.txt.gz
--2018-07-05 22:20:36--  http://ftp.belnet.be/ftp.cpan.org/authors/01mailrc.txt.gz
Resolving ftp.belnet.be (ftp.belnet.be)... 193.190.67.98, 2001:6a8:3c80:2::21
Connecting to ftp.belnet.be (ftp.belnet.be)|193.190.67.98|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-07-05 22:20:36 ERROR 404: Not Found.


    Function system("/usr/bin/wget -O "/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908" "http://ftp.belnet.be/ftp.cpan.org/authors/01mailrc.txt.gz" ")
    returned status 8 (wstat 2048), left
/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908 with size 0
    Warning: no success downloading '/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908'. Giving up on it.
Fetching with LWP:
http://mirror.ukhost4u.com/CPAN/authors/01mailrc.txt.gz
LWP failed with code[404] message[Not Found]

Trying with
    /usr/bin/wget -O "/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908"
to get
    http://mirror.ukhost4u.com/CPAN/authors/01mailrc.txt.gz
--2018-07-05 22:20:37--  http://mirror.ukhost4u.com/CPAN/authors/01mailrc.txt.gz
Resolving mirror.ukhost4u.com (mirror.ukhost4u.com)... 91.206.183.88
Connecting to mirror.ukhost4u.com (mirror.ukhost4u.com)|91.206.183.88|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-07-05 22:20:38 ERROR 404: Not Found.


    Function system("/usr/bin/wget -O "/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908" "http://mirror.ukhost4u.com/CPAN/authors/01mailrc.txt.gz" ")
    returned status 8 (wstat 2048), left
/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908 with size 0
    Warning: no success downloading '/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908'. Giving up on it.
Fetching with LWP:
http://ftp.u-tx.net/CPAN/authors/01mailrc.txt.gz
LWP failed with code[500] message[Can't connect to ftp.u-tx.net:80 (Bad hostname)]

Trying with
    /usr/bin/wget -O "/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908"
to get
    http://ftp.u-tx.net/CPAN/authors/01mailrc.txt.gz
--2018-07-05 22:20:38--  http://ftp.u-tx.net/CPAN/authors/01mailrc.txt.gz
Resolving ftp.u-tx.net (ftp.u-tx.net)... failed: Name or service not known.
wget: unable to resolve host address `ftp.u-tx.net'

    Function system("/usr/bin/wget -O "/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908" "http://ftp.u-tx.net/CPAN/authors/01mailrc.txt.gz" ")
    returned status 4 (wstat 1024), left
/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908 with size 0
    Warning: no success downloading '/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908'. Giving up on it.

Trying with
    /usr/bin/wget -O "/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908"
to get
    http://ftp.belnet.be/ftp.cpan.org/authors/01mailrc.txt.gz
--2018-07-05 22:20:39--  http://ftp.belnet.be/ftp.cpan.org/authors/01mailrc.txt.gz
Resolving ftp.belnet.be (ftp.belnet.be)... 193.190.67.98, 2001:6a8:3c80:2::21
Connecting to ftp.belnet.be (ftp.belnet.be)|193.190.67.98|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-07-05 22:20:39 ERROR 404: Not Found.


    Function system("/usr/bin/wget -O "/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908" "http://ftp.belnet.be/ftp.cpan.org/authors/01mailrc.txt.gz" ")
    returned status 8 (wstat 2048), left
/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908 with size 0
   
Trying with
    /usr/bin/wget -O "/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908"
to get
    http://mirror.ukhost4u.com/CPAN/authors/01mailrc.txt.gz
--2018-07-05 22:20:40--  http://mirror.ukhost4u.com/CPAN/authors/01mailrc.txt.gz
Resolving mirror.ukhost4u.com (mirror.ukhost4u.com)... 91.206.183.88
Connecting to mirror.ukhost4u.com (mirror.ukhost4u.com)|91.206.183.88|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-07-05 22:20:40 ERROR 404: Not Found.


    Function system("/usr/bin/wget -O "/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908" "http://mirror.ukhost4u.com/CPAN/authors/01mailrc.txt.gz" ")
    returned status 8 (wstat 2048), left
/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908 with size 0
   
Trying with
    /usr/bin/wget -O "/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908"
to get
    http://ftp.u-tx.net/CPAN/authors/01mailrc.txt.gz
--2018-07-05 22:20:40--  http://ftp.u-tx.net/CPAN/authors/01mailrc.txt.gz
Resolving ftp.u-tx.net (ftp.u-tx.net)... failed: Name or service not known.
wget: unable to resolve host address `ftp.u-tx.net'

    Function system("/usr/bin/wget -O "/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908" "http://ftp.u-tx.net/CPAN/authors/01mailrc.txt.gz" ")
    returned status 4 (wstat 1024), left
/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908 with size 0
    Warning: no success downloading '/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908'. Giving up on it.
No external ftp command available

Fetching with LWP:
http://ftp.belnet.be/ftp.cpan.org/authors/01mailrc.txt.gz
LWP failed with code[404] message[Not Found]

Trying with
    /usr/bin/wget -O "/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908"
to get
    http://ftp.belnet.be/ftp.cpan.org/authors/01mailrc.txt.gz
--2018-07-05 22:20:41--  http://ftp.belnet.be/ftp.cpan.org/authors/01mailrc.txt.gz
Resolving ftp.belnet.be (ftp.belnet.be)... 193.190.67.98, 2001:6a8:3c80:2::21
Connecting to ftp.belnet.be (ftp.belnet.be)|193.190.67.98|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-07-05 22:20:41 ERROR 404: Not Found.


    Function system("/usr/bin/wget -O "/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908" "http://ftp.belnet.be/ftp.cpan.org/authors/01mailrc.txt.gz" ")
    returned status 8 (wstat 2048), left
/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908 with size 0
    Warning: no success downloading '/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908'. Giving up on it.
Fetching with LWP:
http://mirror.ukhost4u.com/CPAN/authors/01mailrc.txt.gz
LWP failed with code[404] message[Not Found]

Trying with
    /usr/bin/wget -O "/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908"
to get
    http://mirror.ukhost4u.com/CPAN/authors/01mailrc.txt.gz
--2018-07-05 22:20:42--  http://mirror.ukhost4u.com/CPAN/authors/01mailrc.txt.gz
Resolving mirror.ukhost4u.com (mirror.ukhost4u.com)... 91.206.183.88
Connecting to mirror.ukhost4u.com (mirror.ukhost4u.com)|91.206.183.88|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-07-05 22:20:42 ERROR 404: Not Found.


    Function system("/usr/bin/wget -O "/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908" "http://mirror.ukhost4u.com/CPAN/authors/01mailrc.txt.gz" ")
    returned status 8 (wstat 2048), left
/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908 with size 0
    Warning: no success downloading '/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908'. Giving up on it.
Fetching with LWP:
http://ftp.u-tx.net/CPAN/authors/01mailrc.txt.gz
LWP failed with code[500] message[Can't connect to ftp.u-tx.net:80 (Bad hostname)]

Trying with
    /usr/bin/wget -O "/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908"
to get
    http://ftp.u-tx.net/CPAN/authors/01mailrc.txt.gz
--2018-07-05 22:20:43--  http://ftp.u-tx.net/CPAN/authors/01mailrc.txt.gz
Resolving ftp.u-tx.net (ftp.u-tx.net)... failed: Name or service not known.
wget: unable to resolve host address `ftp.u-tx.net'

    Function system("/usr/bin/wget -O "/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908" "http://ftp.u-tx.net/CPAN/authors/01mailrc.txt.gz" ")
    returned status 4 (wstat 1024), left
/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908 with size 0
    Warning: no success downloading '/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908'. Giving up on it.

Trying with
    /usr/bin/wget -O "/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908"
to get
    http://ftp.belnet.be/ftp.cpan.org/authors/01mailrc.txt.gz
--2018-07-05 22:20:44--  http://ftp.belnet.be/ftp.cpan.org/authors/01mailrc.txt.gz
Resolving ftp.belnet.be (ftp.belnet.be)... 193.190.67.98, 2001:6a8:3c80:2::21
Connecting to ftp.belnet.be (ftp.belnet.be)|193.190.67.98|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-07-05 22:20:44 ERROR 404: Not Found.


    Function system("/usr/bin/wget -O "/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908" "http://ftp.belnet.be/ftp.cpan.org/authors/01mailrc.txt.gz" ")
    returned status 8 (wstat 2048), left
/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908 with size 0
   
Trying with
    /usr/bin/wget -O "/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908"
to get
    http://mirror.ukhost4u.com/CPAN/authors/01mailrc.txt.gz
--2018-07-05 22:20:44--  http://mirror.ukhost4u.com/CPAN/authors/01mailrc.txt.gz
Resolving mirror.ukhost4u.com (mirror.ukhost4u.com)... 91.206.183.88
Connecting to mirror.ukhost4u.com (mirror.ukhost4u.com)|91.206.183.88|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-07-05 22:20:45 ERROR 404: Not Found.


    Function system("/usr/bin/wget -O "/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908" "http://mirror.ukhost4u.com/CPAN/authors/01mailrc.txt.gz" ")
    returned status 8 (wstat 2048), left
/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908 with size 0
   
Trying with
    /usr/bin/wget -O "/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908"
to get
    http://ftp.u-tx.net/CPAN/authors/01mailrc.txt.gz
--2018-07-05 22:20:45--  http://ftp.u-tx.net/CPAN/authors/01mailrc.txt.gz
Resolving ftp.u-tx.net (ftp.u-tx.net)... failed: Name or service not known.
wget: unable to resolve host address `ftp.u-tx.net'

    Function system("/usr/bin/wget -O "/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908" "http://ftp.u-tx.net/CPAN/authors/01mailrc.txt.gz" ")
    returned status 4 (wstat 1024), left
/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908 with size 0
    Warning: no success downloading '/home/pi/.cpan/sources/authors/01mailrc.txt.gz.tmp8908'. Giving up on it.
No external ftp command available

Please check, if the URLs I found in your configuration file
(http://ftp.belnet.be/ftp.cpan.org/, http://mirror.ukhost4u.com/CPAN/,
http://ftp.u-tx.net/CPAN/) are valid. The urllist can be edited. E.g. with
'o conf urllist push ftp://myurl/'

Could not fetch authors/01mailrc.txt.gz

Hat jemand eine Idee woran das liegen könnte?

Danke und Grüße

Fritz
Raspberry Pi Modell B 512MB, Raspbian Debian Wheezy, Fhem 5.8, DBlog SQLite
HMLAN, Jeelink Clone, Selbstbau nanoCULMAX/433IT, ArduCounter
HM Sensoren/Aktoren ,Technoline TX 29 DTH-IT, TFA 30.3155WD, MAX!
Hour Counter, Moon, Weather, EletricityCounter, Statistics, Charting Frontend, TabletUI, Modbus

Offline betateilchen

  • Developer
  • Hero Member
  • ****
  • Beiträge: 15220
  • s/fhem\.cfg/configDB/g
Antw:Problem mit cpan auf Raspberry Wheezy
« Antwort #1 am: 06 Juli 2018, 09:09:31 »
steht doch im Klartext in Deinem Log...

2018-07-05 22:20:36 ERROR 404: Not Found.
Die angefragten Server können die gesuchten Dateien nicht liefern, weil sie dort nicht vorhanden sind.

Warum schlägst Du Dich überhaupt mit CPAN rum, wenn es für Dein Betriebssystem ein fertiges Debian-Paket gibt, das Du einfach über die Paketverwaltung installieren kannst?

apt-get install libio-socket-timeout-perl
(als root ausführen!)
-----------------------
Unaufgeforderte Anfragen per email werden von mir nicht beantwortet. Dafür ist das Forum da.
-----------------------
Nächster Hamburg-Stammtisch: 14.12.2018 - 18:30 Uhr

 

decade-submarginal