Re: File::HomeDir not found - results in bogus tarball
[email protected] (Adam Kennedy) Fri, 09 Feb 2007 11:22:04 +1100
| Newsgroups | perl.cpan.discuss |
|---|---|
| Message-ID | <[email protected]> |
Your CPAN mirror is very stale. File::HomeDir 0.58 was deleted long ago. The current version is File::HomeDir 0.64. It is a pity that CPAN.pm doesn't support mirror staleness checking yet... Andreas, this is another of the features I'm going to be pushing for in the 5.10.1 timeline. Take a look at Mirror::YAML for the implementation of mirror selection smarts we are currently using in JSAN. Adam K [email protected] wrote: > When attempting to install Bundle::CPAN in cygwin, I get this error: > > -------------------- > ... > Running install for module File::HomeDir > Running make for A/AD/ADAMK/File-HomeDir-0.58.tar.gz > > Trying with "/usr/bin/lynx -source" to get > http://cpan.pair.com/authors/id/A/AD/ADAMK/File- > HomeDir-0.58.tar.gz > > Checksum mismatch for distribution file. Please investigate. > > Distribution id = A/AD/ADAMK/File-HomeDir-0.58.tar.gz > CPAN_USERID ADAMK (Adam Kennedy <[email protected]>) > CALLED_FOR File::HomeDir > CONTAINSMODS File::HomeDir File::HomeDir::Darwin > File::HomeDir::Windows File::HomeDir::MacOS9 File::HomeDir::Unix > MD5_STATUS > incommandcolor 1 > localfile /e/cpan/sources/authors/id/A/AD/ADAMK/File- > HomeDir-0.58.tar.gz > > I'd recommend removing > /e/cpan/sources/authors/id/A/AD/ADAMK/File-HomeDir-0.58.tar.gz. Its > MD5 > checksum is incorrect. Maybe you have configured your 'urllist' with > a bad URL. Please check this array with 'o conf urllist', and > > retry. > cpan> o conf urllist > urllist > http://cpan.pair.com/ > http://mirrors.kernel.org/cpan/ > http://www.mednor.net/ftp/pub/mirrors/CPAN/ > http://mirror.sit.wisc.edu/pub/CPAN/ > Type 'o conf' to view configuration edit options > > -------------------- > > cat /e/cpan/sources/authors/id/A/AD/ADAMK/File-HomeDir-0.58.tar > yields: > > <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> > <HTML><HEAD> > <TITLE>404 Not Found</TITLE> > </HEAD><BODY> > <H1>Not Found</H1> > The requested URL /authors/id/A/AD/ADAMK/File-HomeDir-0.58.tar.gz was > not found on this server.<P> > </BODY></HTML> > > > This has happened with several sites (including those above), which > prompts two questions: > > 1) What has happened to File::HomeDir? Has it been removed from CPAN? > > 2) Why do some mirrors return a bogus .gz file? Is there anything > that can be done to return a 404 instead of this automatically > generated tarball? (Some sites correctly DO return a 404.) > > Marco Moreno >