I have 13.1-release on a physical PC. I tried to set Nginx on my OS but failed. This is what i got
And another example:
Is it because my freebsd version is outdated or i do something wrong? I did the same on my virtual machine where i have freebsd 13.2-release and the same commands worked fine. I am not good at freebsd so i would be glad if you help me with this. It is not a problem for me to upgrade my OS, i just want to know if the old OS is the problem here at all.
Code:
root@SOMSP:cd /usr/ports/www/nginx
# make config-recursive
# make install clean
===> License BSD2CLAUSE accepted by the user
===> nginx-1.24.0_11,3 depends on file: /usr/local/sbin/pkg - found
=> nginx-1.24.0.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch https://nginx.org/download/nginx-1.24.0.tar.gz
fetch: https://nginx.org/download/nginx-1.24.0.tar.gz: No address record
=> Attempting to fetch http://distcache.FreeBSD.org/local-distfiles/joneum/nginx -1.24.0.tar.gz
fetch: http://distcache.FreeBSD.org/local-distfiles/joneum/nginx-1.24.0.tar.gz: No address record
=> Attempting to fetch http://distcache.us-east.FreeBSD.org/local-distfiles/jone um/nginx-1.24.0.tar.gz
fetch: http://distcache.us-east.FreeBSD.org/local-distfiles/joneum/nginx-1.24.0. tar.gz: No address record
=> Attempting to fetch http://distcache.eu.FreeBSD.org/local-distfiles/joneum/ng inx-1.24.0.tar.gz
fetch: http://distcache.eu.FreeBSD.org/local-distfiles/joneum/nginx-1.24.0.tar.g z: No address record
=> Attempting to fetch http://distcache.us-west.FreeBSD.org/local-distfiles/jone um/nginx-1.24.0.tar.gz
fetch: http://distcache.us-west.FreeBSD.org/local-distfiles/joneum/nginx-1.24.0. tar.gz: No address record
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/nginx-1.24.0 .tar.gz
fetch: http://distcache.FreeBSD.org/ports-distfiles/nginx-1.24.0.tar.gz: No addr ess record
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/www/nginx
*** Error code 1
Stop.
make: stopped in /usr/ports/www/nginx
And another example:
Code:
root@SOMSP:~ # pkg install nginx
Updating FreeBSD repository catalogue...
pkg: No SRV record found for the repo 'FreeBSD'
Is it because my freebsd version is outdated or i do something wrong? I did the same on my virtual machine where i have freebsd 13.2-release and the same commands worked fine. I am not good at freebsd so i would be glad if you help me with this. It is not a problem for me to upgrade my OS, i just want to know if the old OS is the problem here at all.