package lcd4linux 0.11.0~svn1197-1ubuntu1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lcd4linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
This happened after resuming the dist-upgrade.
ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: lcd4linux 0.11.0~
ProcVersionSign
Uname: Linux 3.11.0-20-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
Date: Fri May 2 18:53:52 2014
DuplicateSignature: package:
ErrorMessage: subprocess new pre-removal script returned error exit status 1
InstallationDate: Installed on 2013-02-17 (440 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
SourcePackage: lcd4linux
Title: package lcd4linux 0.11.0~
UpgradeStatus: Upgraded to trusty on 2014-05-02 (0 days ago)
tags: | removed: need-duplicate-check |
I don't need this package anymore, but I can't force remove or force install or do anything with it.
$ sudo apt-get -f remove lcd4linux -y svn1197- 1ubuntu1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libftdi1 libmpdclient2
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
lcd4linux
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 526 kB disk space will be freed.
(Reading database ... 452135 files and directories currently installed.)
Removing lcd4linux (0.11.0~
* Stopping lcd4linux lcd4linux invoke-rc.d: initscript lcd4linux, action "stop" failed.
dpkg: error processing package lcd4linux (--remove):
subprocess installed pre-removal script returned error exit status 1
* Starting lcd4linux lcd4linux [ OK ]
Errors were encountered while processing:
lcd4linux
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ sudo apt-get -f install lcd4linux -y 0.11.0~ svn1200- 1+fakesync_ amd64.deb ... apt/archives/ lcd4linux_ 0.11.0~ svn1200- 1+fakesync_ amd64.deb (--unpack): apt/archives/ lcd4linux_ 0.11.0~ svn1200- 1+fakesync_ amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
lcd4linux
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/193 kB of archives.
After this operation, 10.2 kB of additional disk space will be used.
Selecting previously unselected package lcd4linux.
(Reading database ... 452136 files and directories currently installed.)
Preparing to unpack .../lcd4linux_
* Stopping lcd4linux lcd4linux invoke-rc.d: initscript lcd4linux, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
* Stopping lcd4linux lcd4linux invoke-rc.d: initscript lcd4linux, action "stop" failed.
dpkg: error processing archive /var/cache/
subprocess new pre-removal script returned error exit status 1
* Starting lcd4linux lcd4linux [ OK ]
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)