Solution: Step 1: sudo dpkg --remove --force-remove-reinstreq foomatic-filters
Step 2: sudo dpkg --remove --force-remove-reinstreq printer-driver-foo2zjs End: apt-get -f install -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to foomatic-filters in Ubuntu. https://bugs.launchpad.net/bugs/1682842 Title: package foomatic-filters 4.0.17-8 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting a removal Status in foomatic-filters package in Ubuntu: New Bug description: run apt-get -f install dpkg: warning: ignoring request to remove cups-filters, only the config files of which are on the system; use --purge to remove them too Selecting previously unselected package cups-filters. dpkg: considering removing foomatic-filters in favour of cups-filters ... dpkg: foomatic-filters is not properly installed; ignoring any dependencies on it dpkg: package foomatic-filters requires reinstallation, will not remove dpkg: regarding .../cups-filters_1.8.3-2ubuntu3.1_amd64.deb containing cups-filters: cups-filters conflicts with foomatic-filters foomatic-filters (version 4.0.17-8) is present and broken due to failed removal or installation. dpkg: error processing archive /var/cache/apt/archives/cups-filters_1.8.3-2ubuntu3.1_amd64.deb (--unpack): conflicting packages - not installing cups-filters Errors were encountered while processing: /var/cache/apt/archives/cups-filters_1.8.3-2ubuntu3.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Package DistroRelease: Ubuntu 16.04 Package: foomatic-filters 4.0.17-8 ProcVersionSignature: Ubuntu 4.4.0-72.93-generic 4.4.49 Uname: Linux 4.4.0-72-generic x86_64 NonfreeKernelModules: nvidia_uvm nvidia wl ApportVersion: 2.20.1-0ubuntu2.5 Architecture: amd64 Date: Fri Apr 14 22:10:10 2017 Dependencies: DpkgHistoryLog: Start-Date: 2017-04-14 22:10:07 Requested-By: habm (1000) Install: cups-filters:amd64 (1.8.3-2ubuntu3.1, automatic) Upgrade: dnsmasq-base:amd64 (2.75-1ubuntu0.16.04.1, 2.75-1ubuntu0.16.04.2), libwebkit2gtk-4.0-37:amd64 (2.14.5-0ubuntu0.16.04.1, 2.16.1-0ubuntu0.16.04.1), gir1.2-webkit2-4.0:amd64 (2.14.5-0ubuntu0.16.04.1, 2.16.1-0ubuntu0.16.04.1), libjavascriptcoregtk-4.0-18:amd64 (2.14.5-0ubuntu0.16.04.1, 2.16.1-0ubuntu0.16.04.1), libwebkit2gtk-4.0-37-gtk2:amd64 (2.14.5-0ubuntu0.16.04.1, 2.16.1-0ubuntu0.16.04.1), gir1.2-javascriptcoregtk-4.0:amd64 (2.14.5-0ubuntu0.16.04.1, 2.16.1-0ubuntu0.16.04.1) Remove: foomatic-filters:amd64 (4.0.17-8) ErrorMessage: package is in a very bad inconsistent state; you should reinstall it before attempting a removal InstallationDate: Installed on 2017-01-30 (74 days ago) InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719) RelatedPackageVersions: dpkg 1.18.4ubuntu1.1 apt 1.2.19 SourcePackage: foomatic-filters Title: package foomatic-filters 4.0.17-8 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting a removal UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/foomatic-filters/+bug/1682842/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

