Bug #12796
open2.5.2 -> 2.6.0 upgrade segfaults if certain packages are installed.
0%
Description
If a 2.5.2 install has zabbix-agent52 installed and tries to upgrade to 2.6.0 from console or GUI it will segfault.
Expected behavior: zabbix-agent52 doesn't seem to exist in 2.6.0 repo. Upgrader should recognize this and upgrade zabbix-agent52 to zabbix-agent54.
Actual behavior: Segfault
Ref: https://forum.netgate.com/topic/169845/segmentation-fault-when-attempting-to-upgrade-2-5-2-2-6-0
Files
Updated by Jim Pingle almost 3 years ago
Possible fix (if the lack of MOVED entry is contributing): https://gitlab.netgate.com/pfSense/FreeBSD-ports/-/merge_requests/181
Updated by Jim Pingle almost 3 years ago
- Status changed from New to Feedback
- Assignee set to Jim Pingle
I merged the above fix. We can re-test this after the next package sets get built.
Updated by Christopher Cope over 2 years ago
- Status changed from Feedback to Confirmed
This error is still happening. Just worked with a customer facing this issue while attempting to upgrade.
Updated by Jim Pingle over 2 years ago
For what it's worth this isn't a problem specific to pfSense or our repositories. I've seen this in base FreeBSD when updating pkg-based installs from older versions to a current version. Same scenario, if there is a package installed not present on the new repository it can lead to a segfault.