LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-01-2009, 04:16 PM   #1
coucoucbm
LQ Newbie
 
Registered: May 2009
Posts: 2

Rep: Reputation: 0
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.
 
Old 05-02-2009, 01:22 PM   #2
emetib
Member
 
Registered: Feb 2003
Posts: 482

Rep: Reputation: 33
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
 
Old 05-02-2009, 08:27 PM   #3
coucoucbm
LQ Newbie
 
Registered: May 2009
Posts: 2

Original Poster
Rep: Reputation: 0
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
 
Old 05-03-2009, 10:58 AM   #4
emetib
Member
 
Registered: Feb 2003
Posts: 482

Rep: Reputation: 33
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
have problem with package manager paulzhoucn Red Hat 1 11-27-2008 05:18 PM
Problem with RPM package Manager ajayyadavmca Linux - Enterprise 1 09-12-2008 02:18 AM
Questions related to package manager based and manual installation koobi Red Hat 3 11-05-2007 07:46 AM
Poll: Yast Package Manager vs. Smart Package Manager in 10.1 agentchange SUSE / openSUSE 6 06-02-2006 09:29 AM
message "Problem during installation: x package needed for (installed) x package frayed2 Linux - Newbie 1 04-24-2005 08:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration