Can't upgrade samba-common-bin: undefined symbol: smb_strtoul
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I upgraded my 18.04 system to 20.04 a week ago. Today I did a apt-get dist-upgrade and new Samba version where there, and I tried upgrading. However, I got the following error:
Setting up samba-common-bin (2:4.11.
Checking smb.conf with testparm
testparm: symbol lookup error: /usr/lib/
dpkg: error processing package samba-common-bin (--configure):
installed samba-common-bin package post-installation script subprocess returned error exit status 127
dpkg: dependency problems prevent configuration of samba:
samba depends on samba-common-bin (= 2:4.11.
Package samba-common-bin is not configured yet.
dpkg: error processing package samba (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
samba-common-bin
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
It seems to fail at testparm of smb.conf, so I reverted that one temporarily to the standard smb.conf, not my own customized one. Still it always fails.
I removed all samba and smb packages, and reinstalled, same issue.
Description: Ubuntu 20.04 LTS
Release: 20.04
You may have had an old samba from 18.04 still installing, as a result of your release upgrade. Could you please run this command and show the output?
dpkg -l | grep -E "(samba| smb|registry- tools|winbind| libwbclient| ctdb)"