Welcome to the Linux Foundation Forum!
Getting my printer to work again
jhaskins75
Posts: 128
in Ubuntu
After I install Xsane scanner utility. my ability to access my printer ceased. I have a all in one brother printer, MFC240C. It was working previous to this program. I have completely removed xsane from my system and downloaded the proper drivers for my printer. After rebooting, my system recognized my printer, but it keeps saying it can not detect the drivers. I was given a series of commands to enter in my terminal before when this happened, but I have misplaced them. I know I was told that a certain order must be did for the driver download. I am not sure if it is the lpr first or the cups driver first. Please note, my printer is supported from linux via brother web download site.....HELP. Thank you, John:( :dry:
0
Comments
-
Since you found the commands and listed them on another post (http://www.linux.com/community/forums?func=view&catid=8&id=5265&limit=6&start=30#5328). I would like to remove this thread because it is essentially a duplicate.
Please let me know if that is ok or if you wish to address other issues on this thread.0 -
john822@john822-desktop:~$ sudo apt-get install mfc240c
[sudo] password for john822:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package mfc240c
john822@john822-desktop:~$ sudo apt-get cache
E: Invalid operation cache
john822@john822-desktop:~$ /etc/apt/sources.list
bash: /etc/apt/sources.list: Permission denied
john822@john822-desktop:~$ sudo /etc/apt/sources.list
sudo: /etc/apt/sources.list: command not found
john822@john822-desktop:~$ echo /etc/apt/sources.list
/etc/apt/sources.list
john822@john822-desktop:~$ sudo apt-get install brother
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package brother
john822@john822-desktop:~$ apt-get install 1.01.1-1
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?
john822@john822-desktop:~$ sudo apt-get install 1.0.1-1
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package 1.0.1-1
john822@john822-desktop:~$ sudo dpkg-i --install
sudo: dpkg-i: command not found
john822@john822-desktop:~$ dpkg - i --install
dpkg: need an action option
Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --license for copyright license and lack of warranty (GNU GPL) [*].
Options marked [*] produce a lot of output - pipe it through `less' or `more' !
john822@john822-desktop:~$ dpkg - i --install all
dpkg: need an action option
Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --license for copyright license and lack of warranty (GNU GPL) [*].
Options marked [*] produce a lot of output - pipe it through `less' or `more' !
john822@john822-desktop:~$
I just can't seem to do this at all!!!! You mention spaces in the correct order, and I tried mutiple combos
if this was your problem how exactly would you write the command, in that way, I could copy and paste it in my terminal. before, the person actually downloaded those drivers to his system, then gave me the command to install....
I0 -
1. I do not know what mfc240c should be
2. cache is not a package, whta are you trying to accomplish with this command?
3. " /etc/apt/sources.list" - you are only referring toyour sourced file, to edit it you need to open it with a text editor.
4. "echo /etc/apt/sources.list" - the echo command only repeats what you enter after it, the reply is valid. If you want to view the contents of the file you should use cat or less instead of echo.
5. "sudo apt-get install brother" - there is no package called brother, so this will error out.
i will not go over all commands because it looks a little to confused, can you please provide a link to the site that you got the instructions from so we can review the original instructions?0 -
The brother website is www.brother.com click download. My printer is the MFC-240C model All in one. You will be directed to the driver download page, as you will look for model MFC 240 C on the linux driver page....0
-
The instructions on http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/instruction_prn1a.html are correct.
where I put {download folder} you need to replace that with the folder name where the deb file were downloaded to.
sudo dpkg -i {download folder}/mfc240clpr-1.0.1-1.i386.deb
sudo dpkg -i {download folder}/mfc240ccupswrapper-1.0.1-1.i386.deb
sudo dpkg -l | grep Brother
Then proceed to step 5a to setup the print in cups.0 -
john822@john822-desktop:~$ sudo dpkg -i /mfc240clpr-1.0.1-1.i386.deb
[sudo] password for john822:
dpkg: error processing /mfc240clpr-1.0.1-1.i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
/mfc240clpr-1.0.1-1.i386.deb
john822@john822-desktop:~$ sudo dpkg -l | grep Brother
ii brmfcfaxcups 1.0.0-2 Brother MFC/FAX fax share function driver
ii brmfcfaxlpd 1.0.0-2 Brother MFC-FAX LPD driver
ii mfc240ccupswrapper 1.0.1-1 Brother CUPS Inkjet Printer Definitions
ii mfc240clpr 1.0.1-1 Brother lpr Inkjet Printer Definitions
As you can see, your instruction for part one failed, but the 'grep' worked.0 -
I have essentially given up. I have done everything asked of me. I know that my installer sent the package to synaptic and I updated it and it shows and I entered the precise command from brother web page and I think that everything taken into account. The hang up is ' name of download folder ' which is in my Home folder ' john822, and when I open it, it does not show the mfc downloads. The only way to view them is, if I save them to my home folder, then I can view them in my download folder. And brother instruction for their command to force all, shows on the end of the command { lpr-drivername}
I will assume I am not that stupid to say the driver name, at lease to me is: mfc240clpr-1.0.1-1.i386.deb and mfc240ccupswrapper-1.0.1-1.i386.deb I will also assume that my folder name will be john822, if that be a destination, then you guys tell me what the folder name is. Here is what I finally attempted to do by strict instructionsjohn822@john822-desktop:~$ sudo dpkg -i --force-all
lpr-mfc240clpr-1.0.1-1.i386.deb
[sudo] password for john822:
Sorry, try again.
[sudo] password for john822:
Sorry, try again.
[sudo] password for john822:
dpkg: error processing lpr-mfc240clpr-1.0.1-1.i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
lpr-mfc240clpr-1.0.1-1.i386.deb
john822@john822-desktop:~$ dpkg -i --force-all
mfc240clpr-1.0.1-1.i386.deb
dpkg: operation requires read/write access to dpkg status area
john822@john822-desktop:~$ dpkg -i --force-all
mfc240ccupswrapper-1.0.1-1.i386.deb
dpkg: operation requires read/write access to dpkg status area
john822@john822-desktop:~$ sudo dpkg -i --force-all
mfc240clpr-1.0.1-1.i386.deb
dpkg: error processing mfc240clpr-1.0.1-1.i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
mfc240clpr-1.0.1-1.i386.deb
john822@john822-desktop:~$ sudo dpkg -i --force-all lpr-1.0.1-1
dpkg: error processing lpr-1.0.1-1 (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
lpr-1.0.1-1
john822@john822-desktop:~$ sudo dpkg -i --force-all /lpr
dpkg: error processing /lpr (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
/lpr
john822@john822-desktop:~$
:S0 -
The instructions failed because you told the system to install the package from the / or root directory, if you are in the same directory as the packaged you only call the package name, if you are not in the directory you call the directory name prior to the package name which is what I tried to explain.
If this does not make sense you can respond and tell me the directory that the package is in and the name of the package and I will tell you the exact syntax.0 -
Ok, Ok...I definitely have my neurons misfiring....I explained that I am far, far nowhere near understanding the cryptographic intelligence necessary for me to understand what I am supposed to do. In Laymen terms. When I first download the package to my installer manger and before I click the button to install, It is giving me to choices at that point! Open with gdebi installer or save it to file. Now if you where, were I am sitting what would you do? Install it to my home folder which is john822, as that method let's me view the actual file when I click onto my download folder or preceed with opening the gdebi manger and automatically let it install, which goes to my synaptic manager to be updated. From that point, i plug in my printer, turn on the power and instantly a pop up says can not detect printer driver. I openly offer you complete access to my system a desktop support method using my installed program called Teamviewer5, which all you would have to do is go to www.teamviewer.com and used the open web application and click on connect to partner with this ID 663611305 and password 8443 which you will see remote support feature displayed and you will be directly into my system and see exactly what I am trying to convey. It is active as this message reaches you and I will leave it active. You can call me, John at 202.486.5376 for verification.0
Categories
- All Categories
- 217 LFX Mentorship
- 217 LFX Mentorship: Linux Kernel
- 788 Linux Foundation IT Professional Programs
- 352 Cloud Engineer IT Professional Program
- 177 Advanced Cloud Engineer IT Professional Program
- 82 DevOps Engineer IT Professional Program
- 146 Cloud Native Developer IT Professional Program
- 137 Express Training Courses
- 137 Express Courses - Discussion Forum
- 6.1K Training Courses
- 46 LFC110 Class Forum - Discontinued
- 70 LFC131 Class Forum
- 42 LFD102 Class Forum
- 226 LFD103 Class Forum
- 18 LFD110 Class Forum
- 37 LFD121 Class Forum
- 18 LFD133 Class Forum
- 7 LFD134 Class Forum
- 18 LFD137 Class Forum
- 71 LFD201 Class Forum
- 4 LFD210 Class Forum
- 5 LFD210-CN Class Forum
- 2 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum - Discontinued
- 2 LFD233 Class Forum
- 4 LFD237 Class Forum
- 24 LFD254 Class Forum
- 693 LFD259 Class Forum
- 111 LFD272 Class Forum
- 4 LFD272-JP クラス フォーラム
- 12 LFD273 Class Forum
- 144 LFS101 Class Forum
- 1 LFS111 Class Forum
- 3 LFS112 Class Forum
- 2 LFS116 Class Forum
- 4 LFS118 Class Forum
- 4 LFS142 Class Forum
- 5 LFS144 Class Forum
- 4 LFS145 Class Forum
- 2 LFS146 Class Forum
- 3 LFS147 Class Forum
- 1 LFS148 Class Forum
- 15 LFS151 Class Forum
- 2 LFS157 Class Forum
- 25 LFS158 Class Forum
- 7 LFS162 Class Forum
- 2 LFS166 Class Forum
- 4 LFS167 Class Forum
- 3 LFS170 Class Forum
- 2 LFS171 Class Forum
- 3 LFS178 Class Forum
- 3 LFS180 Class Forum
- 2 LFS182 Class Forum
- 5 LFS183 Class Forum
- 31 LFS200 Class Forum
- 737 LFS201 Class Forum - Discontinued
- 3 LFS201-JP クラス フォーラム
- 18 LFS203 Class Forum
- 130 LFS207 Class Forum
- 2 LFS207-DE-Klassenforum
- 1 LFS207-JP クラス フォーラム
- 302 LFS211 Class Forum
- 56 LFS216 Class Forum
- 52 LFS241 Class Forum
- 48 LFS242 Class Forum
- 38 LFS243 Class Forum
- 15 LFS244 Class Forum
- 2 LFS245 Class Forum
- LFS246 Class Forum
- 48 LFS250 Class Forum
- 2 LFS250-JP クラス フォーラム
- 1 LFS251 Class Forum
- 150 LFS253 Class Forum
- 1 LFS254 Class Forum
- 1 LFS255 Class Forum
- 7 LFS256 Class Forum
- 1 LFS257 Class Forum
- 1.2K LFS258 Class Forum
- 10 LFS258-JP クラス フォーラム
- 118 LFS260 Class Forum
- 159 LFS261 Class Forum
- 42 LFS262 Class Forum
- 82 LFS263 Class Forum - Discontinued
- 15 LFS264 Class Forum - Discontinued
- 11 LFS266 Class Forum - Discontinued
- 24 LFS267 Class Forum
- 22 LFS268 Class Forum
- 30 LFS269 Class Forum
- LFS270 Class Forum
- 202 LFS272 Class Forum
- 2 LFS272-JP クラス フォーラム
- 1 LFS274 Class Forum
- 4 LFS281 Class Forum
- 9 LFW111 Class Forum
- 259 LFW211 Class Forum
- 181 LFW212 Class Forum
- 13 SKF100 Class Forum
- 1 SKF200 Class Forum
- 1 SKF201 Class Forum
- 795 Hardware
- 199 Drivers
- 68 I/O Devices
- 37 Monitors
- 102 Multimedia
- 174 Networking
- 91 Printers & Scanners
- 85 Storage
- 758 Linux Distributions
- 82 Debian
- 67 Fedora
- 17 Linux Mint
- 13 Mageia
- 23 openSUSE
- 148 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 353 Ubuntu
- 468 Linux System Administration
- 39 Cloud Computing
- 71 Command Line/Scripting
- Github systems admin projects
- 93 Linux Security
- 78 Network Management
- 102 System Management
- 47 Web Management
- 63 Mobile Computing
- 18 Android
- 33 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 370 Off Topic
- 114 Introductions
- 173 Small Talk
- 22 Study Material
- 805 Programming and Development
- 303 Kernel Development
- 484 Software Development
- 1.8K Software
- 261 Applications
- 183 Command Line
- 3 Compiling/Installing
- 987 Games
- 317 Installation
- 96 All In Program
- 96 All In Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)