pkg
pkg copied to clipboard
bad upgrade order on conflict
So, today, when upgrading, the old xorgproto and the new libX11 conflict. So, I get this:
Checking for upgrades (7 candidates): 100%
Processing candidates (7 candidates): 100%
The following 7 package(s) will be affected (of 0 checked):
Installed packages to be UPGRADED:
xorgproto: 2019.1 -> 2019.2 [abso]
tiff: 4.0.10_1 -> 4.1.0 [abso]
py36-requests: 2.21.0 -> 2.22.0 [abso]
perl5: 5.30.0 -> 5.30.1 [abso]
libX11: 1.6.8,1 -> 1.6.9,1 [abso]
giflib: 5.1.9 -> 5.2.1 [abso]
Installed packages to be REINSTALLED:
php72-gd-7.2.24 [abso] (direct dependency changed: libX11)
Number of packages to be upgraded: 6
Number of packages to be reinstalled: 1
17 MiB to be downloaded.
Proceed with this action? [y/N]: y
[1/7] Fetching xorgproto-2019.2.txz: 100% 217 KiB 222.5kB/s 00:01
[2/7] Fetching tiff-4.1.0.txz: 100% 838 KiB 858.0kB/s 00:01
[3/7] Fetching py36-requests-2.22.0.txz: 100% 82 KiB 83.7kB/s 00:01
[4/7] Fetching php72-gd-7.2.24.txz: 100% 29 KiB 29.7kB/s 00:01
[5/7] Fetching perl5-5.30.1.txz: 100% 14 MiB 14.6MB/s 00:01
[6/7] Fetching libX11-1.6.9,1.txz: 100% 2 MiB 1.7MB/s 00:01
[7/7] Fetching giflib-5.2.1.txz: 100% 231 KiB 236.3kB/s 00:01
Checking integrity... done (1 conflicting)
- libX11-1.6.9,1 [abso] conflicts with xorgproto-2019.1 [installed] on /usr/local/include/X11/extensions/XKBgeom.h
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
The following 8 package(s) will be affected (of 0 checked):
Installed packages to be UPGRADED:
libX11: 1.6.8,1 -> 1.6.9,1 [abso]
tiff: 4.0.10_1 -> 4.1.0 [abso]
giflib: 5.1.9 -> 5.2.1 [abso]
py36-requests: 2.21.0 -> 2.22.0 [abso]
perl5: 5.30.0 -> 5.30.1 [abso]
Installed packages to be REINSTALLED:
php72-gd-7.2.24 [abso] (direct dependency changed: libX11)
Number of packages to be upgraded: 5
Number of packages to be reinstalled: 1
Proceed with this action? [y/N]: y
Installing xorgproto-2019.2...
Extracting xorgproto-2019.2: 100%
[1/8] Deinstalling xorgproto-2019.1...
[1/8] Deleting files for xorgproto-2019.1: 100%
[2/8] Upgrading libX11 from 1.6.8,1 to 1.6.9,1...
[2/8] Extracting libX11-1.6.9,1: 100%
I thought nothing of it at first, but then I wondered if it had really upgraded then removed xorgproto, and it turns out that pkg check -B xorgproto tells me that many files are missing. I do not think it impacts me because xorgproto seems to be only build time files (headers and .pc files) but still, installing the new version and then removing the old seems wrong.
yeah I have identified that one, I can reproduce, but I do not understand yet why it failed
Well, it is doing things the wrong way, it should first deinstall the old xorgproto and then install the new one ;-)
yes I got that part ;)