Closed boozook closed 8 years ago
Also if duckpan -e -v server
:
Emptying DuckPAN cache...
DuckPAN cache emptied
Checking for DuckPAN requirements...
Checking perl version...
v5.18.2
Checking for latest App::DuckPAN...
App::DuckPAN version: 0.203
installing DDG at /Users/ak/perl5/lib/perl5/App/DuckPAN.pm line 568.
Checking for latest DDG Perl package...
DDG version: 0.167
Checking for ssh...
/usr/bin/ssh
Checking for git...
/usr/bin/git
Loading Instant Answers...
add_country_alias(): alias already in use: Laos
at /System/Library/Perl/5.18/Locale/Codes/Country.pm line 72.
add_country_alias(): alias already in use: Russia
at /System/Library/Perl/5.18/Locale/Codes/Country.pm line 72.
- DDG::Goodie::ABC (Words)
- DDG::Goodie::AltCalendars (Words)
...
...
Hostname is: https://duckduckgo.com
Checking asset cache...
[DDG Homepage] requesting from: https://duckduckgo.com/...
[FATAL] [DDG Homepage] request failed with response: 500 Can't verify SSL peers without knowing which Certificate Authorities to trust
And duckpan query
work great.
@fzzr- thanks for reporting this!
We need to update the docs...
The missing packages that aren't found on CPAN are DuckDuckGo Packages hosted on http://duckpan.org.
You need to run dzil listdeps | cpanm --mirror http://duckpan.org
and those should install.
The SSL error is different and I'm not entirely sure of the fix. Judging by this it looks like install Mozilla::CA
might help.
@zachthompson any ideas on the SSL?
Thank you very much!
dzil listdeps | cpanm --mirror http://duckpan.org
;cpanm Mozilla::CA
~/Developer/Projects/Duck/Goodies > (7) duckpan installdeps
Found a dist.ini, suggesting a Dist::Zilla distribution
Everything fine!
~/Developer/Projects/Duck/Goodies > (7) dzil listdeps | cpanm --mirror http://duckpan.org
warning: refname '1152' is ambiguous.
[IAChangelog] Failed to look up metadata for DDG::Goodie::GuitarChords at /Users/ak/perl5/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Delegation.pm line 110.
! Finding [IAChangelog] on cpanmetadb failed.
! Finding [IAChangelog] () on mirror http://duckpan.org failed.
! Couldn't find module or a distribution [IAChangelog]
! Finding Failed on cpanmetadb failed.
! Finding Failed () on mirror http://duckpan.org failed.
! Couldn't find module or a distribution Failed
--> Working on to
Fetching http://duckpan.org/authors/id/S/SP/SPROUT/Tie-Util-0.04.tar.gz ... OK
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
! Failed to unpack Tie-Util-0.04.tar.gz: no directory
! Failed to fetch distribution Tie-Util-0.04
! Finding look on cpanmetadb failed.
! Finding look () on mirror http://duckpan.org failed.
! Couldn't find module or a distribution look
! Finding up on cpanmetadb failed.
! Finding up () on mirror http://duckpan.org failed.
! Couldn't find module or a distribution up
! Finding metadata on cpanmetadb failed.
! Finding metadata () on mirror http://duckpan.org failed.
! Couldn't find module or a distribution metadata
skipping T/TI/TIMB/perl5.004_04.tar.gz
! Finding DDG::Goodie::GuitarChords on cpanmetadb failed.
--> Working on DDG::Goodie::GuitarChords
Fetching http://duckpan.org/authors/id/M/MG/MGA/DDG-GoodieBundle-OpenSourceDuckDuckGo-1137.tar.gz ... OK
Configuring DDG-GoodieBundle-OpenSourceDuckDuckGo-1137 ... OK
Version string '%s' contains invalid data; ignoring: '%s'1.52 at /Users/ak/Developer/Perl/perl5/perlbrew/bin/cpanm line 457, <$handle> line 14.
==> Found dependencies: Convert::Color::Library, UUID::Tiny, DateTime::Calendar::Chinese, DateTime::Event::Chinese
--> Working on Convert::Color::Library
Fetching http://duckpan.org/authors/id/P/PE/PEVANS/Convert-Color-Library-0.05.tar.gz ... OK
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
! Failed to unpack Convert-Color-Library-0.05.tar.gz: no directory
! Failed to fetch distribution Convert-Color-Library-0.05
--> Working on UUID::Tiny
Fetching http://duckpan.org/authors/id/C/CA/CAUGUSTIN/UUID-Tiny-1.04.tar.gz ... OK
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
! Failed to unpack UUID-Tiny-1.04.tar.gz: no directory
! Failed to fetch distribution UUID-Tiny-1.04
--> Working on DateTime::Calendar::Chinese
Fetching http://duckpan.org/authors/id/D/DM/DMAKI/DateTime-Calendar-Chinese-1.00.tar.gz ... OK
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
! Failed to unpack DateTime-Calendar-Chinese-1.00.tar.gz: no directory
! Failed to fetch distribution DateTime-Calendar-Chinese-1.00
--> Working on DateTime::Event::Chinese
Fetching http://duckpan.org/authors/id/D/DM/DMAKI/DateTime-Event-Chinese-1.00.tar.gz ... OK
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
! Failed to unpack DateTime-Event-Chinese-1.00.tar.gz: no directory
! Failed to fetch distribution DateTime-Event-Chinese-1.00
Version string '%s' contains invalid data; ignoring: '%s'1.52 at /Users/ak/Developer/Perl/perl5/perlbrew/bin/cpanm line 457, <$handle> line 14.
! Installing the dependencies failed: Module 'DateTime::Calendar::Chinese' is not installed, Module 'DateTime::Event::Chinese' is not installed, Module 'Convert::Color::Library' is not installed, Module 'UUID::Tiny' is not installed
! Bailing out the installation for DDG-GoodieBundle-OpenSourceDuckDuckGo-1137.
These aren't DuckDuckGo dependencies so you don't need to specify the mirror as DuckPAN. Using duckpan installdeps
should be all you need to run.
Sorry, IAChangelog is a DDG module but you don't need it. It's only required by staff who release the repo.
Installdeps should only be reporting modules required by Instant Answers.
If it's not then that's a separate issue but developers should only need to run installdeps.
Env:
Steps for reproduce:
cd
;duckpan new MyDuckHelloWorld::Spice
;duckpan -v installdeps
But I have already installed all successful:
Sorry for the long listing.