Apt upgrade failure: Sub-process /usr/bin/dpkg returned an error code (1)

Something is going wrong with the following package python3-samba.
As a result, I cannot proceed with any update due to this issue.
I have tried removing the aforementioned package but in vain.
I have also removed all the associated with the troublesome package files from /var/lib/dpkg/info.
I tried also to reconfigure the dpkg database with no luck:

root@lubuntuhome:~# dpkg --configure -a
dpkg: error processing package python3-samba (--configure):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting configuration
Errors were encountered while processing:

It seems that it is a bug. It has been reported recently.


It’s me who reported this.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.