I'm tired of running portmaster -ad and taking two or three days to build all the ports, resolving so many issues that pop up along the way. But pkg scares the hell out of me. I manage two servers. I have no backup or test systems to try things out before going into production. Both of these systems are live on the internet and in production. So, it's critical that I get updates right.
But, when I run pkg upgrade, it wants to uninstall ports that I absolutely need.
For example, one server is the mail server. The other is the webserver. Since web is more critical, and mail can be down for five days before we start losing mail, I always run upgrades on the mail server first. That helps me iron out any bugs, discover which major ports (like perl, php, python, etc.) need to be upgraded (and upgrade all the dependent ports) before moving to the web server and risking taking it down.
Tonight, I ran pkg upgrade, and it wanted to uninstall postfix. Why would it do that? So, I locked postfix, and ran it again. Then it wanted to uninstall 10 apps. I really don't understand what's going on. Can someone explain it to me?
This is the first run. Obviously, I don't want to uninstall postfix, so I canceled the upgrade. But why on earth does pkg want to uninstall postfix? That's the most important app on this server. I also run mailman on this server, and pkg wants to reinstall it because its options have changed. How can I find out what options have changed so I can determine if I have to lock it as well?
But, when I run pkg upgrade, it wants to uninstall ports that I absolutely need.
For example, one server is the mail server. The other is the webserver. Since web is more critical, and mail can be down for five days before we start losing mail, I always run upgrades on the mail server first. That helps me iron out any bugs, discover which major ports (like perl, php, python, etc.) need to be upgraded (and upgrade all the dependent ports) before moving to the web server and risking taking it down.
Tonight, I ran pkg upgrade, and it wanted to uninstall postfix. Why would it do that? So, I locked postfix, and ran it again. Then it wanted to uninstall 10 apps. I really don't understand what's going on. Can someone explain it to me?
This is the first run. Obviously, I don't want to uninstall postfix, so I canceled the upgrade. But why on earth does pkg want to uninstall postfix? That's the most important app on this server. I also run mailman on this server, and pkg wants to reinstall it because its options have changed. How can I find out what options have changed so I can determine if I have to lock it as well?
Installed packages to be REMOVED:
postfix: 3.5.6,1
New packages to be INSTALLED:
freeglut: 3.2.1
jpeg-turbo: 2.0.6
libGLU: 9.0.2_1
libevent: 2.1.12
libglvnd: 1.3.3
pinentry-curses: 1.1.1
py27-setuptools44: 44.1.1
ruby26: 2.6.8,1
ruby27-gems: 3.0.8
xxhash: 0.8.0
zstd: 1.5.0
Installed packages to be UPGRADED:
GentiumPlus: 5.000_1 -> 6.001
alsa-lib: 1.1.2_2 -> 1.2.2
apache-ant: 1.10.7 -> 1.10.8
avahi-app: 0.7_3 -> 0.8
bsdstats: 7.0 -> 7.0_2
bzip2: 1.0.7 -> 1.0.8
cairo: 1.16.0,2 -> 1.17.4,3
check: 0.15.1 -> 0.15.2
cmake: 3.17.3_1 -> 3.21.0
courier-authlib-base: 0.71.0 -> 0.71.3
courier-authlib-userdb: 0.71.0 -> 0.71.3
courier-imap: 5.0.11,2 -> 5.1.4,2
courier-unicode: 2.1_2 -> 2.2.3
cups: 2.3.3_1 -> 2.3.3op2
cyrus-sasl-saslauthd: 2.1.27_1 -> 2.1.27_2
dbus: 1.12.20 -> 1.12.20_5
dbus-glib: 0.110 -> 0.112
expat: 2.2.8 -> 2.4.1
fontconfig: 2.13.92_2,1 -> 2.13.93_1,1
fop: 2.3 -> 2.6
freetype2: 2.10.2 -> 2.10.4
gettext: 0.20.2 -> 0.21
gobject-introspection: 1.56.1_1,1 -> 1.66.1,1
gpgme: 1.14.0 -> 1.15.1
html2text: 1.3.2a -> 1.3.2a,1
icu: 67.1,1 -> 69.1,1
jasper: 2.0.16_1 -> 2.0.33
java-zoneinfo: 2020.a -> 2021.a
javavmwrapper: 2.7.5 -> 2.7.7
jbig2dec: 0.18 -> 0.19
json-c: 0.14 -> 0.15_1
jsoncpp: 1.9.3 -> 1.9.4
lcms2: 2.11_1 -> 2.12
libX11: 1.6.9_2,1 -> 1.7.2,1
libXaw: 1.0.13_3,2 -> 1.0.14,2
libXt: 1.2.0,1 -> 1.2.1,1
libarchive: 3.4.3,1 -> 3.5.1,1
libassuan: 2.5.3 -> 2.5.5
libdrm: 2.4.102,1 -> 2.4.107,1
libepoll-shim: 0.0.20200602 -> 0.0.20210418
libgd: 2.3.0,1 -> 2.3.1,1
libksba: 1.4.0 -> 1.6.0
liblz4: 1.9.2_1,1 -> 1.9.3,1
libmaxminddb: 1.4.2 -> 1.6.0
libunwind: 20200331 -> 20201110
libuv: 1.38.1 -> 1.41.0
libxcb: 1.13.1 -> 1.14_1
libxshmfence: 1.3 -> 1.3_1
llvm90: 9.0.1_2 -> 9.0.1_3
mDNSResponder: 1096.40.7 -> 1310.120.71
mesa-libs: 19.0.8_2 -> 21.1.5_1
minixmlto: 0.0.2_1 -> 0.0.3
mpfr: 4.1.0 -> 4.1.0_1
neon: 0.30.2_4 -> 0.31.2
oniguruma: 6.9.5.r1_1 -> 6.9.7.1
open-motif: 2.3.8_1 -> 2.3.8_2
opendkim: 2.10.3_11 -> 2.10.3_12
openjdk8: 8.262.10.1 -> 8.302.08.1
p5-Crypt-OpenSSL-Guess: 0.11 -> 0.13
p5-Data-Dump: 1.23_1 -> 1.25
p5-Digest-HMAC: 1.03_1 -> 1.04
p5-ExtUtils-CBuilder: 0.280234,1 -> 0.280236,1
p5-File-Listing: 6.04_1 -> 6.14
p5-HTTP-Cookies: 6.08 -> 6.10
p5-HTTP-Message: 6.25 -> 6.33
p5-IO-Socket-IP: 0.39 -> 0.41
p5-IO-Socket-SSL: 2.068 -> 2.071
p5-JSON-PP: 4.05 -> 4.06
p5-LWP-Protocol-https: 6.09 -> 6.10
p5-Mail-AuthenticationResults: 1.20200331.1 -> 2.20210112
p5-Mail-DKIM: 0.58 -> 1.20200907
p5-Mail-Tools: 2.19 -> 2.21
p5-Mozilla-CA: 20180117 -> 20200520
p5-Net-CIDR-Lite: 0.21_1 -> 0.22
p5-Net-DNS: 1.25,1 -> 1.32,1
p5-Net-HTTP: 6.19 -> 6.21
p5-URI: 1.76 -> 5.09
p5-libwww: 6.46 -> 6.55
patch: 2.7.6_1 -> 2.7.6_2
pciids: 20200624 -> 20210725
pflogsumm: 1.1.5,1 -> 1.1.5_1,1
pinentry: 1.1.0_6 -> 1.1.1
pinentry-tty: 1.1.0 -> 1.1.1
pixman: 0.40.0 -> 0.40.0_1
png: 1.6.37 -> 1.6.37_1
portlint: 2.19.2 -> 2.19.7
portmaster: 3.19_25 -> 3.19_31
py27-Babel: 2.8.0 -> 2.9.1
py27-cython: 0.29.15 -> 0.29.24
py27-pytz: 2020.1,1 -> 2021.1,1
py27-six: 1.14.0 -> 1.16.0
py36-setuptools: 44.0.0 -> 57.0.0
py37-cython: 0.29.15 -> 0.29.24
py37-setuptools: 44.0.0 -> 57.0.0
python36: 3.6.11_1 -> 3.6.14
python37: 3.7.8_1 -> 3.7.11
rhash: 1.3.9 -> 1.4.2
rsync: 3.1.3_1 -> 3.2.3_1
ruby: 2.6.6_1,1 -> 2.7.4,1
rubygem-rdoc: 6.1.2_1 -> 6.3.2
screen: 4.8.0 -> 4.8.0_3
sudo: 1.9.2 -> 1.9.7p1
sysconftool: 0.17 -> 0.18
tiff: 4.1.0 -> 4.3.0
trousers: 0.3.14_2 -> 0.3.14_3
unbound: 1.10.1 -> 1.13.1
w3m: 0.5.3.20200507 -> 0.5.3.20210424
wayland: 1.18.0_4 -> 1.19.0_1
wayland-protocols: 1.20 -> 1.21
webp: 1.1.0 -> 1.2.0
wget: 1.20.3 -> 1.21
xcb-proto: 1.13_1 -> 1.14.1
xorg-macros: 1.19.2 -> 1.19.3
xorgproto: 2020.1 -> 2021.4
Installed packages to be REINSTALLED:
OpenSP-1.5.2_3 (options changed)
apr-1.7.0.1.6.1_1 (direct dependency changed: db5)
autoconf-2.69_3 (ABI changed: 'freebsd:11:x86:64' -> 'freebsd:11:*')
autoconf-wrapper-20131203 (ABI changed: 'freebsd:11:x86:64' -> 'freebsd:11:*')
db5-5.3.28_7 (options changed)
dejavu-2.37_1 (options changed)
docbook-xsl-1.79.1_1,1 (options changed)
dsssl-docbook-modular-1.79_1,1 (ABI changed: 'freebsd:11:x86:64' -> 'freebsd:11:*')
flex-2.6.4_2 (options changed)
gettext-tools-0.21 (options changed)
gnupg1-1.4.23_2 (needed shared library changed)
iso-schematron-xslt-20130313_1 (ABI changed: 'freebsd:11:x86:64' -> 'freebsd:11:*')
jbigkit-2.1_1 (options changed)
llvm80-8.0.1_4 (direct dependency changed: python38)
mailman-2.1.34 (options changed)
netpbm-10.91.01 (options changed)
p5-HTTP-Date-6.05 (direct dependency removed: p5-Time-Local
p5-Net-DNS-Resolver-Programmable-0.009 (options changed
p5-Net-IP-1.26_1 (ABI changed: 'freebsd:11:x86:64' -> 'freebsd:11:*')
p5-Test-NoWarnings-1.04_2 (ABI changed: 'freebsd:11:x86:64' -> 'freebsd:11:*')
p5-type1inst-0.6.1_6 (options changed)
py27-dnspython-1.16.0 (direct dependency changed: py27-setuptools44)
py27-future-0.18.2 (direct dependency changed: py27-setuptools44)
py27-pycparser-2.20 (direct dependency changed: py27-setuptools44)
python27-2.7.18_1 (needed shared library changed)
sqlite3-3.35.5_3,1 (options changed)
texi2html-5.0_2,1 (ABI changed: 'freebsd:11:x86:64' -> 'freebsd:11:*')
Number of packages to be removed: 1
Number of packages to be installed: 11
Number of packages to be upgraded: 114
Number of packages to be reinstalled: 27