Project

General

Profile

Actions

Bug #12796

open

2.5.2 -> 2.6.0 upgrade segfaults if certain packages are installed.

Added by M Felden about 2 years ago. Updated almost 2 years ago.

Status:
Confirmed
Priority:
Normal
Assignee:
-
Category:
Upgrade
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
2.6.0
Affected Architecture:

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

segf3.JPG (134 KB) segf3.JPG M Felden, 02/14/2022 10:49 AM
segf.JPG (84.8 KB) segf.JPG M Felden, 02/14/2022 10:49 AM
Actions #1

Updated by Viktor Gurov about 2 years ago

  • Affected Version set to 2.6.0
Actions #2

Updated by Jim Pingle about 2 years ago

Possible fix (if the lack of MOVED entry is contributing): https://gitlab.netgate.com/pfSense/FreeBSD-ports/-/merge_requests/181

Actions #3

Updated by Jim Pingle about 2 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.

Actions #4

Updated by Jim Pingle almost 2 years ago

  • Assignee deleted (Jim Pingle)
Actions #5

Updated by Christopher Cope almost 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.

Actions #6

Updated by Jim Pingle almost 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.

Actions

Also available in: Atom PDF