LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-18-2011, 01:30 PM   #1
siouxzieq
LQ Newbie
 
Registered: Nov 2009
Location: Ireland
Distribution: Mint Isadora
Posts: 13

Rep: Reputation: 0
Unable to install Brother printer drivers


I'm using Mint Isadora 64 bit
I followed instructions from Brother solutions on how to install Linux drivers for my DCP195C printer but didn't get very far, downloaded the LPR driver package and put it on desktop ran suggested code and got this

roo@manzanita-desktop ~ $ rpm -ihv --nodeps (lpr-dcp195clpr-1.1.3-1.i386.rpm
bash: syntax error near unexpected token `('

Which i don't understand,

tried to install from the command line with apt-get but had no success there either.
I sometimes feel very frustrated, i'm not a programmer and spend so much time trying to install hardware and software and don't seem to be learning I also think i may be messing up my OS, i seem to have lots of problems doing anything from the command line, have read a bunch of tutorials and articles on how to 'conquer the command line' i copy the code and follow instructions but it hardly ever works! None of my media players will play movies now either, but i guess that's another post. Thanks for any help.
 
Old 12-18-2011, 05:43 PM   #2
sadiqdm
Member
 
Registered: Nov 2003
Location: London, UK
Distribution: openSUSE, Ubuntu
Posts: 358

Rep: Reputation: 35
As Mint is based on Ubuntu/Debian, you need the .deb version of the driver. It is also safer to do the install from the GUI. I just download the drivers to a directory as a normal user, make sure the permissions allow the file to be executed (right click and select properties > permissions), then do a right click and select "open with package installer". It will ask for your password, and should then run the install.

So far I have had no problems with Brother drivers on Ubuntu since 9.04 (just finished upgrading my laptop to 11.04 and it kept the old drivers), Mint 11 & 12, and Suse 10 & 11.

Last edited by sadiqdm; 12-18-2011 at 06:16 PM.
 
1 members found this post helpful.
Old 12-19-2011, 05:02 AM   #3
sadiqdm
Member
 
Registered: Nov 2003
Location: London, UK
Distribution: openSUSE, Ubuntu
Posts: 358

Rep: Reputation: 35
Follow up:

Discovered a problem this morning when re-installing Brother DCP135C drivers on a 64bit machine. The drivers for this printer on the Brother website are old and a marked "i386". The 64bit machine sees this as the "wrong architecture", so the package installer won't work. I did it using the command line method, and although it threw up some errors it worked perfectly when I loaded the Cups admin page. This was using Ubuntu 11.04 & the instructions from here - http://welcome.solutions.brother.com...ion_scn1a.html
 
1 members found this post helpful.
Old 12-19-2011, 05:36 AM   #4
jhw
Member
 
Registered: Apr 2010
Posts: 83

Rep: Reputation: 32
Quote:
Originally Posted by siouxzieq View Post
roo@manzanita-desktop ~ $ rpm -ihv --nodeps (lpr-dcp195clpr-1.1.3-1.i386.rpm
bash: syntax error near unexpected token `('

Which i don't understand,
Remove the '(' from the command and try again.
 
1 members found this post helpful.
Old 12-24-2011, 11:47 AM   #5
siouxzieq
LQ Newbie
 
Registered: Nov 2009
Location: Ireland
Distribution: Mint Isadora
Posts: 13

Original Poster
Rep: Reputation: 0
Hello and Happy Christmas everybody thanks so much for great help and advice, did as suggested Sadiq but ran into problems that now have me stuck again!

Here's what i did and where i got

roo@manzanita-desktop ~ $ cd Downloads
roo@manzanita-desktop ~/Downloads $ rpm -ihv --nodeps lpr-dcp195clpr-1.1.3-1.i386.rpm
rpm: please use alien to install rpm packages on Debian, if you are really sure use --force-debian switch. See README.Debian for more details.
roo@manzanita-desktop ~/Downloads $ rpm ihv --force-debian lpr-dcp195clpr-1.1.3-1.i386.rpm
RPM version 4.7.2
Copyright (C) 1998-2002 - Red Hat, Inc.
This program may be freely redistributed under the terms of the GNU GPL

Usage: rpm [-afgpWcdlsKiv?] [-a|--all] [-f|--file] [-g|--group]
[-p|--package] [-W|--ftswalk] [--pkgid] [--hdrid] [--fileid]
[--specfile] [--triggeredby] [--whatrequires] [--whatprovides]
[--nomanifest] [-c|--configfiles] [-d|--docfiles] [--dump]
[-l|--list] [--queryformat=QUERYFORMAT] [-s|--state]
[--nofiledigest] [--nomd5] [--nofiles] [--nodeps] [--noscript]
[--comfollow] [--logical] [--nochdir] [--nostat] [--physical]
[--seedot] [--xdev] [--whiteout] [--addsign] [-K|--checksig]
[--delsign] [--import] [--resign] [--nodigest] [--nosignature]
[--initdb] [--rebuilddb] [--aid] [--allfiles] [--allmatches]
[--badreloc] [-e|--erase=<package>+] [--excludedocs]
[--excludepath=<path>] [--fileconflicts] [--force] [--force-debian]
[-F|--freshen=<packagefile>+] [-h|--hash] [--ignorearch]
[--ignoreos] [--ignoresize] [-i|--install] [--justdb] [--nodeps]
[--nofiledigest] [--nomd5] [--nocontexts] [--noorder] [--nosuggest]
[--noscripts] [--notriggers] [--oldpackage] [--percent]
[--prefix=<dir>] [--relocate=<old>=<new>] [--replacefiles]
[--replacepkgs] [--test] [-U|--upgrade=<packagefile>+] [--quiet]
[-D|--define='MACRO EXPR'] [-E|--eval='EXPR'] [--macros=<FILE:...>]
[--nodigest] [--nosignature] [--rcfile=<FILE:...>] [-r|--root=ROOT]
[--querytags] [--showrc] [--quiet] [-v|--verbose] [--version]
[-?|--help] [--usage] [--scripts] [--setperms] [--setugids]
[--conflicts] [--obsoletes] [--provides] [--requires] [--info]
[--changelog] [--xml] [--triggers] [--last] [--dupes]
[--filesbypkg] [--fileclass] [--filecolor] [--fscontext]
[--fileprovide] [--filerequire] [--filecaps]

roo@manzanita-desktop ~/Downloads $ apt-get install dcp195clpr-1.1.3-1.i386.rpm
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
roo@manzanita-desktop ~/Downloads $ dpkg -i --force-all dcp195ccupswrapper-1.1.3-1.i386.rpm
dpkg: operation requires read/write access to dpkg status area
roo@manzanita-desktop ~/Downloads $ dpkg -i --force-all dcp195ccupswrapper-1.1.3-1.i386.rpm
dpkg: operation requires read/write access to dpkg status area
roo@manzanita-desktop ~/Downloads $ apt-get install dcp195ccupswrapper-1.1.3-1.i386.rpm
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
roo@manzanita-desktop ~/Downloads $

know i'm doing something wrong! am definately logged in as root with administrator priviledges have checked 'file allowed to be executed' in the permissions on cups wrapper and all are read and write! so does dpkg status area mean something else?

Thanks for the translation jhw "Remove the '(' from the command and try again" was much clearer than "syntax error near unexpected token `('" :-)
 
Old 12-24-2011, 06:32 PM   #6
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia 7 - Debian 10 - Artix Linux
Posts: 1,142
Blog Entries: 5

Rep: Reputation: 207Reputation: 207Reputation: 207
You need the lpr & cupswrapper .deb files if you're using Mint, not the .rpm version.

http://welcome.solutions.brother.com...efore.html#004

If you're using the 64 bit version, Read the Readme file, which states this as requirements:

Quote:
Pre-required Procedure (5)
Related distributions
Debian 64 bit version, Ubuntu 64 bit version
Related products/drivers
printer/PC-FAX drivers
Requirement
ia32-libs or lib32stdc++ is required to be installed.
 
1 members found this post helpful.
Old 12-29-2011, 10:20 AM   #7
siouxzieq
LQ Newbie
 
Registered: Nov 2009
Location: Ireland
Distribution: Mint Isadora
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks FredG,
Knew i needed the .deb files but for some reason didn't see them on the download page and thought rpm was all there was so i'd give it a try, Doh!! how newbie found them once i looked again. Logged in as ordinary user, used sudo and got this:
manzanita@manzanita-desktop ~ $ sudo apt-get install dcp195clpr-1.1.3-1.i386.deb[sudo] password for manzanita:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package dcp195clpr-1.1.3-1.i386.deb

So then i moved files from desktop to Downloads did ls and made sure they were there and got same thing!?

manzanita@manzanita-desktop ~/Downloads $ sudo apt-get install dcp195clpr-1.1.3-1.i386.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package dcp195clpr-1.1.3-1.i386.deb

Tried the code from Brother solutions and got this

manzanita@manzanita-desktop ~/Downloads $ sudo dpkg -i --force-all lpr-dcp195clpr-1.1.3-1.i386.deb
dpkg: error processing lpr-dcp195clpr-1.1.3-1.i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
lpr-dcp195clpr-1.1.3-1.i386.deb

So did ls again and it says it's there!

manzanita@manzanita-desktop ~/Downloads $ ls
coyote-1.jpg dcp195clpr-1.1.3-1.i386(1).deb
dcp195ccupswrapper-1.1.3-1.i386.deb

Checked 'execute file as program' box read the Readme and checked requirements were installed
So.....?? help much appreciated
 
Old 12-30-2011, 02:10 AM   #8
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia 7 - Debian 10 - Artix Linux
Posts: 1,142
Blog Entries: 5

Rep: Reputation: 207Reputation: 207Reputation: 207
What happens if you run dpkg -i --force-all lpr-dcp195clpr-1.1.3-1.i386, without the .deb part? It should not need the --force-all flag either.

It's been awhile since I ran a Debian type distro but with my AIO, it installed without issues. Mine is a different model.
 
Old 01-04-2012, 04:35 PM   #9
siouxzieq
LQ Newbie
 
Registered: Nov 2009
Location: Ireland
Distribution: Mint Isadora
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks again Fred but no that just produced the same message, have been looking at some other forum posts on this printer but still stuck
 
  


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
[SOLVED] Brother printer HL-2270DW driver - Brother solutions offer four - which one? juneymoon Linux - Software 9 06-15-2013 04:52 PM
Installing drivers for printer, Brother MFC-J280W bplis* Linux - Software 5 11-27-2011 07:12 PM
Unable to print with Brother MFC-7420 printer eadmati Linux - Newbie 3 04-06-2009 02:42 AM
Install network Brother Printer candle_66 SUSE / openSUSE 2 12-01-2005 06:21 PM
Brother Printer Drivers Site Down Michael Johnson Linux - General 1 07-21-2005 01:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:28 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
Open Source Consulting | Domain Registration