SOLVED - Synaptic and Kpackage

Questions about applications and software
Forum rules
Before you post please read this

SOLVED - Synaptic and Kpackage

Postby gman on Thu May 24, 2007 11:46 pm

I tried installing and uninstalling drivers for my Brother Printer. Instead of uninstalling, Kpackage shows several version of the install. I tried to uninstall in Kpackage and get the following:

DEBIAN_FRONTEND=readline; export DEBIAN_FRONTEND; apt-get remove --yes mfc620cnlpr ;echo RESULT=$?
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package cupswrappermfc620cn needs to be reinstalled, but I can't find an archive for it.
RESULT=100

So I try to reinstall and get the following:

dpkg -i '///opt/users/brother/mfc620cnlpr-1.0.2-1.i386.deb' ;echo RESULT=$?
(Reading database ... 89652 files and directories currently installed.)
Preparing to replace mfc620cnlpr 1.0.2-1 (using .../mfc620cnlpr-1.0.2-1.i386.deb) ...
Unpacking replacement mfc620cnlpr ...
(Noting disappearance of brscan2, which has been completely replaced.)
rmdir: /usr/local/Brother/sane/GrayCmData/ALL: No such file or directory
rmdir: /usr/local/Brother/sane/GrayCmData/AL: No such file or directory
rmdir: /usr/local/Brother/sane/GrayCmData: No such file or directory
rmdir: /usr/local/Brother/sane: No such file or directory
dpkg: error processing ///opt/users/brother/mfc620cnlpr-1.0.2-1.i386.deb (--install):
subprocess post-removal script (for disappearance) script returned error exit status 1
Errors were encountered while processing:
///opt/users/brother/mfc620cnlpr-1.0.2-1.i386.deb
RESULT=1

When I try to open Synaptic I get the following:

E: The package cupswrappermfc620cn needs to be reinstalled, but I can't find an archive for it.
E: Internal error opening cache (1). Please report.

and Synaptic closes.

Not sure where to go from here. How do I fix this?
Last edited by gman on Fri May 25, 2007 9:49 am, edited 1 time in total.
gman
Level 2
Level 2
 
Posts: 95
Joined: Thu May 24, 2007 3:56 pm
Location: "Key West" Milwaukee

Linux Mint is funded by ads and donations.
 

Postby gman on Thu May 24, 2007 11:53 pm

This is the first time I have ever encountered this in a distro and it is rather disturbing. If I have to reinstall I'm going to blow a gasket!
gman
Level 2
Level 2
 
Posts: 95
Joined: Thu May 24, 2007 3:56 pm
Location: "Key West" Milwaukee

Postby gman on Thu May 24, 2007 11:55 pm

Should also mention that every time I try to run apt-get something from command line I get the following:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package cupswrappermfc620cn needs to be reinstalled, but I can't find an archive for it.
gman
Level 2
Level 2
 
Posts: 95
Joined: Thu May 24, 2007 3:56 pm
Location: "Key West" Milwaukee

Postby gman on Fri May 25, 2007 7:06 am

Not quite sure what I did, but a few more attempts to reinstall in KPackage seemed to work.
gman
Level 2
Level 2
 
Posts: 95
Joined: Thu May 24, 2007 3:56 pm
Location: "Key West" Milwaukee

Postby gman on Fri May 25, 2007 8:26 am

The Brother .deb packages worked in Kubuntu but are killing installation programs in Mint. I'm going to download the RPM's and use alien to create the deb packages and run those to see if I get better results. I'm at the point now that I can get KPackage and Synaptic to at least open, but I can;t install anything because of corrupt brscan2 package. I need to restart to install packages after the brscan2 package installation becomes corrupt.
gman
Level 2
Level 2
 
Posts: 95
Joined: Thu May 24, 2007 3:56 pm
Location: "Key West" Milwaukee

Postby gman on Fri May 25, 2007 8:51 am

Installation programs hosed again by brscan2. Now I get the following whne trying to install packages:

E: brscan2: subprocess post-removal script returned error exit status 1
gman
Level 2
Level 2
 
Posts: 95
Joined: Thu May 24, 2007 3:56 pm
Location: "Key West" Milwaukee

Postby gman on Fri May 25, 2007 9:50 am

Found this on the Ubuntu forums:

Open a console and type in the following:

Code:

sudo gedit /var/lib/dpkg/status

Search through the file for any reference to taskjuggler and CAREFULLY delete all of that entry.

Save the file

Code:

sudo apt-get update

Your problem should now be solved, as Synaptic can no longer see this errant package and as disk space is taken up, it will be over-written.

So in my case I looked for reference to brscan2 and deleted that entry and now all is well.
gman
Level 2
Level 2
 
Posts: 95
Joined: Thu May 24, 2007 3:56 pm
Location: "Key West" Milwaukee

Postby exploder on Fri May 25, 2007 3:04 pm

Nice solution! Were you able to get the printer working?
exploder
Level 15
Level 15
 
Posts: 5893
Joined: Tue Feb 13, 2007 10:50 am
Location: HartfordCity, Indiana USA

Postby gman on Fri May 25, 2007 11:54 pm

I was able to get the printer working by using advice from some threads on the Ubuntu forum. I'm working on a how for the Brother printer install. I may also work on a wireless how to for RTL8187.
gman
Level 2
Level 2
 
Posts: 95
Joined: Thu May 24, 2007 3:56 pm
Location: "Key West" Milwaukee

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 15 guests