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
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
foomatic-filters (Ubuntu) |
New
|
Undecided
|
Unassigned |
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-
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/
conflicting packages - not installing cups-filters
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: foomatic-filters 4.0.17-8
ProcVersionSign
Uname: Linux 4.4.0-72-generic x86_64
NonfreeKernelMo
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.
Remove: foomatic-
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)
RelatedPackageV
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)
Solution:
Step 1: remove- reinstreq foomatic-filters
sudo dpkg --remove --force-
Step 2: remove- reinstreq printer- driver- foo2zjs
sudo dpkg --remove --force-
End:
apt-get -f install