Something goes wrong while installing
sasl2-bin in Ubuntu 12.04
sudo apt-get install kvm libvirt-bin sasl2-bin
Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: apparmor pm-utils radvd The following NEW packages will be installed: kvm libvirt-bin sasl2-bin 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/1348 kB of archives. After this operation, 4742 kB of additional disk space will be used. Preconfiguring packages ... Selecting previously unselected package kvm. (Reading database ... 103574 files and directories currently installed.) Unpacking kvm (from .../kvm_1%3a84+dfsg-0ubuntu16+1.0+noroms+0ubuntu14.3_amd64.deb) ... Selecting previously unselected package libvirt-bin. Unpacking libvirt-bin (from .../libvirt-bin_0.9.8-2ubuntu17.4_amd64.deb) ... Selecting previously unselected package sasl2-bin. Unpacking sasl2-bin (from .../sasl2-bin_2.1.25.dfsg1-3ubuntu0.1_amd64.deb) ... Processing triggers for ureadahead ... Processing triggers for man-db ... Setting up kvm (1:84+dfsg-0ubuntu16+1.0+noroms+0ubuntu14.3) ... Setting up libvirt-bin (0.9.8-2ubuntu17.4) ... libvirt-bin start/running, process 5535 Setting up sasl2-bin (2.1.25.dfsg1-3ubuntu0.1) ... saslpasswd2: user not found dpkg: error processing sasl2-bin (--configure): subprocess installed post-installation script returned error exit status 20 Errors were encountered while processing: sasl2-bin E: Sub-process /usr/bin/dpkg returned an error code (1)
In case the libdb-dev package plays a role, there is
libdb5.1-devinstalled through apt packet manager.