Read more

problem updating perl package(s) on freebsd `pkg-static: lstat(..../.packlist): No such file or directory

Kim Klotz
December 11, 2014Software engineer at makandra GmbH

If you have trouble updating something on FreeBSD you should always take a look in the UPDATING Show archive.org snapshot file.

Illustration web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
Read more Show archive.org snapshot

For this error there is this solution which worked perfectly for me:

20141127:
  AFFECTS: users of lang/perl5.*
  AUTHOR: mat@FreeBSD.org

  There was a nasty bug introduced in the update below, it was introduced in
  svn revision 373476 and corrected in 373485.  If you get errors looking like
  this one:

  ===>   Registering installation for p5-Params-Util-1.07_1 as automatic
  pkg-static: lstat(/usr/ports/devel/p5-Params-Util/work/stage/usr/local/./usr/local/lib/perl5/site_perl/mach/5.16/auto/Params/Util/.packlist): No such file or directory
  *** [fake-pkg] Error code 74

  You will have to wipe your ports tree clean.  If using portsnap, with:

    portsnap extract

  If using subversion:

    svn revert -R
Posted by Kim Klotz to makandra dev (2014-12-11 17:12)