pkg
pkg copied to clipboard
pkg often wants to reinstall itself for no reason
Here is a typescript. First run (just normal pkg upgrade after changing a package in the repo):
root@khavrinen$ pkg upgrade
Updating isfahel repository catalogue...
Fetching meta.conf: 100% 163 B 0.2kB/s 00:01
Fetching packagesite.txz: 100% 333 KiB 340.6kB/s 00:01
Processing entries: 100%
isfahel repository update completed. 1490 packages processed.
All repositories are up to date.
Checking for upgrades (1 candidates): 100%
Processing candidates (1 candidates): 100%
The following 1 package(s) will be affected (of 0 checked):
Installed packages to be REINSTALLED:
emacs-26.3_4,3 (options changed)
Number of packages to be reinstalled: 1
40 MiB to be downloaded.
Proceed with this action? [y/N]: y
[1/1] Fetching emacs-26.3_4,3.txz: 100% 40 MiB 42.1MB/s 00:01
Checking integrity... done (0 conflicting)
[1/1] Reinstalling emacs-26.3_4,3...
[1/1] Extracting emacs-26.3_4,3: 100%
Now installing inkscape, same session, repository unchanged:
root@khavrinen$ pkg install inkscape
Updating isfahel repository catalogue...
isfahel repository is up to date.
All repositories are up to date.
Checking integrity... done (1 conflicting)
- ImageMagick6-6.9.11.6,1 conflicts with ImageMagick7-7.0.10.6 on /usr/local/bin/Magick++-config
Checking integrity... done (0 conflicting)
The following 4 package(s) will be affected (of 0 checked):
Installed packages to be REMOVED:
ImageMagick7: 7.0.10.6
New packages to be INSTALLED:
ImageMagick6: 6.9.11.6,1
inkscape: 0.92.4_16
Installed packages to be REINSTALLED:
pkg-1.14.3
Number of packages to be removed: 1
Number of packages to be installed: 2
Number of packages to be reinstalled: 1
The process will require 128 MiB more space.
Why does it want to reinstall the pkg package? It didn't want to when I ran the upgrade a few seconds ago?
I also saw it happening lots of times on pfSense