zypper up today breaks jansson

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

zypper up today breaks jansson

Postby carpenox » Thu Mar 18, 2021 6:48 am

/usr/sbin/asterisk: symbol lookup error: /usr/sbin/asterisk: undefined symbol: json_vsprintf


asterisk can not run after this.....


matt?
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: zypper up today breaks jansson

Postby mflorell » Thu Mar 18, 2021 7:15 am

I'm not the VICIbox guy, that's Kumba, but I do know that you should not run "zypper up" every day, you should only run it when you need to perform an upgrade on your server OS, and even then only during scheduled maintenance periods(like over the weekend) where you have the time to deal with issues like this. I will send this to Kumba for him to look at.
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: zypper up today breaks jansson

Postby carpenox » Thu Mar 18, 2021 8:05 am

ok so it seems libjansson-devel will fix the issue

for anyone else having this problem today:

Code: Select all
rpm -i https://download.opensuse.org/repositories/home:/vicidial/openSUSE_Leap_15.1/x86_64/libjansson-devel-2.13.1-lp151.29.1.x86_64.rpm --force
rpm -i https://download.opensuse.org/repositories/home:/vicidial/openSUSE_Leap_15.1/x86_64/libjansson4-2.13.1-lp151.29.1.x86_64.rpm --force


For anyone who does update, make sure you run these commands first which will lock these packages: zypper al libjansson-devel libjansson

before you do any further updates...
Last edited by carpenox on Fri Mar 19, 2021 4:33 am, edited 3 times in total.
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: zypper up today breaks jansson

Postby Kumba » Thu Mar 18, 2021 8:12 am

So the issue stems from ViciBox 10 with Asterisk 16 which requires libjansson v.2.12 or higher. The default libjansson in OpenSuSE is v.2.9. When you did your upgrade it didn't install the newer version of jansson because that requires a vendor change. There's two way to do this.

The nuclear option is to run "zypper dup" and let it do all kinds of package swaps and updates. Currently doing this causes voicesync to complain about the kernel which is a separate issue. I'd probably recommend uninstalling the voicesync driver unless you have the voicesync hardware. This also results in a large portion of the python packages reverting back to the standard OpenSuSE repsoitory because the Python specific repo has been killed off by some over-zealous admins. The python package changes are likely less of a concern unless you have your own python code written on the server. Most of that was for certbot which is broken anyways.

The more precise method is to tell zypper to install just this package update. That can be done witht he following command: zypper in openSUSE-Leap-15.1-ViciDial:libjansson4

Zypper will show that it's doing a vendor change of the package. Once it's done asterisk should start with no issue.
Kumba
 
Posts: 939
Joined: Tue Oct 16, 2007 11:44 pm
Location: Florida

Re: zypper up today breaks jansson

Postby carpenox » Thu Mar 18, 2021 8:14 am

perfect, thanks kumba
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL


Return to Support

Who is online

Users browsing this forum: No registered users and 78 guests