I am trying to update my Opnsense system (baremetal) to 24.7.3_1-amd64
Failure below. Anyone seen this before? Any ideas?
***GOT REQUEST TO UPDATE***
*** Truncated ***
Number of packages to be upgraded: 31
The process will require 3 MiB more space.
[1/31] Upgrading perl5 from 5.36.3_1 to 5.36.3_2...
[1/31] Extracting perl5-5.36.3_2: .......... done
perl5-5.36.3_1: missing file /usr/local/share/licenses/perl5-5.36.3_1/ART10
perl5-5.36.3_1: missing file /usr/local/share/licenses/perl5-5.36.3_1/GPLv1+
perl5-5.36.3_1: missing file /usr/local/share/licenses/perl5-5.36.3_1/LICENSE
perl5-5.36.3_1: missing file /usr/local/share/licenses/perl5-5.36.3_1/catalog.mk
pkg-static: Fail to rename /usr/local/lib/perl5/5.36/.pkgtemp.HTTP.9MjtVee74MPg -> /usr/local/lib/perl5/5.36/HTTP:Invalid argument
Starting web GUI...done.
Generating RRD graphs...done.
***DONE***
Continuing troubleshooting.
I moved and deleted the problem file.. Then another file hit the same error. Then I moved and deleted that one.. a few times until the package installed, but then I got another failure:
perl5-5.36.3_1: missing file /usr/local/share/licenses/perl5-5.36.3_1/ART10
perl5-5.36.3_1: missing file /usr/local/share/licenses/perl5-5.36.3_1/GPLv1+
perl5-5.36.3_1: missing file /usr/local/share/licenses/perl5-5.36.3_1/LICENSE
perl5-5.36.3_1: missing file /usr/local/share/licenses/perl5-5.36.3_1/catalog.mk
I got it to work.
Had to do a pkg update from the CLI.
Hit a few more snags.. just moved the problematic directories to a new name and tried again.. took a few tries.
Quote from: DocGonzo74 on September 06, 2024, 05:24:22 PM
perl5-5.36.3_1: missing file /usr/local/share/licenses/perl5-5.36.3_1/ART10
perl5-5.36.3_1: missing file /usr/local/share/licenses/perl5-5.36.3_1/GPLv1+
perl5-5.36.3_1: missing file /usr/local/share/licenses/perl5-5.36.3_1/LICENSE
perl5-5.36.3_1: missing file /usr/local/share/licenses/perl5-5.36.3_1/catalog.mk
FWIW, these are pretty normal and should not be fatal (break updates) anyway.