Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 23 |
Nodes: | 6 (0 / 6) |
Uptime: | 46:57:49 |
Calls: | 583 |
Files: | 1,138 |
Messages: | 111,071 |
This should never happen.It depends on the definition of "this". It is unclear what is happening there. What command are you running? Are you using the official package repository?
The most recent protobuf-c package update wants to remove and
downgrade incompatible dependencies:
Cannot solve problem using SAT solver, trying another plan
The following 5 package(s) will be affected (of 0 checked):
Installed packages to be UPGRADED:
protobuf-c: 1.5.1_2 -> 1.5.1_3
Installed packages to be DOWNGRADED:
bind-tools: 9.20.10 -> 9.20.9
libxml2: 2.14.4 -> 2.11.9
Installed packages to be REMOVED:
apache24: 2.4.63_1
py311-html5-parser: 0.4.12_2
The operation will free 4 MiB
This should never happen. It never happens on Linux package upgrades,
making autoupdate cron tasks feasible and saving nontrivial admin
time.
What will be the result of pkg check -dan when such a condition occurs?
libxml2 was upgraded to 2.14.4 then reverted to 2.11.9 on 06/21
within an hour, then reupgraded on 6/28 if I read logs correctly.
Freshports lists quarterly package repository is still on 2.11 while
latest is on 2.14; have you switched or activated multiple repos?
Upgrades lead to errors, including on Linux; I broke multiple distros through updates to varying degrees but they were definitely broken by
the action.
As a workaround, you could first run an upgrade with -n and check if
the output contains REMOVED or even DOWNGRADED (rarely happens, but can legitimately happen) and error out + contact admin.
If automating, remember that without an option to run autoremove
during the upgrade that you still need a second command to try to handle dependency cleanup. Without it, any unused dependencies will remain
until they conflict. With the effort to report upgrade used space, you
would think such cleanup would be a default (but preferrably optional)
part of upgrading.
No repo changes, using a single repo built daily on a local poudriere
server.
make sure your ports repository is up-to-date, this is already fixed.