I have a package, hl1450lpr:i386, which is marked red in Package Manager for removal and it is preventing me from doing any updates. If I try to Unmark it immediately it goes back to red again. The Brother HL1450 printer on this machine is working as is the HP Deskjet 5550 so I don't really want to uninstall
anything. I have tried to remove it thus:
Code: Select all
bob@MainDesk ~ $ sudo apt-get remove hl1450lpr:i386
[sudo] password for bob:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
hl1450lpr:i386
0 to upgrade, 0 to newly install, 1 to remove and 83 not to upgrade.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 812444 files and directories currently installed.)
Removing hl1450lpr:i386 (1.1.2-1) ...
/var/lib/dpkg/info/hl1450lpr.postrm: 3: /var/lib/dpkg/info/hl1450lpr.postrm: /etc/init.d/lpd: not found
dpkg: error processing package hl1450lpr:i386 (--remove):
subprocess installed post-removal script returned error exit status 127
Errors were encountered while processing:
hl1450lpr:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)
exit status 127" and nothing is done.
I have tried to find "hl1450lpr:i386" using Midnight Commander but have come up with nothing. Is it trying to remove a package that doesn't exist?
Anyone got any ideas short of a complete re-install of the operating system?