> I have this same printer running flawlessly in our Ubuntu only network
> (ok, there are some windows VMs too, but that doesn't matter for this
> discussion...)
...
Encouraged by Shawn's success with my printer model and Ubunutu I tried again.
I failed again.
Worse, I seem to have entered dpkg hell.
Installing the package fails and yet I cannot remove it.
I am instructed you re-install the package but that of course fails.
Furthermore, from my current state, I cannot update packages or
upgrade to Ubuntu 11.10
Examples:
If I run:
dpkg -i -force-all dcp7065dnlpr-2.1.0-1.i386.deb
I get:
...
Unpacking replacement dcp7065dnlpr-2.1.0-1.i386 ...
start: Unknown job: lpd
dpkg: warning: subprocess old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
start: Unknown job: lpd
dpkg: error processing dcp7065dnlpr-2.1.0-1.i386.deb (--install):
subprocess new post-removal script returned error exit status 1
start: Unknown job: lpd
dpkg: error while cleaning up:
subprocess new post-removal script returned error exit status 1
Errors were encountered while processing:
dcp7065dnlpr-2.1.0-1.i386.deb
If I try:
sudo dpkg -P dcp7065dnlpr-2.1.0-1.i386
I get:
dpkg: warning: there's no installed package matching dcp7065dnlpr-2.1.0-1.i386
If I try:
sudo apt-get install -f
I get:
...
Preparing to replace dcp7065dnlpr 2.1.0-1 (using
.../dcp7065dnlpr-2.1.0-1.i386.deb) ...
Unpacking replacement dcp7065dnlpr ...
start: Unknown job: lpd
dpkg: warning: subprocess old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
start: Unknown job: lpd
dpkg: error processing
/home/rocky/MyDebs/./OLD/dcp7065dnlpr-2.1.0-1.i386.deb (--unpack):
subprocess new post-removal script returned error exit status 1
start: Unknown job: lpd
dpkg: error while cleaning up:
subprocess new post-removal script returned error exit status 1
Errors were encountered while processing:
/home/rocky/MyDebs/./OLD/dcp7065dnlpr-2.1.0-1.i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
If I start up Synaptic Package Manager and select Brother and then package:
dcp7065dnlpr
(installed version: 2.1.0-1)
(latest version 2.1.0-1)
(Description Brother DCP-7065DN LPR driver)
and then try:
remove package or remove package completely
I get:
E: dcp7065dnlpr: Package is in a very bad inconsistent state - you
should reinstall it before attempting a removal.
But if I try:
reinstall package
I get:
E: /home/rocky/MyDebs/./OLD/dcp7070dwlpr-2.1.0-1.i386.deb: subprocess
new post-removal script returned error exit status 1
==================================
I have run out of ideas.
How do I remove my package?
Thanks from dpkg hell
Ralph (Rocky) Boland
_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying