OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: bulmaro on June 29, 2023, 06:00:31 AM

Title: Squid-Error Not a directory
Post by: bulmaro on June 29, 2023, 06:00:31 AM
Hi dears
when updating my version I receive the following message

***GOT REQUEST TO UPDATE***
Currently running OPNsense 23.1.9 at Wed Jun 28 22:54:34 CDT 2023
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Checking for upgrades (10 candidates): .......... done
Processing candidates (10 candidates): .......... done
Checking integrity... done (0 conflicting)
The following 10 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
bind-tools: 9.18.14 -> 9.18.16
ddclient-devel: 3.10.0_1 -> 3.10.0_3
opnsense: 23.1.9 -> 23.1.11
os-crowdsec: 1.0.5 -> 1.0.6
pftop: 0.8_2 -> 0.8_4
php81-gettext: 8.1.19 -> 8.1.20
py39-filelock: 3.10.3_1 -> 3.12.2
squid: 5.8 -> 5.9
strongswan: 5.9.10_1 -> 5.9.10_2
vim: 9.0.1503 -> 9.0.1627

Number of packages to be upgraded: 10

The process will require 3 MiB more space.
[1/10] Upgrading squid from 5.8 to 5.9...
===> Creating groups.
Using existing group 'squid'.
===> Creating users
Using existing user 'squid'.
===> Creating homedir(s)
===> Pre-installation configuration for squid-5.9
[1/10] Extracting squid-5.9: .......... done
squid-5.8: missing file /usr/local/share/licenses/squid-5.8/GPLv2
squid-5.8: missing file /usr/local/share/licenses/squid-5.8/LICENSE
squid-5.8: missing file /usr/local/share/licenses/squid-5.8/catalog.mk
pkg-static: Fail to rename /usr/local/etc/squid/errors/.pkgtemp.es-mx.vOnNWzDx8XyS -> /usr/local/etc/squid/errors/es-mx:Not a directory
Starting web GUI...done.
Generating RRD graphs...done.
***DONE***

Title: Re: Squid-Error Not a directory
Post by: franco on June 29, 2023, 08:29:51 AM
It's a known pkg bug: https://github.com/freebsd/pkg/pull/2152

You can work around it via

# rm -rf /usr/local/etc/squid/errors/es-mx


Cheers,
Franco
Title: Re: Squid-Error Not a directory
Post by: bulmaro on June 29, 2023, 04:10:31 PM
thank you very much for your answer, solved