I have 2 issues:
1)
freebsd-update install
Update manifest is corrupt -- this should never happen.
Re-run '/usr/sbin/freebsd-update fetch'.
I had tried to remove /var/db/freebsd-update with no luck
# freebsd-version -ku
13.2-RELEASE-p4
13.2-RELEASE-p6
2)
I had tried to reboot couple of times - the same result
I had tried to set OSVERSION=1302001 in /etc/make.conf:
But file is there:
# ls -la /usr/ports/Mk/Scripts/dialog4ports.sh
-rwxr-xr-x 1 root wheel 1870 11 окт. 10:54 /usr/ports/Mk/Scripts/dialog4ports.sh
make makesum also doesn't help:
File is there:
I had tried to remove /usr/ports and run portsnap fetch extract - same results.
I had tried to remove /usr/ports and download ports.txz, then these errors disappear and it starts complaining about vulnerabilities.
I don't want to use pkg install because it proposes to remove most of my packages because of conflicts, and I am not sure I be able to install anything after.
Any suggestions?
1)
freebsd-update install
Update manifest is corrupt -- this should never happen.
Re-run '/usr/sbin/freebsd-update fetch'.
I had tried to remove /var/db/freebsd-update with no luck
# freebsd-version -ku
13.2-RELEASE-p4
13.2-RELEASE-p6
2)
Code:
/usr/ports/devel/git # make
make: "/usr/ports/Mk/bsd.port.mk" line 1211: UNAME_r (13.2-RELEASE-p4) and OSVERSION () do not agree on major version number.
make: stopped in /usr/ports/devel/git
I had tried to set OSVERSION=1302001 in /etc/make.conf:
Code:
/usr/ports/devel/git # make
/usr/ports/Mk/Scripts/dialog4ports.sh: cannot create : No such file or directory
===> Options unchanged
===> License GPLv2 accepted by the user
===> git-2.43.0 depends on file: /usr/local/sbin/pkg - found
=> git-2.43.0.tar.xz is not in /usr/ports/devel/git/distinfo.
=> Either /usr/ports/devel/git/distinfo is out of date, or
=> git-2.43.0.tar.xz is spelled incorrectly.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/devel/git
*** Error code 1
Stop.
make: stopped in /usr/ports/devel/git
# ls -la /usr/ports/Mk/Scripts/dialog4ports.sh
-rwxr-xr-x 1 root wheel 1870 11 окт. 10:54 /usr/ports/Mk/Scripts/dialog4ports.sh
make makesum also doesn't help:
Code:
/usr/ports/devel/git # make makesum
===> License GPLv2 accepted by the user
===> License GPLv2 accepted by the user
===> git-2.43.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by git-2.43.0 for building
/usr/ports/Mk/Scripts/makesum.sh: cannot create : No such file or directory
/usr/ports/Mk/Scripts/makesum.sh: cannot create : No such file or directory
*** Error code 2
Stop.
make: stopped in /usr/ports/devel/git
Code:
# ls -la /usr/ports/Mk/Scripts/makesum.sh
-rwxr-xr-x 1 root wheel 1589 21 нояб. 2022 /usr/ports/Mk/Scripts/makesum.sh
I had tried to remove /usr/ports and run portsnap fetch extract - same results.
I had tried to remove /usr/ports and download ports.txz, then these errors disappear and it starts complaining about vulnerabilities.
I don't want to use pkg install because it proposes to remove most of my packages because of conflicts, and I am not sure I be able to install anything after.
Any suggestions?