Can someone clarify (please) strange behavior pkg-upgrade(8) on two different servers:
On both servers I use this command to upgrade all ports:
On HOST1 everything is OK, but on HOST2 there are no upgrade does not occur...
What other *.conf files should I check?
Thanks in advance!
---
Yev
Code:
HOST1 $ uname -a
FreeBSD host1 11.2-RELEASE-p4 FreeBSD 11.2-RELEASE-p4 #0: Thu Sep 27 08:16:24 UTC 2018 [email]root@amd64-builder.daemonology.net[/email]:/usr/obj/usr/src/sys/GENERIC amd64
HOST1 $ cat /etc/pkg/FreeBSD.conf
# $FreeBSD: releng/11.2/etc/pkg/FreeBSD.conf 333474 2018-05-10 23:58:33Z gjb $
#
# To disable this repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file:
#
# mkdir -p /usr/local/etc/pkg/repos
# echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
#
FreeBSD: {
url: "pkg+[URL]http://pkg.FreeBSD.org/$[/URL]{ABI}/quarterly",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
}
HOST1 $ cat /etc/make.conf
# added by use.perl 2012-08-15 14:40:50
#PERL_VERSION=5.10.1
# added 2013-09-26 portupgrade problems
TAR=/usr/local/bin/bsdtar
WITH_PKGNG=yes
DEFAULT_VERSIONS+=apache=2.4
WITHOUT_X11=yes
NO_WARNING_PKG_INSTALL_EOL=yes
# added 20150819 OPTIONS_UNSET=X11
OPTIONS_UNSET=X11
# added 20150918
#DEFAULT_VERSIONS+=perl5=5.18
DEFAULT_VERSIONS+=perl5=5.20
Code:
HOST2 $ uname -a
FreeBSD host2 11.2-RELEASE-p5 FreeBSD 11.2-RELEASE-p5 #0: Tue Nov 27 09:33:52 UTC 2018 [email]root@amd64-builder.daemonology.net[/email]:/usr/obj/usr/src/sys/GENERIC amd64
HOST2 $ cat /etc/pkg/FreeBSD.conf
# $FreeBSD: releng/11.2/etc/pkg/FreeBSD.conf 333474 2018-05-10 23:58:33Z gjb $
#
# To disable this repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file:
#
# mkdir -p /usr/local/etc/pkg/repos
# echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
#
FreeBSD: {
url: "pkg+[URL]http://pkg.FreeBSD.org/$[/URL]{ABI}/quarterly",
# url: "pkg+[URL]http://pkg.FreeBSD.org/$[/URL]{ABI}/release_2",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
}
HOST2 $ cat /etc/make.conf
#PYTHON_DEFAULT_VERSION=python3.6
#DEFAULT_VERSIONS=python=3.6
DEFAULT_VERSIONS+= python=3.6 python3=3.6
#added 20181125
WITH_PKGNG=yes
WITHOUT_X11=yes
NO_WARNING_PKG_INSTALL_EOL=yes
OPTIONS_UNSET=X11
On both servers I use this command to upgrade all ports:
portmaster -L --index-only | egrep '(ew|ort) version|total install' > /tmp/PMAST`/bin/date +\%Y\%m\%d` ; cat /tmp/PMAST`/bin/date +\%Y\%m\%d` ; pkg upgrade
On HOST1 everything is OK, but on HOST2 there are no upgrade does not occur...
What other *.conf files should I check?
Thanks in advance!
---
Yev