Instead of using cpan shell, likely easier and F::Q recommended way to do so on Mac and Linux in a terminal is:
# sudo cpanm Date::Time Finance::Quote And analogous on Windows: cpanm Date::Time Finance::Quote Just for more verbosity, I would add ' -v ' switch just after 'cpanm' command. Example on Windows (without -v option): C:\Users\kalpesh>cpanm Date::Time ! Finding Date::Time on cpanmetadb failed. --> Working on Date::Time Fetching http://cpan.metacpan.org/authors/id/T/TO/TOBIX/OO-DateTime-0.01.tar.gz ... OK Configuring OO-DateTime-0.01 ... OK Building and testing OO-DateTime-0.01 ... OK Successfully installed OO-DateTime-0.01 1 distribution installed C:\Users\kalpesh> Example on Windows (with -v option): C:\Users\kalpesh>cpanm -v Date::Time cpanm (App::cpanminus) 1.7044 on perl 5.028001 built for MSWin32-x86-multi-thread-64int Work directory is C:\Users\kalpesh/.cpanm/work/1783896097.41800 You have make C:\Strawberry\c\bin\gmake.exe You have LWP 6.67 Falling back to Archive::Tar 2.38 Searching Date::Time () on cpanmetadb ... ! Finding Date::Time on cpanmetadb failed. --> Working on Date::Time Fetching http://cpan.metacpan.org/authors/id/T/TO/TOBIX/OO-DateTime-0.01.tar.gz ... OK Unpacking OO-DateTime-0.01.tar.gz Entering OO-DateTime-0.01 META.yml/json not found. Creating skeleton for it. Running Makefile.PL Configuring OO-DateTime-0.01 ... Checking if your kit is complete... Looks good Generating a gmake-style Makefile Writing Makefile for Date::Time Writing MYMETA.yml and MYMETA.json OK Checking dependencies from MYMETA.json ... Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.34) Building and testing OO-DateTime-0.01 ... cp Time.pm blib\lib\Date\Time.pm AutoSplitting blib\lib\Date\Time.pm (blib\lib\auto\Date\Time) "C:\Strawberry\perl\bin\perl.exe" "-Iblib\lib" "-Iblib\arch" test.pl 1..1 ok 1 Installing C:\STRAWB~1\perl\site\lib\auto\Date\Time\autosplit.ix Installing C:\STRAWB~1\perl\site\lib\Date\Time.pm Appending installation info to C:\STRAWB~1\perl\lib/perllocal.pod OK Successfully installed OO-DateTime-0.01 Installing C:\STRAWB~1\perl\site\lib\MSWin32-x86-multi-thread-64int\.meta\OO-DateTime-0.01\install.json 1 distribution installed C:\Users\kalpesh> Upgrading wholesale might break other scripts -- as mentioned -- that may be making use of packages that aren't related to F::Q. I would just run 'cpanm -v Finance::Quote' and then run the command line fetcher to see if it complain on any other modules. If it does than only upgrade those ones. -----Original Message----- From: John Ralls <[email protected]> Sent: Saturday, July 11, 2026 1:58 PM To: Chris Good <[email protected]> Cc: Peter Lamb <[email protected]>; [email protected] Subject: Re: [GNC] Access problems fetching shares prices from Australian Stock Exchange > On Jul 11, 2026, at 01:01, Chris Good <[email protected]> wrote: > > > First Backup all perl stuff or full computer > > cpan upgrade Finance::Quote > which also installs unsatisfied dependencies (can take a long time) > > and then > cpan r (list modules that can be upgraded) > cpan upgrade (upgrade all modules) > > John Ralls probably has a better idea for macOS… I wouldn’t do a global upgrade, just Date::Time and Finance::Quote (that’s what gnc-fq-update does). On macOS you have to prefix the command with sudo. Start off with a cleanup, see https://wiki.gnucash.org/wiki/Online_Quotes#Clean_up_previous_installs, then run gnc-fq-update, https://wiki.gnucash.org/wiki/Online_Quotes#Installing_Finance::Quote_on_macOS_from_a_Terminal_prompt. If you have more than one perl installed make sure to only use /usr/bin/perl and /usr/bin/cpan because they’re the only ones that GnuCash can see when it’s launched from Finder, https://wiki.gnucash.org/wiki/Online_Quotes#Perl_runtime_location. Regards, John Ralls _______________________________________________ gnucash-user mailing list [email protected] To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
