When you do a
In this case I did run
(full log here)
pkg upgrade
and it happens to fail and exit midway through the process, this could potentially leave the system in a state where packages are 'lost'. In this case I did run
pkg info
prior to starting so I can have a record of what's installed (I've been burned by this before). The pkg() tool shouldn't behave this way. Also notice how it also wanted to remove the DNS server and not upgrade it.(full log here)
Code:
[162/276] Installing libgpg-error-1.55...
[162/276] Extracting libgpg-error-1.55: 100%
[163/276] Installing libgcrypt-1.11.1...
[163/276] Extracting libgcrypt-1.11.1: 100%
[164/276] Installing libnghttp2-1.66.0...
[164/276] Extracting libnghttp2-1.66.0: 100%
[165/276] Installing curl-8.15.0...
[165/276] Extracting curl-8.15.0: 100%
[166/276] Installing mongodb70-7.0.22...
pkg: mongodb70-7.0.22 conflicts with mongodb60-6.0.20_2 (installs files into the same place). Problematic file: /usr/local/bin/mo ngod
root@saturn:~ # pkg upgrade
Updating Saturn repository catalogue...
Saturn repository is up to date.
All repositories are up to date.
Checking for upgrades (49 candidates): 100%
Processing candidates (49 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.