Date: Sat, 18 Jan 2025 19:32:43 +0100 From: ft <ml@ft-c.de> To: freebsd-stable@freebsd.org Subject: jail portupgrade different OS Version? Message-ID: <b6f20b7a930096a75d11927ab245054ba2235fca.camel@ft-c.de>
next in thread | raw e-mail | index | archive | help
Hello,=20 last week I created new jails.=C2=A0 $ pkg update ; pkg install=C2=A0... works fine inside jails. Now it is not possible to start portupgrade inside jails.=C2=A0 Before I have done: portsnap fetch update Here are the error-message: on host: $=C2=A0 freebsd-version 14.1-RELEASE-p3 $=C2=A0 uname -a FreeBSD ftc 14.1-RELEASE-p3 FreeBSD 14.1-RELEASE-p3 GENERIC amd64 in jail: $=C2=A0 freebsd-version 13.1-RELEASE $=C2=A0 uname -a FreeBSD jail_pg01 14.1-RELEASE FreeBSD 14.1-RELEASE-p3 GENERIC amd64 in jail I get an error:=20 $=C2=A0 portupgrade -h make: "/usr/ports/Mk/bsd.port.mk" line 1191: UNAME_r (14.1-RELEASE) and OSVERSION (1301000) do not agree on major version number. /usr/local/lib/ruby/site_ruby/3.2/pkgtools/portsdb.rb:237:in `join': no imp= licit conversion of nil into String (TypeError) @index_file =3D ENV['PORTS_INDEX'] || File.join(indexdir, indexfile || 'IND= EX') from /usr/local/lib/ruby/site_ruby/3.2/pkgtools/portsdb.rb:237:in `index_fi= le' from /usr/local/lib/ruby/site_ruby/3.2/pkgtools/portsdb.rb:247:in `db_dir= =3D' from /usr/local/lib/ruby/site_ruby/3.2/pkgtools/portsdb.rb:167:in `setup' from /usr/local/lib/ruby/site_ruby/3.2/pkgtools/pkgtools.rb:242:in `init_pkgtools_global' from /usr/local/sbin/portupgrade:531:in `block in main' from /usr/local/lib/ruby/3.2/optparse.rb:1153:in `initialize' from /usr/local/sbin/portupgrade:238:in `new' from /usr/local/sbin/portupgrade:238:in `main' from /usr/local/sbin/portupgrade:2380:in `<main>' What should I do? Franz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b6f20b7a930096a75d11927ab245054ba2235fca.camel>