Ticket #99 (closed issue: fixed)

Opened 9 months ago

Last modified 9 months ago

Failed install bundle::CPAN

Reported by: christian.seifert@gmail.com Assigned to: kindlund
Priority: high Milestone: 0.9
Component: Installation Version: 0.99
Severity: none Keywords: Bundle::CPAN, installation
Cc:

Description

I got this in an email from Christian. -Xeno

I am just going through the HoneyClient install...I am at step install bundle:CPAN step...
 
it just get stuck at the following:
CPAN-1.92/distroprefs/RMUHLE.classes.yml
CPAN-1.92/distroprefs/NUFFIN.Catalyst-Plugin-Session.yml
CPAN-1.92/distroprefs/KCLARK.SQL-Translator.yml
CPAN-1.92/distroprefs/JHOBLITT.DateTime-Format-ISO8601.yml
CPAN-1.92/distroprefs/GAAS.libwww.yml
CPAN-1.92/distroprefs/FHOXH.Test-Reporter.yml
CPAN-1.92/distroprefs/JJORE.AI-Prolog.yml
CPAN-1.92/distroprefs/HMBRAND.Spreadsheet-Read.yml
CPAN-1.92/distroprefs/RUZ.DBIx-SearchBuilder.yml 
CPAN-1.92/distroprefs/BRADFITZ.Perlbal.yml
CPAN-1.92/distroprefs/QANTINS.BitTorrent.yml
CPAN-1.92/distroprefs/LZE.HTML-Menu-TreeView.yml
CPAN-1.92/distroprefs/RRA.PGP-Sign.yml
CPAN-1.92/distroprefs/GRAY.IO- AIO-Util.yml
CPAN-1.92/distroprefs/MLEHMANN.PApp.yml
CPAN-1.92/distroprefs/MJD.Text-Template.yml
CPAN-1.92/distroprefs/JMGDOC.OpenOffice-OODoc.yml
CPAN-1.92/distroprefs/INGY.Inline.yml
CPAN-1.92/distroprefs/MSCHWERN.Test- Simple.yml
CPAN-1.92/distroprefs/VKON.Tcl-Tk.yml
CPAN-1.92/distroprefs/JESSE.Jifty.yml
CPAN-1.92/distroprefs/ILYAZ.Math-Pari.yml
CPAN-1.92/distroprefs/PETDANCE.HTML-Tidy.yml
CPAN-1.92/distroprefs/NODINE.Text- Restructured.yml
CPAN-1.92/distroprefs/GRANTM.XML-SAX.yml
CPAN-1.92/distroprefs/MARKOV.CPAN-Site.yml
CPAN-1.92/distroprefs/SCHWERN.Exporter-Lite.yml
CPAN-1.92/distroprefs/MIYAGAWA.Plagger.yml
CPAN-1.92/distroprefs/LEAKIN.File- Rsync.yml
CPAN-1.92/distroprefs/YANICK.XML-XPathScript.yml
CPAN-1.92/distroprefs/RONAN.Transform-Canvas.yml
CPAN-1.92/distroprefs/ASCOPE.Net-Google.yml
CPAN-1.92/distroprefs/TELS.Math-BigInt-GMP.yml
CPAN-1.92 /distroprefs/JPIERCE.IO-Pager.yml
CPAN-1.92/distroprefs/DURIST.WWW-Babelfish.yml
CPAN-1.92/distroprefs/SCHUBIGER.DateTime-Format.yml
CPAN-1.92/distroprefs/STAS.libapreq.yml
CPAN-1.92/distroprefs/ANDK.CPAN-Test-Dummy-Perl5-Make-Expect.yml 
CPAN-1.92/distroprefs/JENDA.Mail-Sender.yml
CPAN-1.92/distroprefs/BSMITH.Devel-EvalContext.yml
CPAN-1.92/distroprefs/GOZER.mod_perl.yml
CPAN-1.92/distroprefs/MInoinc.yml
CPAN-1.92/distroprefs/RJBS.Data-UUID.yml 
CPAN-1.92/distroprefs/JPRIT.Event.yml
CPAN-1.92/distroprefs/FLORA.Net_SSLeay.yml
CPAN-1.92/distroprefs/SZABGAB.Spreadsheet-ParseExcel.yml
CPAN-1.92/distroprefs/URI.File-Slurp.yml
CPAN-1.92/distroprefs/ZEV.Test- Dependencies.yml
CPAN-1.92/distroprefs/MIYAGAWA.XML-Atom.yml
CPAN-1.92/distroprefs/AUDREYT.Jifty-DBI.yml
CPAN-1.92/distroprefs/MJD.Devel-Trace.yml
CPAN-1.92/distroprefs/JESSE.Data-ICal.yml
CPAN-1.92/distroprefs/BINGOS.POE- Component-Server-SimpleHTTP.yml
CPAN-1.92/distroprefs/MSERGEANT.CDB_File.yml
CPAN-1.92/distroprefs/EWILHELM.Math-Vec.yml
CPAN-1.92/distroprefs/MSERGEANT.AxKit.yml
CPAN-1.92/megainstall.txt
CPAN-1.92/ChangeLog.old 
CPAN-1.92/scripts/
CPAN-1.92/scripts/cpan
CPAN-1.92/inc/
CPAN-1.92/inc/Test/
CPAN-1.92/inc/Test/More.pm
CPAN-1.92/inc/Test/Builder.pm
CPAN-1.92/ChangeLog
CPAN-1.92/MANIFEST.SKIP
CPAN-1.92/lib/
CPAN-1.92/lib/CPAN/
CPAN-1.92/lib/CPAN/Nox.pm
CPAN-1.92/lib/CPAN/Kwalify/
CPAN-1.92/lib/CPAN/Kwalify/distroprefs.dd
CPAN-1.92/lib/CPAN/Kwalify/distroprefs.yml
CPAN-1.92/lib/CPAN/Queue.pm
CPAN-1.92/lib/CPAN/Tarzip.pm 
CPAN-1.92/lib/CPAN/Admin.pm
CPAN-1.92/lib/CPAN/Debug.pm
CPAN-1.92/lib/CPAN/FirstTime.pm
CPAN-1.92/lib/CPAN/Version.pm
CPAN-1.92/lib/CPAN/DeferedCode.pm
CPAN-1.92/lib/CPAN/API/
CPAN-1.92/lib/CPAN/API/HOWTO.pm 
CPAN-1.92/lib/CPAN/Kwalify.pm
CPAN-1.92/lib/CPAN/HandleConfig.pm
CPAN-1.92/lib/CPAN.pm
CPAN-1.92/Makefile.PL
CPAN-1.92/PAUSE2007.pub
CPAN-1.92/MANIFEST
CPAN-1.92/SIGNATURE
CPAN-1.92/Changes.old
CPAN-1.92/Changes
CPAN-1.92/README
CPAN-1.92/PAUSE2003.pub
CPAN-1.92/META.yml
CPAN-1.92/Todo
CPAN-1.92/PAUSE2005.pub
Removing previously used /home/Administrator/.cpan/build/CPAN-1.92

  CPAN.pm: Going to build A/AN/ANDK/CPAN-1.92.tar.gz

Importing PAUSE public key into your GnuPG keychain... gpg: WARNING: using insec
ure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
done! 
(You may wish to trust it locally with 'gpg --lsign-key 450F89EC')
Checking if your kit is complete...
Looks good
Writing Makefile for CPAN 
cp lib/CPAN.pm blib/lib/CPAN.pm
cp lib/CPAN/Admin.pm blib/lib/CPAN/Admin.pm 
cp lib/CPAN/Tarzip.pm blib/lib/CPAN/Tarzip.pm
cp lib/CPAN/Debug.pm blib/lib/CPAN/Debug.pm
cp lib/CPAN/HandleConfig.pm blib/lib/CPAN/HandleConfig.pm 
cp lib/CPAN/Queue.pm blib/lib/CPAN/Queue.pm
cp lib/CPAN/Kwalify/distroprefs.yml blib/lib/CPAN/Kwalify/distroprefs.yml 
cp lib/CPAN/Version.pm blib/lib/CPAN/Version.pm
cp lib/CPAN/Kwalify.pm blib/lib/CPAN/Kwalify.pm 
cp lib/CPAN/DeferedCode.pm blib/lib/CPAN/DeferedCode.pm
cp lib/CPAN/Kwalify/distroprefs.dd blib/lib/CPAN/Kwalify/distroprefs.dd 
cp lib/CPAN/Nox.pm blib/lib/CPAN/Nox.pm
cp lib/CPAN/API/HOWTO.pm blib/lib/CPAN/API/HOWTO.pm 
cp lib/CPAN/FirstTime.pm blib/lib/CPAN/FirstTime.pm
cp scripts/cpan blib/script/cpan
/usr/bin/perl5.8.8.exe "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/cpan 
  /usr/bin/make  -- OK 
Running make test
/usr/bin/perl5.8.8.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib
', 'blib/arch')" t/*.t
t/00signature.......gpg: WARNING: using insecure memory! 
gpg: please see http://www.gnupg.org/faq.html for more information
gpg: Signature made Sun Sep 23 04:06:16 2007 PST using DSA key ID A317C15D 
gpg: Can't check signature: public key not found 
t/00signature.......ok
t/01loadme..........ok
t/02nox.............ok
t/03pkgs............ok 1/11

Attachments

Change History

09/25/07 08:45:11 changed by anonymous

  • summary changed from Failed install bundle:CPAN to Failed install bundle::CPAN.

09/25/07 11:09:45 changed by kindlund

  • keywords set to Bundle::CPAN, installation.
  • status changed from new to assigned.
  • version changed from none to 0.99.
  • milestone set to 0.9.

Hi Christian,

It looks like CPAN installation is failing, due to it being unable to contact the GPG keyservers. If possible, I'd recommend telling the installer to ignore signature validation. The installer usually asks if you want to use GPG signatures; you can indicate to ignore them. Otherwise, if it is no longer asking, you may need to manually remove the GPG signature verification libraries in order for it to skip over this verification process.

Regards,

— Darien

09/25/07 12:15:48 changed by anonymous

Darien, thank you for your quick reply. It allowed me to resolve the error msg around the key. I had keyserver port blocked on my firewall…opening this up made the error msg disappear.

However, the CPAN installation process is still stuck on that one line:

cp lib/CPAN/Version.pm blib/lib/CPAN/Version.pm cp lib/CPAN/Kwalify.pm blib/lib/CPAN/Kwalify.pm cp lib/CPAN/DeferedCode.pm blib/lib/CPAN/DeferedCode.pm cp lib/CPAN/Kwalify/distroprefs.dd blib/lib/CPAN/Kwalify/distroprefs.dd cp lib/CPAN/Nox.pm blib/lib/CPAN/Nox.pm cp lib/CPAN/API/HOWTO.pm blib/lib/CPAN/API/HOWTO.pm cp lib/CPAN/FirstTime.pm blib/lib/CPAN/FirstTime.pm cp scripts/cpan blib/script/cpan /usr/bin/perl5.8.8.exe "-MExtUtils::MY" -e "MY→fixin(shift)" blib/script/cpan

/usr/bin/make — OK

Running make test /usr/bin/perl5.8.8.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib ', 'blib/arch')" t/*.t t/00signature…….WARNING: This key is not certified with a trusted signature!

Primary key fingerprint: 50A0 ED26 8AA2 95BD 2CA0 411E EC80 39F0 A317 C15D t/00signature…….ok t/01loadme……….ok t/02nox………….ok t/03pkgs…………ok 1/11

I am not too familiar with CPAN, so I am not sure whether this will generate issues down the road. Any ideas?

Christian

09/25/07 21:18:50 changed by kindlund

Hi Christian,

Since you've enabled GPG support, I think you have to trust the signatures manually.

Earlier in your original post, the CPAN code mentioned the following:

gpg --lsign-key 450F89EC

Does that help at all?

It looks like GPG works through direct source verification. For each new signed package, you may be required to import the trusted keys into your keychain. This is the equivalent of importing individual SSL server certificates into your certificate store and marking them as implicitly trusted.

This process should be automatically performed by the Module::Signature package, if it were correctly installed. If in doubt, try re-installing this package via CPAN and see if that reduces your errors.

Regards,

— Darien

09/26/07 13:06:18 changed by anonymous

  • status changed from assigned to closed.
  • resolution set to fixed.

Darien, thanks for your help. The issue is resolved now.

I adjusted the trust on the key and still got "hanging behavior". A simple repeated hit of the return key made it move on…it resulted in a bunch of error messages that pointed to a missing IO::Zlib.

IO::Zlib install caused error messages in the Util.pm line 30 regards Use of uninitialized value in concatenation (.). Digging further on the newsgroups, it recommended installing "Scalar List Utils 1.19" manually.

Doing so, allowed me to install IO::Zlib without errors, which in turn allowed me to install Bundle::CPAN.

Christian


Add/Change #99 (Failed install bundle::CPAN)




Change Properties
Action