On Wed, Dec 23, 2009 at 2:39 AM, Barbie <[email protected]> wrote:
> I'm in two minds about this. From one perspective, yes distributions
> shouldn't assume anything. However, it does seem reasonable that a basic
> configuration should have been done, as that would have been done by a
> user as soon as they started up a cpan/plus shell.

The problem is that they can't assume which one is configured.

> In my case, the parent distro expects a 02packages.txt file to be
> available, which if a user had started a cpan/plus shell would be there.

Then you need to check both cpan and cpanplus.  That might not be true
as there is no strict need for that file if CPAN::Index is running.
It could have been purged after the Index DB is created.  Or, the file
could have been grabbed direct from a minicpan and never moved to the
.cpan directory.  Moreover, you can't assume a particular directory,
you actually need to check the CPAN/PLUS config files to find where
temporary files like that are stored.

All of which is to say -- if you need 02packages.txt, then you should
probably download it yourself.

David

Reply via email to