Riccardo Mottola <riccardo.mott...@libero.it> writes: > sudo pkg_add -v /usr/packages/All/perl-5.38.2.tgz > pkg_add: no pkg found for '/usr/packages/All/perl-5.38.2.tgz', sorry. > pkg_add: 1 package addition failed > > -rw-r--r-- 1 root wheel 18M May 17 18:32 perl-5.38.2.tgz
run "tar tfvz" on it and see what's inside. > Mystery is that lintpkgsrc did check: > > => Full dependency perl>=5.36: found perl-5.36.0 > But pkg_info told me it wasn't there.. how can this check pass? > > eowyn$ perl > -sh: perl: not found > > > I thus got perl from the prebuild binaries and installed it. Now > lintpgsrc is running... it will take some time on this oldie. But I > wonder what's going on. Check that you have only one PKG_DBDIR (/usr/pkg/pkgdb, and not /var/db/pkg). Check for directories in PKG_DBDIR that are empty, or otherwise irregular. find / -name perl and see if it is in /usr/local or some other place. I am pretty convinced that something is wrong with your system.