I've solve the issue by removing the package using: sudo dpkg -r --force-all libaccountsservice0 accountsservice indicator- messages indicator-sound
and then running sudo apt-get -f install ** Changed in: accountsservice (Ubuntu) Status: New => Invalid ** Summary changed: - package libaccountsservice0:i386 0.6.40-2ubuntu11.2 failed to install/upgrade: Pakiet jest w złym stanie - powinien zostać zainstalowany ponownie przed próbą jego skonfigurowania. + package libaccountsservice0:i386 0.6.40-2ubuntu11.2 failed to install/upgrade: The package is in poor condition - it should be installed again before attempting to set up. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to accountsservice in Ubuntu. https://bugs.launchpad.net/bugs/1629637 Title: package libaccountsservice0:i386 0.6.40-2ubuntu11.2 failed to install/upgrade: The package is in poor condition - it should be installed again before attempting to set up. Status in accountsservice package in Ubuntu: Invalid Bug description: I've got error when installing claws-mail plugins I got this message from synaptic (translated from Polish using google translate): Errors were encountered while processing: libaccountsservice0 i386 accountsservice E: Sub-process /usr/bin/dpkg returned an error code (1) Failed to install package. An attempt to return to the previous state: dpkg: error processing package libaccountsservice0: i386 (--configure): The package is in poor condition - it should be reinstalled before attempting to set up. dpkg: dependency problems prevent configuration package accountsservice: accountsservice depends libaccountsservice0 (= 0.6.40-2ubuntu11.2); however: Package libaccountsservice0 i386 is not configured yet. dpkg: error processing package accountsservice (--configure): dependency problems - leaving unconfigured I've try to execute `sudo dpkg --configure -a` also again `sudo apt install accountsservice` after installation but that didn't work. ProblemType: Package DistroRelease: Ubuntu 16.04 Package: libaccountsservice0:i386 0.6.40-2ubuntu11.2 ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19 Uname: Linux 4.4.0-38-generic i686 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.1-0ubuntu2.1 Architecture: i386 Date: Sun Oct 2 10:11:45 2016 ErrorMessage: Pakiet jest w złym stanie - powinien zostać zainstalowany ponownie przed próbą jego skonfigurowania. InstallationDate: Installed on 2016-10-01 (0 days ago) InstallationMedia: Xubuntu 16.04.1 LTS "Xenial Xerus" - Release i386 (20160719) RelatedPackageVersions: dpkg 1.18.4ubuntu1.1 apt 1.2.12~ubuntu16.04.1 SourcePackage: accountsservice Title: package libaccountsservice0:i386 0.6.40-2ubuntu11.2 failed to install/upgrade: Pakiet jest w złym stanie - powinien zostać zainstalowany ponownie przed próbą jego skonfigurowania. UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1629637/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp