Hello,
I´m trying to update but stuck on gettex-runtime update.
Tried many solution, but a simple ls to gettext-runtime.mo fails:
ls: gettext-runtime.mo: Invalid argument
Update log:
[2/83] Upgrading gettext-runtime from 0.22_1 to 0.22.3...
[2/83] Extracting gettext-runtime-0.22.3: .......... done
gettext-runtime-0.22_1: missing file /usr/local/lib/libintl.so.8.3.0
gettext-runtime-0.22_1: missing file /usr/local/share/licenses/gettext-runtime-0.22_1/GPLv3+
gettext-runtime-0.22_1: missing file /usr/local/share/licenses/gettext-runtime-0.22_1/LGPL21+
gettext-runtime-0.22_1: missing file /usr/local/share/licenses/gettext-runtime-0.22_1/LICENSE
gettext-runtime-0.22_1: missing file /usr/local/share/licenses/gettext-runtime-0.22_1/catalog.mk
pkg-static: Fail to rename /usr/local/share/locale/ka/LC_MESSAGES/.pkgtemp.gettext-runtime.mo.X6FJTdAQCKzA -> /usr/local/share/locale/ka/LC_MESSAGES/gettext-runtime.mo:Invalid argument
Starting web GUI...done.
Generating RRD graphs...done.
***DONE***
Any idea how to solve it?
Hello,
I really need help.
Now trying to update to 7.11 with the same error.
[3/93] Upgrading gettext-runtime from 0.22_1 to 0.22.3...
[3/93] Extracting gettext-runtime-0.22.3: .......... done
gettext-runtime-0.22_1: missing file /usr/local/lib/libintl.so.8.3.0
gettext-runtime-0.22_1: missing file /usr/local/share/licenses/gettext-runtime-0.22_1/GPLv3+
gettext-runtime-0.22_1: missing file /usr/local/share/licenses/gettext-runtime-0.22_1/LGPL21+
gettext-runtime-0.22_1: missing file /usr/local/share/licenses/gettext-runtime-0.22_1/LICENSE
gettext-runtime-0.22_1: missing file /usr/local/share/licenses/gettext-runtime-0.22_1/catalog.mk
pkg-static: Fail to rename /usr/local/share/locale/ka/LC_MESSAGES/.pkgtemp.gettext-runtime.mo.fjqojv1iqtqh -> /usr/local/share/locale/ka/LC_MESSAGES/gettext-runtime.mo:Invalid argument
Do you have enough free space on the drive ? What's the output for
df -h
Hello,
Filesystem Size Used Avail Capacity Mounted on
/dev/gpt/rootfs 19G 7.4G 10G 42% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/gpt/efifs 256M 1.7M 254M 1% /boot/efi
devfs 1.0K 1.0K 0B 100% /var/dhcpd/dev
I think is not a space problem.
[1/91] Upgrading gettext-runtime from 0.22_1 to 0.22.3...
[1/91] Extracting gettext-runtime-0.22.3: .......... done
gettext-runtime-0.22_1: missing file /usr/local/lib/libintl.so.8.3.0
gettext-runtime-0.22_1: missing file /usr/local/share/licenses/gettext-runtime-0.22_1/GPLv3+
gettext-runtime-0.22_1: missing file /usr/local/share/licenses/gettext-runtime-0.22_1/LGPL21+
gettext-runtime-0.22_1: missing file /usr/local/share/licenses/gettext-runtime-0.22_1/LICENSE
gettext-runtime-0.22_1: missing file /usr/local/share/licenses/gettext-runtime-0.22_1/catalog.mk
pkg-static: Fail to rename /usr/local/share/locale/ka/LC_MESSAGES/.pkgtemp.gettext-runtime.mo.iEDgNAwvCuuD -> /usr/local/share/locale/ka/LC_MESSAGES/gettext-runtime.mo:Invalid argument
Starting web GUI...done.
Generating RRD graphs...done.
Hi,
I am just guessing but looking at the error, could it be that for some reason you switched to the business tree in Firmware settings and simply do not have a business license?
Hello @amichel,
Double checked and no, still community.
Tryied to save to force the configurarion and nothing.
I´m stuck in this version. Even with the new 23.7.12, the error is the same.
I'm on a different OPN version so my version of this package is different but you could try see what should be yours and install it with pkg. That said, if this package is missing, chances are, others are too, depending on the reason it is missing in the first place.
You might need to save config and reinstall.
[penguin@OPNsense ~]$ pkg search gettext-runtime
gettext-runtime-0.21.1 GNU gettext runtime libraries and programs
gettext-runtime-0.22_1 GNU gettext runtime libraries and programs
[penguin@OPNsense ~]$ pkg info gettext-runtime-0.21.1
gettext-runtime-0.21.1
Name : gettext-runtime
Version : 0.21.1
Installed on : Fri Jul 14 09:51:19 2023 BST
Origin : devel/gettext-runtime
Architecture : FreeBSD:13:amd64
Prefix : /usr/local
Categories : devel
Licenses : LGPL21+ and GPLv3+
Maintainer : tijl@FreeBSD.org
WWW : https://www.gnu.org/software/gettext/
Comment : GNU gettext runtime libraries and programs
Options :
DOCS : off
Shared Libs provided:
libintl.so.8
libasprintf.so.0
Annotations :
FreeBSD_version: 1301000
cpe : cpe:2.3:a:gnu:gettext:0.21.1:::::freebsd13:x64
repo_type : binary
repository : OPNsense
Flat size : 775KiB
Description :
GNU gettext is a framework of libraries and tools for internationalisation
and localisation of software.
This package contains the runtime libraries and programs.
WWW: https://www.gnu.org/software/gettext/
Take a backup of the config file, download the 24.1 and install over.
You'll be prompted to import the configuration in the process, but it's best to have a backup.