LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Driver Installation Problem with Package Manager (https://www.linuxquestions.org/questions/linux-newbie-8/driver-installation-problem-with-package-manager-723011/)

coucoucbm 05-01-2009 03:16 PM

Driver Installation Problem with Package Manager
 
Hi every body,

I was a windows user until recently after I converted to linux (Much safer ) so I'm new in the Linux field and just starting using Ubuntu8.10.

I was trying to install a driver for a printer from Brother web site (see link: http://solutions.brother.com/linux/e....html#MFC-8500)
After I downloaded the deb package I double clicked on it and I though installation will be easy. but it did not go through.

1-I have tried to run the installation command from the terminal as they say in this page/step4 (http://solutions.brother.com/linux/e...tion_prn3.html) but I got this error message:

dpkg: operation requires read/write access to dpkg status area

2-I tried the same command with sudo, but I got:

dpkg: error processing mfc8500lpr-1.1.2-1.i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
mfc8500lpr-1.1.2-1.i386.deb

since then the Package Manager has a stop sign with this error notice:
An error occured, please run Package manager from the right-click menu or apt-get in a terminal to see what is wrong. the error message was:'unknown Error:"<Type'exceptions.SystemError'>'(E:The package mfc8500lpr needs to be reinstalled, but I can't find an archive for it.)'This usually means that your installed packages have unmet dependencies

3-Synaptic shows and error message when it stats then shuts off.
E: The package mfc8500lpr needs to be reinstalled, but I can't find an archive for it.
E: Internal error opening cache (1). Please report.



4-I tried to do the sudo installation from the folder as follow but did not work:


mohamed@mohamed-laptop:~$ cd /home/mohamed/Desktop/Appplications
mohamed@mohamed-laptop:~/Desktop/Appplications$ sudo dpkg -i --force-all --force-architecture mfc8500lpr-1.1.2-1.i386.deb
(Reading database ... 140009 files and directories currently installed.)
Preparing to replace mfc8500lpr 1.1.2-1 (using mfc8500lpr-1.1.2-1.i386.deb) ...
Unpacking replacement mfc8500lpr ...
/var/lib/dpkg/info/mfc8500lpr.postrm: 3: /etc/init.d/lpd: not found
dpkg: warning - old post-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/postrm: 3: /etc/init.d/lpd: not found
dpkg: error processing mfc8500lpr-1.1.2-1.i386.deb (--install):
subprocess new post-removal script returned error exit status 127
/var/lib/dpkg/tmp.ci/postrm: 3: /etc/init.d/lpd: not found
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
mfc8500lpr-1.1.2-1.i386.deb
mohamed@mohamed-laptop:~/Desktop/Appplications$

Any thoughts?
Thanks in advance.

emetib 05-02-2009 12:22 PM

looking at the site it has both cups and lpr drivers.
it looks like you are trying to install the lpr driver and you don't have the lpd, line printer deamon, installed.

make sure that you're using lpr/lpd and not cups.
personally i would be using the cups driver. you probably do have the cups system installed right now.

cheers

coucoucbm 05-02-2009 07:27 PM

Thank you emetib for your reply



looking at the site it has both cups and lpr drivers.
it looks like you are trying to install the lpr driver and you don't have the lpd, line printer deamon, installed.

I tried to restart from the beginning and redo the installation properly as they say in this page http://solutions.brother.com/linux/e...ion_prn1a.html
but I was not able to get step2 done because I need to have ia32-libs or lib32stdc++ installed. I tried that and got this message

mohamed@mohamed-laptop:~$ sudo apt-get install ia32-libs
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package mfc8500lpr needs to be reinstalled, but I can't find an archive for it.
mohamed@mohamed-laptop:~$



It seems like my original installation error is messing all the process!



make sure that you're using lpr/lpd and not cups.
personally i would be using the cups driver. you probably do have the cups system installed right now.

for my printer MFC-8500 there is no ppd driver so I need top install the lpr and the cupswrapper drivers

do you see any light for this problem at the end of the tunnel?

THX

emetib 05-03-2009 09:58 AM

did the lib32 libraries install?
i seen the error, yet check. to check-
dpkg -l | grep mfc8500
you should see a couple of ii at the biginning of the line.
dpkg -P brothers_driver
dpkg -i brothers_drive.deb

with the tow lines above, for the first, use the output from the dpkg/grep combo.
for the second use the whole package name.


All times are GMT -5. The time now is 06:35 PM.