Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#26 Le 29/05/2017, à 22:44

Ph Lamy

Re : [Résolu] imprimante Brother DCP-J140W n'imprime plus

lamy@lamy-H97M-HD3:~$ ls ~/Téléchargements
astuces-eloigner-fourmis.pdf         linux-brprinter-installer-2.1.1-1
Banque Postale Avantages_Adesio.pdf  linux-brprinter-installer-2.1.1-1.gz
Banque Postale tarifs 2017.pdf       Percevoir-ma-rente
katalog_16_17_rz_web_fr.pdf          Tarifs_ES_2017.pdf
lamy@lamy-H97M-HD3:~$ 

Hors ligne

#27 Le 29/05/2017, à 22:48

abelthorne

Re : [Résolu] imprimante Brother DCP-J140W n'imprime plus

Le linux-brprinter-installer-2.1.1-1 qu'on voit dans Téléchargements, c'est un dossier ? Si c'est le cas :

ls ~/Téléchargements/linux-brprinter-installer-2.1.1-1

Sinon, si c'est un fichier :

cd ~/Téléchargements
chmod +x linux-brprinter-installer-2.1.1-1
sudo ./linux-brprinter-installer-2.1.1-1

Dernière modification par abelthorne (Le 29/05/2017, à 22:49)

Hors ligne

#28 Le 29/05/2017, à 23:14

Ph Lamy

Re : [Résolu] imprimante Brother DCP-J140W n'imprime plus

SUPER !!!!! L'imprimante fonctionne, mais pas le scanner : lorsque je veux le lancer la fenêtre s'ouvre et se referme aussitôt.
Merci infiniment pour ce résultat.
Je vais m'arrêter pour ce soir. Peut-on reprendre demain pour le scanner ?
Encore merci pour ton aide et ton opiniâtreté, bonne nuit.

lamy@lamy-H97M-HD3:~$ ls ~/Téléchargements
astuces-eloigner-fourmis.pdf         linux-brprinter-installer-2.1.1-1
Banque Postale Avantages_Adesio.pdf  linux-brprinter-installer-2.1.1-1.gz
Banque Postale tarifs 2017.pdf       Percevoir-ma-rente
katalog_16_17_rz_web_fr.pdf          Tarifs_ES_2017.pdf
lamy@lamy-H97M-HD3:~$ cd ~/Téléchargements
lamy@lamy-H97M-HD3:~/Téléchargements$ 
lamy@lamy-H97M-HD3:~/Téléchargements$ chmod +x linux-brprinter-installer-2.1.1-1lamy@lamy-H97M-HD3:~/Téléchargements$ sudo ./linux-brprinter-installer-2.1.1-1
[sudo] Mot de passe de lamy : 
Input model name ->DCP-J140W

You are going to install following packages.
   dcpj140wlpr-1.1.3-6.i386.deb
   dcpj140wcupswrapper-1.1.3-6.i386.deb
   brscan4-0.4.4-3.amd64.deb
   brscan-skey-0.2.4-1.amd64.deb
OK? [y/N] ->y


=========================================
Brother License Agreement

Brother retains any and all copyrights to the Software. In no case this Agreement shall be construed to assign or otherwise transfer from Brother to User any copyrights or other intellectual property rights to whole or any part of the Software.

Brother grants User a non-exclusive license: to reproduce and/or distribute (via Internet or in any other manner) the Software. Further, Brother grants User a non-exclusive license to modify, alter, translate or otherwise prepare derivative works of the Software and to reproduce and distribute (via Internet or in any other manner) such modification, alteration, translation or other derivative works for any purpose.

The license of the Software from Brother hereunder is granted "AS IS." BROTHER HEREBY DISCLAIMS ANY WARRANTIES WITH RESPECT TO THE SOFTWARE, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTY FOR THE QUALITY, MERCHANTABILITY, FITNESS FOR PARTICULAR PURPOSE OR NON-INFRINGEMENT.
Brother shall have no liability in contract, tort (including negligence or breach of statutory duty) or otherwise for any interruption of use, loss of data, or for any indirect, incidental, punitive or consequential loss or damage, or for any loss of profit, revenue, data, goodwill or anticipated savings that arises under, out of, or in contemplation of this Agreement or otherwise arises due to any error, inaccuracy or defect in the Software even if Brother has been advised of the possibility of such loss or damage.
Further, Brother shall have no liability to disclose and/or distribute the source cord of the Software to User under any circumstances. In no case shall the above license by Brother to modify, alter, translate or otherwise prepare derivative works of the Software be construed as Brother's implied agreement or undertakings to disclose and/or distribute the source cord of the Software.
=========================================
Do you agree? [Y/n] ->y

wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/dcpj140wlpr-1.1.3-6.i386.deb
--2017-05-29 22:55:00--  http://www.brother.com/pub/bsc/linux/packages/dcpj140wlpr-1.1.3-6.i386.deb
Résolution de www.brother.com (www.brother.com)… 88.221.113.120, 88.221.113.106
Connexion à www.brother.com (www.brother.com)|88.221.113.120|:80… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 1896930 (1,8M) [text/plain]
Enregistre : «dcpj140wlpr-1.1.3-6.i386.deb»

dcpj140wlpr-1.1.3-6 100%[===================>]   1,81M   239KB/s    in 8,7s    

2017-05-29 22:55:12 (214 KB/s) - «dcpj140wlpr-1.1.3-6.i386.deb» enregistré [1896930/1896930]


=========================================
GPL License Agreement

This Software may be used in accordance with GNU General Public License (GPL). Please read carefully the following GPL and click on "I Accept" button. If you cannot agree with the following terms, please click "I don't Accept" button. In case of your non-acceptance, you can not use this Software.
Note:
Please click on "I Accept" while holding down "Shift" or right click on "I Accept" and select "Save Target As,,," from the menu.

GNU GENERAL PUBLIC LICENSE
Version 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc.51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.

Preamble

The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to your programs, too.

When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.

To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.

For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their rights.

We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.

Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.

Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.

The precise terms and conditions for copying, distribution and modification follow.

GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".

Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.

   1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.

      You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
   2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:

      a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.

      b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.

      c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an
      announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
      
      These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.

      Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.

      In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
   3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:

      a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,

      b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,

      c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you
      received the program in object code or executable form with such an offer, in accord with Subsection b above.)

      The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.

      If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
   4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
   5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying
      the Program or works based on it.
   6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
   7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.

      If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.

      It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.

      This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
   8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
   9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.

      Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
  10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.

NO WARRANTY

  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

END OF TERMS AND CONDITIONS

How to Apply These Terms to Your New Programs

If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.

To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.

<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA


Also add information on how to contact you by electronic and paper mail.

If the program is interactive, make it output a short notice like this when it starts in an interactive mode:

Gnomovision version 69, Copyright (C) year name of author Gnomovision
comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program.

You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names:

Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.

<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice

This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License.
=========================================

Do you agree? [Y/n] ->y

wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/dcpj140wcupswrapper-1.1.3-6.i386.deb
--2017-05-29 22:55:36--  http://www.brother.com/pub/bsc/linux/packages/dcpj140wcupswrapper-1.1.3-6.i386.deb
Résolution de www.brother.com (www.brother.com)… 23.200.87.191, 23.200.87.124
Connexion à www.brother.com (www.brother.com)|23.200.87.191|:80… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 13830 (14K) [text/plain]
Enregistre : «dcpj140wcupswrapper-1.1.3-6.i386.deb»

dcpj140wcupswrapper 100%[===================>]  13,51K  --.-KB/s    in 0,02s   

2017-05-29 22:55:37 (875 KB/s) - «dcpj140wcupswrapper-1.1.3-6.i386.deb» enregistré [13830/13830]

Réception de:1 file:/home/lamy/depot_perso ./ InRelease
Ign:1 file:/home/lamy/depot_perso ./ InRelease
Réception de:2 file:/home/lamy/depot_perso ./ Release
Ign:2 file:/home/lamy/depot_perso ./ Release
Réception de:3 file:/home/lamy/depot_perso ./ Packages
Ign:3 file:/home/lamy/depot_perso ./ Packages
Réception de:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Ign:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Réception de:5 file:/home/lamy/depot_perso ./ Translation-fr
Ign:5 file:/home/lamy/depot_perso ./ Translation-fr
Réception de:6 file:/home/lamy/depot_perso ./ Translation-en
Ign:6 file:/home/lamy/depot_perso ./ Translation-en
Réception de:3 file:/home/lamy/depot_perso ./ Packages
Ign:3 file:/home/lamy/depot_perso ./ Packages
Réception de:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Ign:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Réception de:5 file:/home/lamy/depot_perso ./ Translation-fr
Ign:5 file:/home/lamy/depot_perso ./ Translation-fr
Réception de:6 file:/home/lamy/depot_perso ./ Translation-en
Ign:6 file:/home/lamy/depot_perso ./ Translation-en
Réception de:3 file:/home/lamy/depot_perso ./ Packages
Ign:3 file:/home/lamy/depot_perso ./ Packages
Réception de:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Ign:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Réception de:5 file:/home/lamy/depot_perso ./ Translation-fr
Ign:5 file:/home/lamy/depot_perso ./ Translation-fr
Réception de:6 file:/home/lamy/depot_perso ./ Translation-en
Ign:6 file:/home/lamy/depot_perso ./ Translation-en
Réception de:3 file:/home/lamy/depot_perso ./ Packages [1 066 B]
Réception de:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Ign:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Réception de:5 file:/home/lamy/depot_perso ./ Translation-fr
Ign:5 file:/home/lamy/depot_perso ./ Translation-fr
Réception de:6 file:/home/lamy/depot_perso ./ Translation-en
Ign:6 file:/home/lamy/depot_perso ./ Translation-en
Réception de:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Ign:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Réception de:5 file:/home/lamy/depot_perso ./ Translation-fr
Ign:5 file:/home/lamy/depot_perso ./ Translation-fr
Réception de:6 file:/home/lamy/depot_perso ./ Translation-en
Ign:6 file:/home/lamy/depot_perso ./ Translation-en
Réception de:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Ign:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Réception de:5 file:/home/lamy/depot_perso ./ Translation-fr
Ign:5 file:/home/lamy/depot_perso ./ Translation-fr
Réception de:6 file:/home/lamy/depot_perso ./ Translation-en
Ign:6 file:/home/lamy/depot_perso ./ Translation-en 
Atteint:7 http://fr.archive.ubuntu.com/ubuntu xenial InRelease
Atteint:8 http://fr.archive.ubuntu.com/ubuntu xenial-updates InRelease         
Réception de:9 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
102 ko réceptionnés en 0s (141 ko/s)
Lecture des listes de paquets... Fait
W: The repository 'file:/home/lamy/depot_perso ./ Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Aucune version du paquet ia32-libs n'est disponible, mais il existe dans la base
de données. Cela signifie en général que le paquet est manquant, qu'il est devenu obsolète
ou qu'il n'est disponible que sur une autre source
Cependant les paquets suivants le remplacent :
  lib32ncurses5 lib32z1

E: Le paquet « ia32-libs » n'a pas de version susceptible d'être installée
dpkg -x dcpj140wlpr-1.1.3-6.i386.deb /
dpkg -x dcpj140wcupswrapper-1.1.3-6.i386.deb /
(Lecture de la base de données... 278326 fichiers et répertoires déjà installés.)
Suppression de dcpj140wcupswrapper:i386 (1.1.3-6) ...
lpadmin: The printer or class does not exist.
[ ok ] Restarting cups (via systemctl): cups.service.
dpkg-deb : construction du paquet « dcpj140wlpr » dans « dcpj140wlpr-1.1.3-6a.i386.deb ».
dpkg -b ./brother_driver_packdir dcpj140wlpr-1.1.3-6a.i386.deb
dpkg-deb : construction du paquet « dcpj140wcupswrapper » dans « dcpj140wcupswrapper-1.1.3-6a.i386.deb ».
dpkg -b ./brother_driver_packdir dcpj140wcupswrapper-1.1.3-6a.i386.deb
dpkg -i --force-all dcpj140wlpr-1.1.3-6a.i386.deb
(Lecture de la base de données... 278323 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de dcpj140wlpr-1.1.3-6a.i386.deb ...
Dépaquetage de dcpj140wlpr:i386 (1.1.3-6) sur (1.1.3-6) ...
Paramétrage de dcpj140wlpr:i386 (1.1.3-6) ...
dpkg -i --force-all dcpj140wcupswrapper-1.1.3-6a.i386.deb
Sélection du paquet dcpj140wcupswrapper:i386 précédemment désélectionné.
(Lecture de la base de données... 278323 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de dcpj140wcupswrapper-1.1.3-6a.i386.deb ...
Dépaquetage de dcpj140wcupswrapper:i386 (1.1.3-6) ...
Paramétrage de dcpj140wcupswrapper:i386 (1.1.3-6) ...
Restarting cups (via systemctl): cups.service.
#
Will you specify the Device URI? [Y/n] ->192.168.1.11


0: beh
1: http
2: ipps
3: lpd
4: ipp14
5: https
6: ipp
7: socket
8: serial:/dev/ttyS0?baud=115200
9: parallel:/dev/lp0
10: hp
11: hpfax
12: dnssd://Brother%20DCP-J140W._pdl-datastream._tcp.local/
13: dnssd://bbox%20Ippos%20Printer._ipp._tcp.local/
14: lpd://BRW0080929FC58C/BINARY_P1
15 (I): Specify IP address.
16 (A): Auto. (dnssd://Brother%20DCP-J140W._pdl-datastream._tcp.local/)

select the number of destination Device URI. ->16

lpadmin -p DCPJ140W -v dnssd://Brother%20DCP-J140W._pdl-datastream._tcp.local/ -E
Test Print? [y/N] ->y

wait 5s.
lpr -P DCPJ140W /usr/share/cups/data/testprint
You are going to install following packages.
   brscan4-0.4.4-3.amd64.deb

=========================================
Brother License Agreement

Brother retains any and all copyrights to the Software. In no case this Agreement shall be construed to assign or otherwise transfer from Brother to User any copyrights or other intellectual property rights to whole or any part of the Software.

Brother grants User a non-exclusive license: to reproduce and/or distribute (via Internet or in any other manner) the Software. Further, Brother grants User a non-exclusive license to modify, alter, translate or otherwise prepare derivative works of the Software and to reproduce and distribute (via Internet or in any other manner) such modification, alteration, translation or other derivative works for any purpose.

The license of the Software from Brother hereunder is granted "AS IS." BROTHER HEREBY DISCLAIMS ANY WARRANTIES WITH RESPECT TO THE SOFTWARE, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTY FOR THE QUALITY, MERCHANTABILITY, FITNESS FOR PARTICULAR PURPOSE OR NON-INFRINGEMENT.
Brother shall have no liability in contract, tort (including negligence or breach of statutory duty) or otherwise for any interruption of use, loss of data, or for any indirect, incidental, punitive or consequential loss or damage, or for any loss of profit, revenue, data, goodwill or anticipated savings that arises under, out of, or in contemplation of this Agreement or otherwise arises due to any error, inaccuracy or defect in the Software even if Brother has been advised of the possibility of such loss or damage.
Further, Brother shall have no liability to disclose and/or distribute the source cord of the Software to User under any circumstances. In no case shall the above license by Brother to modify, alter, translate or otherwise prepare derivative works of the Software be construed as Brother's implied agreement or undertakings to disclose and/or distribute the source cord of the Software.
=========================================
Do you agree? [Y/n] ->y

wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/brscan4-0.4.4-3.amd64.deb
--2017-05-29 22:59:13--  http://www.brother.com/pub/bsc/linux/packages/brscan4-0.4.4-3.amd64.deb
Résolution de www.brother.com (www.brother.com)… 88.221.113.120, 88.221.113.106
Connexion à www.brother.com (www.brother.com)|88.221.113.120|:80… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 74110 (72K) [text/plain]
Enregistre : «brscan4-0.4.4-3.amd64.deb»

brscan4-0.4.4-3.amd 100%[===================>]  72,37K  --.-KB/s    in 0,1s    

2017-05-29 22:59:14 (745 KB/s) - «brscan4-0.4.4-3.amd64.deb» enregistré [74110/74110]

dpkg -i --force-all brscan4-0.4.4-3.amd64.deb
(Lecture de la base de données... 278327 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de brscan4-0.4.4-3.amd64.deb ...
/var/lib/dpkg/info/brscan4.prerm: 3: /var/lib/dpkg/info/brscan4.prerm: /opt/brother/scanner/brscan4/setupSaneScan4: not found
dpkg : avertissement : le sous-processus ancien script pre-removal a retourné une erreur de sortie d'état 127
dpkg: tentative d'exécution du script du nouveau paquet à la place...
/var/lib/dpkg/tmp.ci/prerm: 3: /var/lib/dpkg/tmp.ci/prerm: /opt/brother/scanner/brscan4/setupSaneScan4: not found
dpkg: erreur de traitement de l'archive brscan4-0.4.4-3.amd64.deb (--install) :
 le sous-processus nouveau script pre-removal a retourné une erreur de sortie d'état 127
This software is based in part on the work of the Independent JPEG Group.
/var/lib/dpkg/info/brscan4.postinst: 18: /var/lib/dpkg/info/brscan4.postinst: /opt/brother/scanner/brscan4/setupSaneScan4: not found
dpkg : erreur lors du nettoyage :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 127
Des erreurs ont été rencontrées pendant l'exécution :
 brscan4-0.4.4-3.amd64.deb
You are going to install following packages.
   brscan-skey-0.2.4-1.amd64.deb

=========================================
Brother License Agreement

Brother retains any and all copyrights to the Software. In no case this Agreement shall be construed to assign or otherwise transfer from Brother to User any copyrights or other intellectual property rights to whole or any part of the Software.

Brother grants User a non-exclusive license: to reproduce and/or distribute (via Internet or in any other manner) the Software. Further, Brother grants User a non-exclusive license to modify, alter, translate or otherwise prepare derivative works of the Software and to reproduce and distribute (via Internet or in any other manner) such modification, alteration, translation or other derivative works for any purpose.

The license of the Software from Brother hereunder is granted "AS IS." BROTHER HEREBY DISCLAIMS ANY WARRANTIES WITH RESPECT TO THE SOFTWARE, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTY FOR THE QUALITY, MERCHANTABILITY, FITNESS FOR PARTICULAR PURPOSE OR NON-INFRINGEMENT.
Brother shall have no liability in contract, tort (including negligence or breach of statutory duty) or otherwise for any interruption of use, loss of data, or for any indirect, incidental, punitive or consequential loss or damage, or for any loss of profit, revenue, data, goodwill or anticipated savings that arises under, out of, or in contemplation of this Agreement or otherwise arises due to any error, inaccuracy or defect in the Software even if Brother has been advised of the possibility of such loss or damage.
Further, Brother shall have no liability to disclose and/or distribute the source cord of the Software to User under any circumstances. In no case shall the above license by Brother to modify, alter, translate or otherwise prepare derivative works of the Software be construed as Brother's implied agreement or undertakings to disclose and/or distribute the source cord of the Software.
=========================================
Do you agree? [Y/n] ->y

wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/brscan-skey-0.2.4-1.amd64.deb
--2017-05-29 22:59:18--  http://www.brother.com/pub/bsc/linux/packages/brscan-skey-0.2.4-1.amd64.deb
Résolution de www.brother.com (www.brother.com)… 88.221.113.106, 88.221.113.120
Connexion à www.brother.com (www.brother.com)|88.221.113.106|:80… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 50852 (50K) [text/plain]
Enregistre : «brscan-skey-0.2.4-1.amd64.deb»

brscan-skey-0.2.4-1 100%[===================>]  49,66K  --.-KB/s    in 0,07s   

2017-05-29 22:59:18 (752 KB/s) - «brscan-skey-0.2.4-1.amd64.deb» enregistré [50852/50852]

dpkg -i --force-all brscan-skey-0.2.4-1.amd64.deb
Sélection du paquet brscan-skey précédemment désélectionné.
(Lecture de la base de données... 278327 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de brscan-skey-0.2.4-1.amd64.deb ...
Dépaquetage de brscan-skey (0.2.4-1) ...
Paramétrage de brscan-skey (0.2.4-1) ...
Hit Enter/Return key.
lamy@lamy-H97M-HD3:~/Téléchargements$ 

Hors ligne

#29 Le 29/05/2017, à 23:39

abelthorne

Re : [Résolu] imprimante Brother DCP-J140W n'imprime plus

Je crois qu'on n'en a pas vraiment fini parce que là, même si tu as rétabli les fichiers, tu te retrouves avec une installation faite de deux manières. On va quand même essayer de nettoyer tout ça (et puis il faudra supprimer le dépôt perso que je t'ai fait ajouter). Dans un premier temps, tu me redonneras la liste des paquets, je crois qu'il m'en manque un dans les messages précédents :

ls ~/depot_perso

Hors ligne

#30 Le 30/05/2017, à 08:25

Ph Lamy

Re : [Résolu] imprimante Brother DCP-J140W n'imprime plus

Voila la liste :

lamy@lamy-H97M-HD3:~$ ls ~/depot_perso
brother-udev-rule-type1-1.0.2-0.all.deb  dcpj140wcupswrapper-1.1.3-6.i386.deb
brscan4-0.4.4-3.amd64.deb                dcpj140wlpr-1.1.3-6.i386.deb
brscan-skey-0.2.4-1.amd64.deb            Packages.gz
lamy@lamy-H97M-HD3:~$ 

Hors ligne

#31 Le 30/05/2017, à 09:17

abelthorne

Re : [Résolu] imprimante Brother DCP-J140W n'imprime plus

Ok, essaie de les réinstaller les cinq :

sudo apt-get install --reinstall dcpj140wcupswrapper:i386 dcpj140wlpr:i386 brscan4 brscan-skey brother-udev-rule-type1

Dedans, il y a les paquets du scanner, donc s'il ne fonctionne pas, c'est peut-être un problème différent.

Hors ligne

#32 Le 30/05/2017, à 11:56

Ph Lamy

Re : [Résolu] imprimante Brother DCP-J140W n'imprime plus

Apparemment il y a des erreurs et l'imprimante ne marche plus.
Avant cette commande l'imprimante était bien présente dans Paramètres système/imprimante mais il n'y avait pas la coche verte comme d'habitude, pourtant ça marchait. Maintenant dans la fenêtre des imprimantes on a le message " Il n'y a pas encore  d'imprimantes configurées"

lamy@lamy-H97M-HD3:~$ sudo apt-get install --reinstall dcpj140wcupswrapper:i386 dcpj140wlpr:i386 brscan4 brscan-skey brother-udev-rule-type1
[sudo] Mot de passe de lamy : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets suivants seront mis à jour :
  brother-udev-rule-type1 brscan4 dcpj140wcupswrapper:i386
3 mis à jour, 0 nouvellement installés, 2 réinstallés, 0 à enlever et 9 non mis à jour.
2 partiellement installés ou enlevés.
Il est nécessaire de prendre 0 o/2 037 ko dans les archives.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
ATTENTION : les paquets suivants n'ont pas été authentifiés.
  brother-udev-rule-type1 brscan4 brscan-skey dcpj140wcupswrapper:i386
  dcpj140wlpr:i386
Faut-il installer ces paquets sans vérification ? [o/N] o
Réception de:1 file:/home/lamy/depot_perso ./ brother-udev-rule-type1 1.0.2 [1 558 B]
Réception de:2 file:/home/lamy/depot_perso ./ brscan4 0.4.4-3 [74,1 kB]
Réception de:3 file:/home/lamy/depot_perso ./ brscan-skey 0.2.4-1 [50,9 kB]
Réception de:4 file:/home/lamy/depot_perso ./ dcpj140wcupswrapper 1.1.3-6 [13,8 kB]
Réception de:5 file:/home/lamy/depot_perso ./ dcpj140wlpr 1.1.3-6 [1 897 kB]
(Lecture de la base de données... 278333 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../brother-udev-rule-type1-1.0.2-0.all.deb ...
/var/lib/dpkg/info/brother-udev-rule-type1.prerm: 3: /var/lib/dpkg/info/brother-udev-rule-type1.prerm: /opt/brother/scanner/udev-rules/type1/install: not found
dpkg : avertissement : le sous-processus ancien script pre-removal a retourné une erreur de sortie d'état 127
dpkg: tentative d'exécution du script du nouveau paquet à la place...
/var/lib/dpkg/tmp.ci/prerm: 3: /var/lib/dpkg/tmp.ci/prerm: /opt/brother/scanner/udev-rules/type1/install: not found
dpkg: erreur de traitement de l'archive /home/lamy/depot_perso/./brother-udev-rule-type1-1.0.2-0.all.deb (--unpack) :
 le sous-processus nouveau script pre-removal a retourné une erreur de sortie d'état 127
/var/lib/dpkg/info/brother-udev-rule-type1.postinst: 3: /var/lib/dpkg/info/brother-udev-rule-type1.postinst: /opt/brother/scanner/udev-rules/type1/install: not found
dpkg : erreur lors du nettoyage :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 127
Préparation du dépaquetage de ..././brscan4-0.4.4-3.amd64.deb ...
/var/lib/dpkg/info/brscan4.prerm: 3: /var/lib/dpkg/info/brscan4.prerm: /opt/brother/scanner/brscan4/setupSaneScan4: not found
dpkg : avertissement : le sous-processus ancien script pre-removal a retourné une erreur de sortie d'état 127
dpkg: tentative d'exécution du script du nouveau paquet à la place...
/var/lib/dpkg/tmp.ci/prerm: 3: /var/lib/dpkg/tmp.ci/prerm: /opt/brother/scanner/brscan4/setupSaneScan4: not found
dpkg: erreur de traitement de l'archive /home/lamy/depot_perso/./brscan4-0.4.4-3.amd64.deb (--unpack) :
 le sous-processus nouveau script pre-removal a retourné une erreur de sortie d'état 127
This software is based in part on the work of the Independent JPEG Group.
/var/lib/dpkg/info/brscan4.postinst: 18: /var/lib/dpkg/info/brscan4.postinst: /opt/brother/scanner/brscan4/setupSaneScan4: not found
dpkg : erreur lors du nettoyage :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 127
Préparation du dépaquetage de .../brscan-skey-0.2.4-1.amd64.deb ...
Dépaquetage de brscan-skey (0.2.4-1) sur (0.2.4-1) ...
Préparation du dépaquetage de .../dcpj140wcupswrapper-1.1.3-6.i386.deb ...
[ ok ] Restarting cups (via systemctl): cups.service.
Dépaquetage de dcpj140wcupswrapper:i386 (1.1.3-6) sur (1.1.3-6) ...
Préparation du dépaquetage de ..././dcpj140wlpr-1.1.3-6.i386.deb ...
Dépaquetage de dcpj140wlpr:i386 (1.1.3-6) sur (1.1.3-6) ...
Des erreurs ont été rencontrées pendant l'exécution :
 /home/lamy/depot_perso/./brother-udev-rule-type1-1.0.2-0.all.deb
 /home/lamy/depot_perso/./brscan4-0.4.4-3.amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
lamy@lamy-H97M-HD3:~$ 

Hors ligne

#33 Le 30/05/2017, à 12:51

abelthorne

Re : [Résolu] imprimante Brother DCP-J140W n'imprime plus

Essaie de relancer le script d'installation :

sudo ~/Téléchargements/linux-brprinter-installer-2.1.1-1

Hors ligne

#34 Le 30/05/2017, à 14:24

Ph Lamy

Re : [Résolu] imprimante Brother DCP-J140W n'imprime plus

Ci-dessous le rapport du Teminal. L'imprimante marche à nouveau . Elle est bien présente dans la fenêtre Imprimante-localhost mais toujours sans la coche verte. Le scanner ne marche pas, toujours le même symptôme lorsqu'on le lance : ouverture de la fenêtre et fermeture instantanée :
Au cours de l'installation on me demande si je veux spécifier le "device URI". Je réponds "oui" puis je sélectionne le n°16 un peu au hasard. Est-ce la bonne démarche et de quoi s'agit-il ?

lamy@lamy-H97M-HD3:~$ sudo ~/Téléchargements/linux-brprinter-installer-2.1.1-1
[sudo] Mot de passe de lamy : 
Input model name ->dcp-j140w

You are going to install following packages.
   dcpj140wlpr-1.1.3-6.i386.deb
   dcpj140wcupswrapper-1.1.3-6.i386.deb
   brscan4-0.4.4-3.amd64.deb
   brscan-skey-0.2.4-1.amd64.deb
OK? [y/N] ->y


=========================================
Brother License Agreement

Brother retains any and all copyrights to the Software. In no case this Agreement shall be construed to assign or otherwise transfer from Brother to User any copyrights or other intellectual property rights to whole or any part of the Software.

Brother grants User a non-exclusive license: to reproduce and/or distribute (via Internet or in any other manner) the Software. Further, Brother grants User a non-exclusive license to modify, alter, translate or otherwise prepare derivative works of the Software and to reproduce and distribute (via Internet or in any other manner) such modification, alteration, translation or other derivative works for any purpose.

The license of the Software from Brother hereunder is granted "AS IS." BROTHER HEREBY DISCLAIMS ANY WARRANTIES WITH RESPECT TO THE SOFTWARE, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTY FOR THE QUALITY, MERCHANTABILITY, FITNESS FOR PARTICULAR PURPOSE OR NON-INFRINGEMENT.
Brother shall have no liability in contract, tort (including negligence or breach of statutory duty) or otherwise for any interruption of use, loss of data, or for any indirect, incidental, punitive or consequential loss or damage, or for any loss of profit, revenue, data, goodwill or anticipated savings that arises under, out of, or in contemplation of this Agreement or otherwise arises due to any error, inaccuracy or defect in the Software even if Brother has been advised of the possibility of such loss or damage.
Further, Brother shall have no liability to disclose and/or distribute the source cord of the Software to User under any circumstances. In no case shall the above license by Brother to modify, alter, translate or otherwise prepare derivative works of the Software be construed as Brother's implied agreement or undertakings to disclose and/or distribute the source cord of the Software.
=========================================
Do you agree? [Y/n] ->y

wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/dcpj140wlpr-1.1.3-6.i386.deb
--2017-05-30 14:09:09--  http://www.brother.com/pub/bsc/linux/packages/dcpj140wlpr-1.1.3-6.i386.deb
Résolution de www.brother.com (www.brother.com)… 217.89.107.32, 217.89.107.33
Connexion à www.brother.com (www.brother.com)|217.89.107.32|:80… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 1896930 (1,8M) [text/plain]
Enregistre : «dcpj140wlpr-1.1.3-6.i386.deb»

dcpj140wlpr-1.1.3-6 100%[===================>]   1,81M   269KB/s    in 6,9s    

2017-05-30 14:09:16 (268 KB/s) - «dcpj140wlpr-1.1.3-6.i386.deb» enregistré [1896930/1896930]


=========================================
GPL License Agreement

This Software may be used in accordance with GNU General Public License (GPL). Please read carefully the following GPL and click on "I Accept" button. If you cannot agree with the following terms, please click "I don't Accept" button. In case of your non-acceptance, you can not use this Software.
Note:
Please click on "I Accept" while holding down "Shift" or right click on "I Accept" and select "Save Target As,,," from the menu.

GNU GENERAL PUBLIC LICENSE
Version 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc.51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.

Preamble

The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to your programs, too.

When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.

To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.

For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their rights.

We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.

Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.

Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.

The precise terms and conditions for copying, distribution and modification follow.

GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".

Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.

   1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.

      You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
   2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:

      a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.

      b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.

      c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an
      announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
      
      These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.

      Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.

      In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
   3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:

      a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,

      b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,

      c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you
      received the program in object code or executable form with such an offer, in accord with Subsection b above.)

      The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.

      If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
   4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
   5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying
      the Program or works based on it.
   6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
   7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.

      If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.

      It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.

      This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
   8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
   9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.

      Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
  10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.

NO WARRANTY

  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

END OF TERMS AND CONDITIONS

How to Apply These Terms to Your New Programs

If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.

To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.

<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA


Also add information on how to contact you by electronic and paper mail.

If the program is interactive, make it output a short notice like this when it starts in an interactive mode:

Gnomovision version 69, Copyright (C) year name of author Gnomovision
comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program.

You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names:

Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.

<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice

This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License.
=========================================

Do you agree? [Y/n] ->y

wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/dcpj140wcupswrapper-1.1.3-6.i386.deb
--2017-05-30 14:09:20--  http://www.brother.com/pub/bsc/linux/packages/dcpj140wcupswrapper-1.1.3-6.i386.deb
Résolution de www.brother.com (www.brother.com)… 217.89.107.32, 217.89.107.33
Connexion à www.brother.com (www.brother.com)|217.89.107.32|:80… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 13830 (14K) [text/plain]
Enregistre : «dcpj140wcupswrapper-1.1.3-6.i386.deb»

dcpj140wcupswrapper 100%[===================>]  13,51K  --.-KB/s    in 0,009s  

2017-05-30 14:09:20 (1,52 MB/s) - «dcpj140wcupswrapper-1.1.3-6.i386.deb» enregistré [13830/13830]

Réception de:1 file:/home/lamy/depot_perso ./ InRelease
Ign:1 file:/home/lamy/depot_perso ./ InRelease
Réception de:2 file:/home/lamy/depot_perso ./ Release
Ign:2 file:/home/lamy/depot_perso ./ Release
Réception de:3 file:/home/lamy/depot_perso ./ Packages
Ign:3 file:/home/lamy/depot_perso ./ Packages
Réception de:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Ign:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Réception de:5 file:/home/lamy/depot_perso ./ Translation-fr
Ign:5 file:/home/lamy/depot_perso ./ Translation-fr
Réception de:6 file:/home/lamy/depot_perso ./ Translation-en
Ign:6 file:/home/lamy/depot_perso ./ Translation-en
Réception de:3 file:/home/lamy/depot_perso ./ Packages
Ign:3 file:/home/lamy/depot_perso ./ Packages
Réception de:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Ign:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Réception de:5 file:/home/lamy/depot_perso ./ Translation-fr
Ign:5 file:/home/lamy/depot_perso ./ Translation-fr
Réception de:6 file:/home/lamy/depot_perso ./ Translation-en
Ign:6 file:/home/lamy/depot_perso ./ Translation-en
Réception de:3 file:/home/lamy/depot_perso ./ Packages
Ign:3 file:/home/lamy/depot_perso ./ Packages
Réception de:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Ign:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Réception de:5 file:/home/lamy/depot_perso ./ Translation-fr
Ign:5 file:/home/lamy/depot_perso ./ Translation-fr
Réception de:6 file:/home/lamy/depot_perso ./ Translation-en
Ign:6 file:/home/lamy/depot_perso ./ Translation-en
Réception de:3 file:/home/lamy/depot_perso ./ Packages [1 066 B]
Réception de:4 file:/home/lamy/depot_perso ./ Translation-fr_FR       
Ign:4 file:/home/lamy/depot_perso ./ Translation-fr_FR                
Réception de:5 file:/home/lamy/depot_perso ./ Translation-fr          
Ign:5 file:/home/lamy/depot_perso ./ Translation-fr                   
Réception de:6 file:/home/lamy/depot_perso ./ Translation-en          
Ign:6 file:/home/lamy/depot_perso ./ Translation-en                   
Réception de:4 file:/home/lamy/depot_perso ./ Translation-fr_FR       
Ign:4 file:/home/lamy/depot_perso ./ Translation-fr_FR                
Réception de:5 file:/home/lamy/depot_perso ./ Translation-fr                   
Ign:5 file:/home/lamy/depot_perso ./ Translation-fr                            
Réception de:6 file:/home/lamy/depot_perso ./ Translation-en                   
Ign:6 file:/home/lamy/depot_perso ./ Translation-en                            
Réception de:4 file:/home/lamy/depot_perso ./ Translation-fr_FR                
Ign:4 file:/home/lamy/depot_perso ./ Translation-fr_FR                         
Réception de:5 file:/home/lamy/depot_perso ./ Translation-fr                   
Ign:5 file:/home/lamy/depot_perso ./ Translation-fr                   
Réception de:6 file:/home/lamy/depot_perso ./ Translation-en          
Ign:6 file:/home/lamy/depot_perso ./ Translation-en                            
Atteint:7 http://fr.archive.ubuntu.com/ubuntu xenial InRelease                 
Réception de:8 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Réception de:9 http://fr.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Réception de:10 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [543 kB]
Réception de:11 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [54,6 kB]
Réception de:12 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [50,2 kB]
Réception de:13 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [32,1 kB]
Réception de:14 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [37,0 kB]
Réception de:15 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [528 kB]
Réception de:16 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [299 kB]
Réception de:17 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [193 kB]
Réception de:18 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [469 kB]
Réception de:19 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [454 kB]
Réception de:20 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [160 kB]
Réception de:21 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [188 kB]
Réception de:22 http://fr.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [2 520 B]
3 214 ko réceptionnés en 2s (1 237 ko/s)                               
Lecture des listes de paquets... Fait
W: The repository 'file:/home/lamy/depot_perso ./ Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Aucune version du paquet ia32-libs n'est disponible, mais il existe dans la base
de données. Cela signifie en général que le paquet est manquant, qu'il est devenu obsolète
ou qu'il n'est disponible que sur une autre source
Cependant les paquets suivants le remplacent :
  lib32ncurses5 lib32z1

E: Le paquet « ia32-libs » n'a pas de version susceptible d'être installée
dpkg -x dcpj140wlpr-1.1.3-6.i386.deb /
dpkg -x dcpj140wcupswrapper-1.1.3-6.i386.deb /
(Lecture de la base de données... 278332 fichiers et répertoires déjà installés.)
Suppression de dcpj140wcupswrapper:i386 (1.1.3-6) ...
dpkg-deb : construction du paquet « dcpj140wlpr » dans « dcpj140wlpr-1.1.3-6a.i386.deb ».
dpkg -b ./brother_driver_packdir dcpj140wlpr-1.1.3-6a.i386.deb
dpkg-deb : construction du paquet « dcpj140wcupswrapper » dans « dcpj140wcupswrapper-1.1.3-6a.i386.deb ».
dpkg -b ./brother_driver_packdir dcpj140wcupswrapper-1.1.3-6a.i386.deb
dpkg -i --force-all dcpj140wlpr-1.1.3-6a.i386.deb
(Lecture de la base de données... 278329 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de dcpj140wlpr-1.1.3-6a.i386.deb ...
Dépaquetage de dcpj140wlpr:i386 (1.1.3-6) sur (1.1.3-6) ...
Paramétrage de dcpj140wlpr:i386 (1.1.3-6) ...
dpkg -i --force-all dcpj140wcupswrapper-1.1.3-6a.i386.deb
Sélection du paquet dcpj140wcupswrapper:i386 précédemment désélectionné.
(Lecture de la base de données... 278329 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de dcpj140wcupswrapper-1.1.3-6a.i386.deb ...
Dépaquetage de dcpj140wcupswrapper:i386 (1.1.3-6) ...
Paramétrage de dcpj140wcupswrapper:i386 (1.1.3-6) ...
Restarting cups (via systemctl): cups.service.
#
Will you specify the Device URI? [Y/n] ->y


0: beh
1: socket
2: serial:/dev/ttyS0?baud=115200
3: ipp14
4: ipps
5: ipp
6: http
7: lpd
8: https
9: parallel:/dev/lp0
10: hp
11: hpfax
12: dnssd://Brother%20DCP-J140W._pdl-datastream._tcp.local/
13: dnssd://bbox%20Ippos%20Printer._ipp._tcp.local/
14: lpd://BRW0080929FC58C/BINARY_P1
15 (I): Specify IP address.
16 (A): Auto. (dnssd://Brother%20DCP-J140W._pdl-datastream._tcp.local/)

select the number of destination Device URI. ->16

lpadmin -p DCPJ140W -v dnssd://Brother%20DCP-J140W._pdl-datastream._tcp.local/ -E
Test Print? [y/N] ->y

wait 5s.
lpr -P DCPJ140W /usr/share/cups/data/testprint
You are going to install following packages.
   brscan4-0.4.4-3.amd64.deb

=========================================
Brother License Agreement

Brother retains any and all copyrights to the Software. In no case this Agreement shall be construed to assign or otherwise transfer from Brother to User any copyrights or other intellectual property rights to whole or any part of the Software.

Brother grants User a non-exclusive license: to reproduce and/or distribute (via Internet or in any other manner) the Software. Further, Brother grants User a non-exclusive license to modify, alter, translate or otherwise prepare derivative works of the Software and to reproduce and distribute (via Internet or in any other manner) such modification, alteration, translation or other derivative works for any purpose.

The license of the Software from Brother hereunder is granted "AS IS." BROTHER HEREBY DISCLAIMS ANY WARRANTIES WITH RESPECT TO THE SOFTWARE, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTY FOR THE QUALITY, MERCHANTABILITY, FITNESS FOR PARTICULAR PURPOSE OR NON-INFRINGEMENT.
Brother shall have no liability in contract, tort (including negligence or breach of statutory duty) or otherwise for any interruption of use, loss of data, or for any indirect, incidental, punitive or consequential loss or damage, or for any loss of profit, revenue, data, goodwill or anticipated savings that arises under, out of, or in contemplation of this Agreement or otherwise arises due to any error, inaccuracy or defect in the Software even if Brother has been advised of the possibility of such loss or damage.
Further, Brother shall have no liability to disclose and/or distribute the source cord of the Software to User under any circumstances. In no case shall the above license by Brother to modify, alter, translate or otherwise prepare derivative works of the Software be construed as Brother's implied agreement or undertakings to disclose and/or distribute the source cord of the Software.
=========================================
Do you agree? [Y/n] ->y

wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/brscan4-0.4.4-3.amd64.deb
--2017-05-30 14:12:13--  http://www.brother.com/pub/bsc/linux/packages/brscan4-0.4.4-3.amd64.deb
Résolution de www.brother.com (www.brother.com)… 23.200.87.191, 23.200.87.124
Connexion à www.brother.com (www.brother.com)|23.200.87.191|:80… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 74110 (72K) [text/plain]
Enregistre : «brscan4-0.4.4-3.amd64.deb»

brscan4-0.4.4-3.amd 100%[===================>]  72,37K  --.-KB/s    in 0,06s   

2017-05-30 14:12:13 (1,14 MB/s) - «brscan4-0.4.4-3.amd64.deb» enregistré [74110/74110]

dpkg -i --force-all brscan4-0.4.4-3.amd64.deb
(Lecture de la base de données... 278333 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de brscan4-0.4.4-3.amd64.deb ...
/var/lib/dpkg/info/brscan4.prerm: 3: /var/lib/dpkg/info/brscan4.prerm: /opt/brother/scanner/brscan4/setupSaneScan4: not found
dpkg : avertissement : le sous-processus ancien script pre-removal a retourné une erreur de sortie d'état 127
dpkg: tentative d'exécution du script du nouveau paquet à la place...
/var/lib/dpkg/tmp.ci/prerm: 3: /var/lib/dpkg/tmp.ci/prerm: /opt/brother/scanner/brscan4/setupSaneScan4: not found
dpkg: erreur de traitement de l'archive brscan4-0.4.4-3.amd64.deb (--install) :
 le sous-processus nouveau script pre-removal a retourné une erreur de sortie d'état 127
This software is based in part on the work of the Independent JPEG Group.
/var/lib/dpkg/info/brscan4.postinst: 18: /var/lib/dpkg/info/brscan4.postinst: /opt/brother/scanner/brscan4/setupSaneScan4: not found
dpkg : erreur lors du nettoyage :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 127
Des erreurs ont été rencontrées pendant l'exécution :
 brscan4-0.4.4-3.amd64.deb
You are going to install following packages.
   brscan-skey-0.2.4-1.amd64.deb

=========================================
Brother License Agreement

Brother retains any and all copyrights to the Software. In no case this Agreement shall be construed to assign or otherwise transfer from Brother to User any copyrights or other intellectual property rights to whole or any part of the Software.

Brother grants User a non-exclusive license: to reproduce and/or distribute (via Internet or in any other manner) the Software. Further, Brother grants User a non-exclusive license to modify, alter, translate or otherwise prepare derivative works of the Software and to reproduce and distribute (via Internet or in any other manner) such modification, alteration, translation or other derivative works for any purpose.

The license of the Software from Brother hereunder is granted "AS IS." BROTHER HEREBY DISCLAIMS ANY WARRANTIES WITH RESPECT TO THE SOFTWARE, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTY FOR THE QUALITY, MERCHANTABILITY, FITNESS FOR PARTICULAR PURPOSE OR NON-INFRINGEMENT.
Brother shall have no liability in contract, tort (including negligence or breach of statutory duty) or otherwise for any interruption of use, loss of data, or for any indirect, incidental, punitive or consequential loss or damage, or for any loss of profit, revenue, data, goodwill or anticipated savings that arises under, out of, or in contemplation of this Agreement or otherwise arises due to any error, inaccuracy or defect in the Software even if Brother has been advised of the possibility of such loss or damage.
Further, Brother shall have no liability to disclose and/or distribute the source cord of the Software to User under any circumstances. In no case shall the above license by Brother to modify, alter, translate or otherwise prepare derivative works of the Software be construed as Brother's implied agreement or undertakings to disclose and/or distribute the source cord of the Software.
=========================================
Do you agree? [Y/n] ->y

wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/brscan-skey-0.2.4-1.amd64.deb
--2017-05-30 14:12:16--  http://www.brother.com/pub/bsc/linux/packages/brscan-skey-0.2.4-1.amd64.deb
Résolution de www.brother.com (www.brother.com)… 23.200.87.191, 23.200.87.124
Connexion à www.brother.com (www.brother.com)|23.200.87.191|:80… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 50852 (50K) [text/plain]
Enregistre : «brscan-skey-0.2.4-1.amd64.deb»

brscan-skey-0.2.4-1 100%[===================>]  49,66K  --.-KB/s    in 0,05s   

2017-05-30 14:12:17 (1,06 MB/s) - «brscan-skey-0.2.4-1.amd64.deb» enregistré [50852/50852]

dpkg -i --force-all brscan-skey-0.2.4-1.amd64.deb
(Lecture de la base de données... 278333 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de brscan-skey-0.2.4-1.amd64.deb ...
Dépaquetage de brscan-skey (0.2.4-1) sur (0.2.4-1) ...
Paramétrage de brscan-skey (0.2.4-1) ...
Hit Enter/Return key.
lamy@lamy-H97M-HD3:~$ 

Hors ligne

#35 Le 30/05/2017, à 15:52

abelthorne

Re : [Résolu] imprimante Brother DCP-J140W n'imprime plus

Device URI, c'est l'adresse réseau de l'imprimante. Ça ne se renseigne pas au hasard (surtout si ce n'est pas une imprimante réseau).

Dans les paramètres système, la coche verte indique juste qu'une imprimante est celle par défaut (utile quand il y en a plusieurs). Ce n'est pas un gros problème qu'elle soit absente et tu peux l'indiquer (généralement, un clic droit dessus amène un menu dans lequel il y a "définir comme imprimante par défaut").

Concrètement, là, est-ce que l'imprimante fonctionne si tu lui envoies une page de test ou un document quelconque ?

Maintenant qu'elle a été installé manuellement, est-ce que tu pourrais redonner ce qu'il y a dans /opt ?

ls -lR /opt/brother

Hors ligne

#36 Le 30/05/2017, à 18:21

Ph Lamy

Re : [Résolu] imprimante Brother DCP-J140W n'imprime plus

A la dernière installation j'ai dit que je voulais spécifier le device URI puis on m'a demandé de sélectionner parmi une liste, j'ai sélectionné le 16 qui me semblait être le plus approprié. 9a doit être bon puisque ça marche. Mais à l'installation précédente il me semble qu'on m'avait posé une question supplémentaire à laquelle j'avais répondu par : 192.168.1.11 (le code IP du PC ?). Pourquoi n'ai-je pas eu à saisir ce code cette fois-ci ?

L'imprimante fonctionne bien : elle imprime quand on lui demande d'imprimer un document.

lamy@lamy-H97M-HD3:~$ ls -lR /opt/brother
/opt/brother:
total 8
drwxr-xr-x 3 root root 4096 mars  14  2012 Printers
drwxr-xr-x 3 root root 4096 mai   29 22:59 scanner

/opt/brother/Printers:
total 4
drwxr-xr-x 5 root root 4096 mai   30 14:09 dcpj140w

/opt/brother/Printers/dcpj140w:
total 12
drwxr-xr-x 2 root root 4096 mai   30 14:09 cupswrapper
drwxrwxrwx 3 root root 4096 mai   30 18:10 inf
drwxr-xr-x 2 root root 4096 mai   30 14:09 lpd

/opt/brother/Printers/dcpj140w/cupswrapper:
total 56
-rwxr-xr-x 1 root root 13456 mars  14  2012 brcupsconfpt1
-rwxr-xr-x 1 root root 24612 mars  14  2012 brother_dcpj140w_printer_en.ppd
-rwxr-xr-x 1 root root 10341 mars  14  2012 cupswrapperdcpj140w

/opt/brother/Printers/dcpj140w/inf:
total 24
-rw-r--r-- 1 root root 1316 mai    2  2012 brdcpj140wfunc
-rw-rw-rw- 1 lp   lp    360 mai   30 18:10 brdcpj140wrc
-rw-r--r-- 1 root root  768 mai    2  2012 ImagingArea
drwxr-xr-x 2 root root 4096 mai   30 14:09 lut
-rw-r--r-- 1 root root  781 mai    2  2012 paperinfij2
-rwxr-xr-x 1 root root 1777 mai    2  2012 setupPrintcapij

/opt/brother/Printers/dcpj140w/inf/lut:
total 2524
-rw-r--r-- 1 root root 245736 mai    2  2012 brio08ba.bcm
-rw-r--r-- 1 root root 491176 mai    2  2012 brio08bb.bcm
-rw-r--r-- 1 root root 491176 mai    2  2012 brio08bc.bcm
-rw-r--r-- 1 root root 491176 mai    2  2012 brio08be.bcm
-rw-r--r-- 1 root root 245736 mai    2  2012 brio08bf.bcm
-rw-r--r-- 1 root root 491176 mai    2  2012 brio08bg.bcm
-rw-r--r-- 1 root root 123016 mai    2  2012 brio08bk.bcm

/opt/brother/Printers/dcpj140w/lpd:
total 664
-rwxr-xr-x 1 root root 670532 mai    2  2012 brdcpj140wfilter
-rwxr-xr-x 1 root root   2045 mai    2  2012 filterdcpj140w
-rwxr-xr-x 1 root root   2243 mai    2  2012 psconvertij2

/opt/brother/scanner:
total 4
drwxr-xr-x 3 root root 4096 mai   30 14:12 brscan-skey

/opt/brother/scanner/brscan-skey:
total 140
-rw-r--r-- 1 root root     99 mai   30 14:12 brscan_mail.config
-rw-r--r-- 1 root root     57 mai   30 14:12 brscan_mailmessage.txt
-rwxr-xr-x 1 root root   1160 mai   13  2013 brscan-skey
-rwxr-xr-x 1 root root 109318 mai   13  2013 brscan-skey-0.2.4-0
-rw-r--r-- 1 root root    312 mai   30 14:12 brscan-skey-0.2.4-0.cfg
-rwxr-xr-x 1 root root  11779 mai   13  2013 brscan-skey-0.2.4-1.sh
drwxr-xr-x 2 root root   4096 mai   30 14:12 script

/opt/brother/scanner/brscan-skey/script:
total 48
-rwxr-xr-x 1 root root 24719 mai   13  2013 brscan_scantoemail-0.2.4-0
-rw-r--r-- 1 root root  5149 mai   30 14:12 scantoemail-0.2.4-1.sh
-rwxr-xr-x 1 root root   689 mai   30 14:12 scantofile-0.2.4-1.sh
-rwxr-xr-x 1 root root   706 mai   30 14:12 scantoimage-0.2.4-1.sh
-rwxr-xr-x 1 root root   867 mai   30 14:12 scantoocr-0.2.4-1.sh
lamy@lamy-H97M-HD3:~$ 

Hors ligne

#37 Le 30/05/2017, à 18:25

abelthorne

Re : [Résolu] imprimante Brother DCP-J140W n'imprime plus

On va quand même essayer un truc qui pourrait la rendre inopérante à nouveau mais vu l'état des sources, ce serait assez important de pouvoir rétablir une situation propre.

Lance la suppression des paquets et donne le retour :

sudo apt-get remove --purge dcpj140wcupswrapper:i386 dcpj140wlpr:i386 brscan4 brscan-skey brother-udev-rule-type1

Hors ligne

#38 Le 30/05/2017, à 19:42

Ph Lamy

Re : [Résolu] imprimante Brother DCP-J140W n'imprime plus

A la fin de l'exécution de la commande, une fenêtre s'est ouverte indiquant : "problème logiciel détecté- voulez-vous le signaler maintenant ?" Je n'ai pas  "continué".
L'imprimante ne marche plus et elle a disparu de Paramètres système/Imprimantes-localhost.

lamy@lamy-H97M-HD3:~$ sudo apt-get remove --purge dcpj140wcupswrapper:i386 dcpj140wlpr:i386 brscan4 brscan-skey brother-udev-rule-type1
[sudo] Mot de passe de lamy : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets suivants seront ENLEVÉS :
  brother-udev-rule-type1* brscan-skey* brscan4* dcpj140wcupswrapper:i386*
  dcpj140wlpr:i386*
0 mis à jour, 0 nouvellement installés, 5 à enlever et 9 non mis à jour.
2 partiellement installés ou enlevés.
Après cette opération, 221 ko d'espace disque seront libérés.
Souhaitez-vous continuer ? [O/n] o
dpkg: erreur de traitement du paquet brother-udev-rule-type1 (--purge) :
 Le paquet est dans un état incohérent; vous devriez
 le réinstaller avant d'essayer de le supprimer.
dpkg: erreur de traitement du paquet brscan4 (--purge) :
 Le paquet est dans un état incohérent; vous devriez
 le réinstaller avant d'essayer de le supprimer.
(Lecture de la base de données... 278332 fichiers et répertoires déjà installés.)
Suppression de brscan-skey (0.2.4-1) ...
Suppression de dcpj140wcupswrapper:i386 (1.1.3-6) ...
[ ok ] Restarting cups (via systemctl): cups.service.
Suppression de dcpj140wlpr:i386 (1.1.3-6) ...
Purge des fichiers de configuration de dcpj140wlpr:i386 (1.1.3-6) ...
Des erreurs ont été rencontrées pendant l'exécution :
 brother-udev-rule-type1
 brscan4
E: Sub-process /usr/bin/dpkg returned an error code (1)
lamy@lamy-H97M-HD3:~$ 

Hors ligne

#39 Le 30/05/2017, à 21:55

abelthorne

Re : [Résolu] imprimante Brother DCP-J140W n'imprime plus

Il y a un peu du mieux. Qu'est-ce que ça donne si tu essaies ça ?

sudo apt-get install --reinstall brscan4 brother-udev-rule-type1

Hors ligne

#40 Le 30/05/2017, à 22:20

Ph Lamy

Re : [Résolu] imprimante Brother DCP-J140W n'imprime plus

C'est moins bon apparemment : pas d'imprimante installée

lamy@lamy-H97M-HD3:~$ sudo apt-get install --reinstall brscan4 brother-udev-rule-type1
[sudo] Mot de passe de lamy : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets suivants seront mis à jour :
  brother-udev-rule-type1 brscan4
2 mis à jour, 0 nouvellement installés, 0 à enlever et 9 non mis à jour.
2 partiellement installés ou enlevés.
Il est nécessaire de prendre 0 o/75,7 ko dans les archives.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
ATTENTION : les paquets suivants n'ont pas été authentifiés.
  brother-udev-rule-type1 brscan4
Faut-il installer ces paquets sans vérification ? [o/N] o
Réception de:1 file:/home/lamy/depot_perso ./ brother-udev-rule-type1 1.0.2 [1 558 B]
Réception de:2 file:/home/lamy/depot_perso ./ brscan4 0.4.4-3 [74,1 kB]
Sélection du paquet brother-udev-rule-type1 précédemment désélectionné.
(Lecture de la base de données... 278301 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../brother-udev-rule-type1-1.0.2-0.all.deb ...
/var/lib/dpkg/info/brother-udev-rule-type1.prerm: 3: /var/lib/dpkg/info/brother-udev-rule-type1.prerm: /opt/brother/scanner/udev-rules/type1/install: not found
dpkg : avertissement : le sous-processus ancien script pre-removal a retourné une erreur de sortie d'état 127
dpkg: tentative d'exécution du script du nouveau paquet à la place...
/var/lib/dpkg/tmp.ci/prerm: 3: /var/lib/dpkg/tmp.ci/prerm: /opt/brother/scanner/udev-rules/type1/install: not found
dpkg: erreur de traitement de l'archive /home/lamy/depot_perso/./brother-udev-rule-type1-1.0.2-0.all.deb (--unpack) :
 le sous-processus nouveau script pre-removal a retourné une erreur de sortie d'état 127
/var/lib/dpkg/info/brother-udev-rule-type1.postinst: 3: /var/lib/dpkg/info/brother-udev-rule-type1.postinst: /opt/brother/scanner/udev-rules/type1/install: not found
dpkg : erreur lors du nettoyage :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 127
Sélection du paquet brscan4 précédemment désélectionné.
Préparation du dépaquetage de ..././brscan4-0.4.4-3.amd64.deb ...
/var/lib/dpkg/info/brscan4.prerm: 3: /var/lib/dpkg/info/brscan4.prerm: /opt/brother/scanner/brscan4/setupSaneScan4: not found
dpkg : avertissement : le sous-processus ancien script pre-removal a retourné une erreur de sortie d'état 127
dpkg: tentative d'exécution du script du nouveau paquet à la place...
/var/lib/dpkg/tmp.ci/prerm: 3: /var/lib/dpkg/tmp.ci/prerm: /opt/brother/scanner/brscan4/setupSaneScan4: not found
dpkg: erreur de traitement de l'archive /home/lamy/depot_perso/./brscan4-0.4.4-3.amd64.deb (--unpack) :
 le sous-processus nouveau script pre-removal a retourné une erreur de sortie d'état 127
This software is based in part on the work of the Independent JPEG Group.
/var/lib/dpkg/info/brscan4.postinst: 18: /var/lib/dpkg/info/brscan4.postinst: /opt/brother/scanner/brscan4/setupSaneScan4: not found
dpkg : erreur lors du nettoyage :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 127
Des erreurs ont été rencontrées pendant l'exécution :
 /home/lamy/depot_perso/./brother-udev-rule-type1-1.0.2-0.all.deb
 /home/lamy/depot_perso/./brscan4-0.4.4-3.amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
lamy@lamy-H97M-HD3:~$ 

Hors ligne

#41 Le 31/05/2017, à 09:27

abelthorne

Re : [Résolu] imprimante Brother DCP-J140W n'imprime plus

Bon, je pense qu'on est dans une situation indémerdable. Est-ce que ce serait envisageable de réinstaller Ubuntu (données à sauvegarder, etc.) ?

Là, on peut encore tester un truc mais ça pourrait rendre la situation encore pire vis-à-vis de la gestion des paquets.

À tout hasard, essaie les manips suivantes d'abord (pas de danger mais elles ne devraient rien changer) :

sudo rm /etc/apt/sources.list.d/depot_perso.list
sudo apt-get update
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get dist-upgrade

et donne le retour de la dernière commande.

Dernière modification par abelthorne (Le 31/05/2017, à 11:40)

Hors ligne

#42 Le 31/05/2017, à 11:52

Ph Lamy

Re : [Résolu] imprimante Brother DCP-J140W n'imprime plus

Après l'exécution de toutes les commandes proposées il n'y a pas d'imprimante configurée.
Si c'est la solution au problème on peut re-installer Ubuntu. Mais il va falloir m'expliquer bien précisément ce que je dois faire et en particulier ce que je dois sauvegarder. J'ai déjà sauvegarder mes fichiers personnels sur un disque dur externe. Mais je ne sais pas comment sauvegarder la configuration de Thunderbird (différentes adresses mail, répertoires programmés pour chaque adresse et surtout tous les messages conservés en mémoire). De même pour tous les raccourcis mémorisés dans Firefox. J'utilise  deux programmes par l'intermédiaire de Wine : que va t-il se passer pour eux ?
En ce moment, j'ai sans arrêt des propositions de mise à jour mais quand je les lance le message : " Nécessite l'installation de paquets non vérifiés" s'affiche et quand je valide s'affiche le fenêtre et le picto (dans la barre des tâches) disparaissent sans que rien ne se passe.

lamy@lamy-H97M-HD3:~$ sudo apt-get update
[sudo] Mot de passe de lamy : 
Réception de:1 file:/home/lamy/depot_perso ./ InRelease
Ign:1 file:/home/lamy/depot_perso ./ InRelease
Réception de:2 file:/home/lamy/depot_perso ./ Release
Ign:2 file:/home/lamy/depot_perso ./ Release
Réception de:3 file:/home/lamy/depot_perso ./ Packages
Ign:3 file:/home/lamy/depot_perso ./ Packages
Réception de:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Ign:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Réception de:5 file:/home/lamy/depot_perso ./ Translation-fr
Ign:5 file:/home/lamy/depot_perso ./ Translation-fr
Réception de:6 file:/home/lamy/depot_perso ./ Translation-en
Ign:6 file:/home/lamy/depot_perso ./ Translation-en
Réception de:3 file:/home/lamy/depot_perso ./ Packages
Ign:3 file:/home/lamy/depot_perso ./ Packages
Réception de:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Ign:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Réception de:5 file:/home/lamy/depot_perso ./ Translation-fr
Ign:5 file:/home/lamy/depot_perso ./ Translation-fr
Réception de:6 file:/home/lamy/depot_perso ./ Translation-en
Ign:6 file:/home/lamy/depot_perso ./ Translation-en
Réception de:3 file:/home/lamy/depot_perso ./ Packages
Ign:3 file:/home/lamy/depot_perso ./ Packages
Réception de:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Ign:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Réception de:5 file:/home/lamy/depot_perso ./ Translation-fr
Ign:5 file:/home/lamy/depot_perso ./ Translation-fr
Réception de:6 file:/home/lamy/depot_perso ./ Translation-en
Ign:6 file:/home/lamy/depot_perso ./ Translation-en
Réception de:3 file:/home/lamy/depot_perso ./ Packages [1 066 B]
Réception de:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Ign:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Réception de:5 file:/home/lamy/depot_perso ./ Translation-fr
Ign:5 file:/home/lamy/depot_perso ./ Translation-fr
Réception de:6 file:/home/lamy/depot_perso ./ Translation-en
Ign:6 file:/home/lamy/depot_perso ./ Translation-en
Réception de:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Ign:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Réception de:5 file:/home/lamy/depot_perso ./ Translation-fr
Ign:5 file:/home/lamy/depot_perso ./ Translation-fr
Réception de:6 file:/home/lamy/depot_perso ./ Translation-en
Ign:6 file:/home/lamy/depot_perso ./ Translation-en
Réception de:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Ign:4 file:/home/lamy/depot_perso ./ Translation-fr_FR
Réception de:5 file:/home/lamy/depot_perso ./ Translation-fr
Ign:5 file:/home/lamy/depot_perso ./ Translation-fr
Réception de:6 file:/home/lamy/depot_perso ./ Translation-en
Ign:6 file:/home/lamy/depot_perso ./ Translation-en
Atteint:7 http://fr.archive.ubuntu.com/ubuntu xenial InRelease
Réception de:8 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Réception de:9 http://fr.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Réception de:10 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [543 kB]
Réception de:11 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [28,5 kB]
Réception de:12 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [54,6 kB]
Réception de:13 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [45,7 kB]
Réception de:14 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [123 kB]
Réception de:15 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [110 kB]
Réception de:16 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [63,8 kB]
Réception de:17 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [32,2 kB]
Réception de:18 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [37,0 kB]
Réception de:19 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [528 kB]
Réception de:20 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [298 kB]
Réception de:21 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [193 kB]
Réception de:22 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [469 kB]
Réception de:23 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [454 kB]
Réception de:24 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [160 kB]
Réception de:25 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [188 kB]
Réception de:26 http://fr.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [2 516 B]
3 536 ko réceptionnés en 2s (1 256 ko/s)                               
Lecture des listes de paquets... Fait
W: The repository 'file:/home/lamy/depot_perso ./ Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
lamy@lamy-H97M-HD3:~$ sudo apt-get autoclean
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Del unattended-upgrades 0.90ubuntu0.5 [32,7 kB]
Del firefox-locale-en 53.0.2+build1-0ubuntu0.16.04.2 [665 kB]
Del gir1.2-webkit2-4.0 2.16.1-0ubuntu0.16.04.2 [67,4 kB]
Del firefox 53.0.2+build1-0ubuntu0.16.04.2 [46,4 MB]
Del gir1.2-javascriptcoregtk-4.0 2.16.1-0ubuntu0.16.04.2 [21,7 kB]
Del firefox-locale-fr 53.0.2+build1-0ubuntu0.16.04.2 [429 kB]
Del linux-image-generic 4.4.0.77.83 [2 306 B]
Del libwebkit2gtk-4.0-37-gtk2 2.16.1-0ubuntu0.16.04.2 [8 637 kB]
Del libjavascriptcoregtk-4.0-18 2.16.1-0ubuntu0.16.04.2 [3 949 kB]
Del login 1:4.2-3.1ubuntu5.2 [305 kB]
Del passwd 1:4.2-3.1ubuntu5.2 [780 kB]
Del linux-libc-dev 4.4.0-77.98 [836 kB]
Del linux-headers-generic 4.4.0.77.83 [2 278 B]
Del libwebkit2gtk-4.0-37 2.16.1-0ubuntu0.16.04.2 [10,6 MB]
Del linux-generic 4.4.0.77.83 [1 786 B]
lamy@lamy-H97M-HD3:~$ sudo apt-get clean
lamy@lamy-H97M-HD3:~$ sudo apt-get dist-upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
Les paquets suivants seront mis à jour :
  brother-udev-rule-type1 brscan4 gir1.2-javascriptcoregtk-4.0
  gir1.2-webkit2-4.0 gnome-software gnome-software-common imagemagick
  imagemagick-6.q16 imagemagick-common libjavascriptcoregtk-4.0-18
  libmagickcore-6.q16-2 libmagickcore-6.q16-2-extra libmagickwand-6.q16-2
  libtiff-tools libtiff5 libtiff5:i386 libwebkit2gtk-4.0-37
  libwebkit2gtk-4.0-37-gtk2 sudo ubuntu-software virtualbox-dkms
21 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
2 partiellement installés ou enlevés.
Il est nécessaire de prendre 29,7 Mo/29,8 Mo dans les archives.
Après cette opération, 138 ko d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] o
ATTENTION : les paquets suivants n'ont pas été authentifiés.
  brother-udev-rule-type1 brscan4
Faut-il installer ces paquets sans vérification ? [o/N] o
Réception de:1 file:/home/lamy/depot_perso ./ brother-udev-rule-type1 1.0.2 [1 558 B]
Réception de:2 file:/home/lamy/depot_perso ./ brscan4 0.4.4-3 [74,1 kB]
Réception de:3 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main i386 libtiff5 i386 4.0.6-1ubuntu0.2 [156 kB]
Réception de:4 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtiff5 amd64 4.0.6-1ubuntu0.2 [146 kB]
Réception de:5 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libmagickwand-6.q16-2 amd64 8:6.8.9.9-7ubuntu5.7 [288 kB]
Réception de:6 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libmagickcore-6.q16-2 amd64 8:6.8.9.9-7ubuntu5.7 [1 575 kB]
Réception de:7 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 imagemagick-common all 8:6.8.9.9-7ubuntu5.7 [41,5 kB]
Réception de:8 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 sudo amd64 1.8.16-0ubuntu1.4 [389 kB]
Réception de:9 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libwebkit2gtk-4.0-37-gtk2 amd64 2.16.3-0ubuntu0.16.04.1 [8 650 kB]
Réception de:10 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libwebkit2gtk-4.0-37 amd64 2.16.3-0ubuntu0.16.04.1 [10,6 MB]
Réception de:11 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libjavascriptcoregtk-4.0-18 amd64 2.16.3-0ubuntu0.16.04.1 [3 949 kB]
Réception de:12 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 gir1.2-webkit2-4.0 amd64 2.16.3-0ubuntu0.16.04.1 [67,4 kB]
Réception de:13 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 gir1.2-javascriptcoregtk-4.0 amd64 2.16.3-0ubuntu0.16.04.1 [21,2 kB]
Réception de:14 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 ubuntu-software amd64 3.20.1+git20170509.0.8292905-0ubuntu1~xenial1 [11,6 kB]
Réception de:15 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 gnome-software amd64 3.20.1+git20170509.0.8292905-0ubuntu1~xenial1 [230 kB]
Réception de:16 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 gnome-software-common all 3.20.1+git20170509.0.8292905-0ubuntu1~xenial1 [2 257 kB]
Réception de:17 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 imagemagick amd64 8:6.8.9.9-7ubuntu5.7 [44,9 kB]
Réception de:18 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 imagemagick-6.q16 amd64 8:6.8.9.9-7ubuntu5.7 [387 kB]
Réception de:19 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libmagickcore-6.q16-2-extra amd64 8:6.8.9.9-7ubuntu5.7 [59,6 kB]
Réception de:20 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 libtiff-tools amd64 4.0.6-1ubuntu0.2 [221 kB]
Réception de:21 http://fr.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 virtualbox-dkms all 5.0.40-dfsg-0ubuntu1.16.04.1 [623 kB]
29,7 Mo réceptionnés en 21s (1 391 ko/s)                                       
(Lecture de la base de données... 278301 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../brother-udev-rule-type1-1.0.2-0.all.deb ...
/var/lib/dpkg/info/brother-udev-rule-type1.prerm: 3: /var/lib/dpkg/info/brother-udev-rule-type1.prerm: /opt/brother/scanner/udev-rules/type1/install: not found
dpkg : avertissement : le sous-processus ancien script pre-removal a retourné une erreur de sortie d'état 127
dpkg: tentative d'exécution du script du nouveau paquet à la place...
/var/lib/dpkg/tmp.ci/prerm: 3: /var/lib/dpkg/tmp.ci/prerm: /opt/brother/scanner/udev-rules/type1/install: not found
dpkg: erreur de traitement de l'archive /home/lamy/depot_perso/./brother-udev-rule-type1-1.0.2-0.all.deb (--unpack) :
 le sous-processus nouveau script pre-removal a retourné une erreur de sortie d'état 127
/var/lib/dpkg/info/brother-udev-rule-type1.postinst: 3: /var/lib/dpkg/info/brother-udev-rule-type1.postinst: /opt/brother/scanner/udev-rules/type1/install: not found
dpkg : erreur lors du nettoyage :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 127
Préparation du dépaquetage de ..././brscan4-0.4.4-3.amd64.deb ...
/var/lib/dpkg/info/brscan4.prerm: 3: /var/lib/dpkg/info/brscan4.prerm: /opt/brother/scanner/brscan4/setupSaneScan4: not found
dpkg : avertissement : le sous-processus ancien script pre-removal a retourné une erreur de sortie d'état 127
dpkg: tentative d'exécution du script du nouveau paquet à la place...
/var/lib/dpkg/tmp.ci/prerm: 3: /var/lib/dpkg/tmp.ci/prerm: /opt/brother/scanner/brscan4/setupSaneScan4: not found
dpkg: erreur de traitement de l'archive /home/lamy/depot_perso/./brscan4-0.4.4-3.amd64.deb (--unpack) :
 le sous-processus nouveau script pre-removal a retourné une erreur de sortie d'état 127
This software is based in part on the work of the Independent JPEG Group.
/var/lib/dpkg/info/brscan4.postinst: 18: /var/lib/dpkg/info/brscan4.postinst: /opt/brother/scanner/brscan4/setupSaneScan4: not found
dpkg : erreur lors du nettoyage :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 127
Préparation du dépaquetage de .../libtiff5_4.0.6-1ubuntu0.2_amd64.deb ...
Déconfiguration de libtiff5:i386 (4.0.6-1ubuntu0.1) ...
Dépaquetage de libtiff5:amd64 (4.0.6-1ubuntu0.2) sur (4.0.6-1ubuntu0.1) ...
Préparation du dépaquetage de .../libtiff5_4.0.6-1ubuntu0.2_i386.deb ...
Dépaquetage de libtiff5:i386 (4.0.6-1ubuntu0.2) sur (4.0.6-1ubuntu0.1) ...
Préparation du dépaquetage de .../libmagickwand-6.q16-2_8%3a6.8.9.9-7ubuntu5.7_amd64.deb ...
Dépaquetage de libmagickwand-6.q16-2:amd64 (8:6.8.9.9-7ubuntu5.7) sur (8:6.8.9.9-7ubuntu5.6) ...
Préparation du dépaquetage de .../libmagickcore-6.q16-2_8%3a6.8.9.9-7ubuntu5.7_amd64.deb ...
Dépaquetage de libmagickcore-6.q16-2:amd64 (8:6.8.9.9-7ubuntu5.7) sur (8:6.8.9.9-7ubuntu5.6) ...
Préparation du dépaquetage de .../imagemagick-common_8%3a6.8.9.9-7ubuntu5.7_all.deb ...
Dépaquetage de imagemagick-common (8:6.8.9.9-7ubuntu5.7) sur (8:6.8.9.9-7ubuntu5.6) ...
Préparation du dépaquetage de .../sudo_1.8.16-0ubuntu1.4_amd64.deb ...
Dépaquetage de sudo (1.8.16-0ubuntu1.4) sur (1.8.16-0ubuntu1.3) ...
Préparation du dépaquetage de .../libwebkit2gtk-4.0-37-gtk2_2.16.3-0ubuntu0.16.04.1_amd64.deb ...
Dépaquetage de libwebkit2gtk-4.0-37-gtk2:amd64 (2.16.3-0ubuntu0.16.04.1) sur (2.16.1-0ubuntu0.16.04.2) ...
Préparation du dépaquetage de .../libwebkit2gtk-4.0-37_2.16.3-0ubuntu0.16.04.1_amd64.deb ...
Dépaquetage de libwebkit2gtk-4.0-37:amd64 (2.16.3-0ubuntu0.16.04.1) sur (2.16.1-0ubuntu0.16.04.2) ...
Préparation du dépaquetage de .../libjavascriptcoregtk-4.0-18_2.16.3-0ubuntu0.16.04.1_amd64.deb ...
Dépaquetage de libjavascriptcoregtk-4.0-18:amd64 (2.16.3-0ubuntu0.16.04.1) sur (2.16.1-0ubuntu0.16.04.2) ...
Préparation du dépaquetage de .../gir1.2-webkit2-4.0_2.16.3-0ubuntu0.16.04.1_amd64.deb ...
Dépaquetage de gir1.2-webkit2-4.0:amd64 (2.16.3-0ubuntu0.16.04.1) sur (2.16.1-0ubuntu0.16.04.2) ...
Préparation du dépaquetage de .../gir1.2-javascriptcoregtk-4.0_2.16.3-0ubuntu0.16.04.1_amd64.deb ...
Dépaquetage de gir1.2-javascriptcoregtk-4.0:amd64 (2.16.3-0ubuntu0.16.04.1) sur (2.16.1-0ubuntu0.16.04.2) ...
Préparation du dépaquetage de .../ubuntu-software_3.20.1+git20170509.0.8292905-0ubuntu1~xenial1_amd64.deb ...
Dépaquetage de ubuntu-software (3.20.1+git20170509.0.8292905-0ubuntu1~xenial1) sur (3.20.1+git20170208.0.a34b091-0ubuntu1~xenial1) ...
Préparation du dépaquetage de .../gnome-software_3.20.1+git20170509.0.8292905-0ubuntu1~xenial1_amd64.deb ...
Dépaquetage de gnome-software (3.20.1+git20170509.0.8292905-0ubuntu1~xenial1) sur (3.20.1+git20170208.0.a34b091-0ubuntu1~xenial1) ...
Préparation du dépaquetage de .../gnome-software-common_3.20.1+git20170509.0.8292905-0ubuntu1~xenial1_all.deb ...
Dépaquetage de gnome-software-common (3.20.1+git20170509.0.8292905-0ubuntu1~xenial1) sur (3.20.1+git20170208.0.a34b091-0ubuntu1~xenial1) ...
Préparation du dépaquetage de .../imagemagick_8%3a6.8.9.9-7ubuntu5.7_amd64.deb ...
Dépaquetage de imagemagick (8:6.8.9.9-7ubuntu5.7) sur (8:6.8.9.9-7ubuntu5.6) ...
Préparation du dépaquetage de .../imagemagick-6.q16_8%3a6.8.9.9-7ubuntu5.7_amd64.deb ...
Dépaquetage de imagemagick-6.q16 (8:6.8.9.9-7ubuntu5.7) sur (8:6.8.9.9-7ubuntu5.6) ...
Préparation du dépaquetage de .../libmagickcore-6.q16-2-extra_8%3a6.8.9.9-7ubuntu5.7_amd64.deb ...
Dépaquetage de libmagickcore-6.q16-2-extra:amd64 (8:6.8.9.9-7ubuntu5.7) sur (8:6.8.9.9-7ubuntu5.6) ...
Préparation du dépaquetage de .../libtiff-tools_4.0.6-1ubuntu0.2_amd64.deb ...
Dépaquetage de libtiff-tools (4.0.6-1ubuntu0.2) sur (4.0.6-1ubuntu0.1) ...
Préparation du dépaquetage de .../virtualbox-dkms_5.0.40-dfsg-0ubuntu1.16.04.1_all.deb ...

-------- Uninstall Beginning --------
Module:  virtualbox
Version: 5.0.36
Kernel:  4.4.0-77-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

vboxdrv.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.4.0-77-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


vboxnetadp.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.4.0-77-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


vboxnetflt.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.4.0-77-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


vboxpci.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.4.0-77-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod....

DKMS: uninstall completed.

-------- Uninstall Beginning --------
Module:  virtualbox
Version: 5.0.36
Kernel:  4.4.0-78-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

vboxdrv.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.4.0-78-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


vboxnetadp.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.4.0-78-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


vboxnetflt.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.4.0-78-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


vboxpci.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.4.0-78-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod....

DKMS: uninstall completed.

------------------------------
Deleting module version: 5.0.36
completely from the DKMS tree.
------------------------------
Done.
Dépaquetage de virtualbox-dkms (5.0.40-dfsg-0ubuntu1.16.04.1) sur (5.0.36-dfsg-0ubuntu1.16.04.2) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.23-0ubuntu7) ...
Traitement des actions différées (« triggers ») pour man-db (2.7.5-1) ...
Traitement des actions différées (« triggers ») pour hicolor-icon-theme (0.15-0ubuntu1) ...
Traitement des actions différées (« triggers ») pour libglib2.0-0:amd64 (2.48.2-0ubuntu1) ...
Traitement des actions différées (« triggers ») pour desktop-file-utils (0.22-1ubuntu5.1) ...
Traitement des actions différées (« triggers ») pour bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Traitement des actions différées (« triggers ») pour gnome-menus (3.13.3-6ubuntu3.1) ...
Traitement des actions différées (« triggers ») pour mime-support (3.59ubuntu1) ...
Des erreurs ont été rencontrées pendant l'exécution :
 /home/lamy/depot_perso/./brother-udev-rule-type1-1.0.2-0.all.deb
 /home/lamy/depot_perso/./brscan4-0.4.4-3.amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
lamy@lamy-H97M-HD3:~$ 

Hors ligne

#43 Le 31/05/2017, à 12:19

abelthorne

Re : [Résolu] imprimante Brother DCP-J140W n'imprime plus

Tu as peut-être fait les commandes avant de voir la modification de mon dernier message. Supprime le dépôt perso que je t'ai fait ajouter, ça n'aide finalement pas au problème et ça supprimera l'avertissement à propos de paquets non vérifiés et recharge les sources :

sudo rm /etc/apt/sources.list.d/depot_perso.list
sudo apt-get update
sudo apt-get autoclean
sudo apt-get clean

On va quand même retenter une manip. Réinstalle l'imprimante via le script puis essaie de supprimer les paquets :

sudo ~/Téléchargements/linux-brprinter-installer-2.1.1-1
sudo apt-get remove --purge dcpj140wcupswrapper:i386 dcpj140wlpr:i386 brscan4 brscan-skey brother-udev-rule-type1

Hors ligne

#44 Le 31/05/2017, à 13:23

Ph Lamy

Re : [Résolu] imprimante Brother DCP-J140W n'imprime plus

Tous les fichiers qui étaient dans depot-perso sont aussi dans la racine de Dossier personnel. Dois-je les supprimer également avant de lancer toutes les commandes que tu viens de me proposer et qui va chercher les fichiers d'installation dans Telechargements où ils sont bien présents ?

Hors ligne

#45 Le 31/05/2017, à 14:11

abelthorne

Re : [Résolu] imprimante Brother DCP-J140W n'imprime plus

Ça n'a pas d'importance, supprimer le dépôt empêche APT d'aller les chercher. Garde-les pour le moment.

Hors ligne

#46 Le 31/05/2017, à 14:50

Ph Lamy

Re : [Résolu] imprimante Brother DCP-J140W n'imprime plus

Au début puis à la fin de l'installation le message : "Désolé Ubuntu 16.04 a rencontré une erreur interne" s'est affiché :

lamy@lamy-H97M-HD3:~$ sudo rm /etc/apt/sources.list.d/depot_perso.list
[sudo] Mot de passe de lamy : 
Désolé, essayez de nouveau.
[sudo] Mot de passe de lamy : 
lamy@lamy-H97M-HD3:~$ sudo apt-get update
Atteint:1 http://fr.archive.ubuntu.com/ubuntu xenial InRelease
Réception de:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Atteint:3 http://fr.archive.ubuntu.com/ubuntu xenial-updates InRelease         
Réception de:4 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [54,6 kB]
Réception de:5 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [45,7 kB]
Réception de:6 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [32,2 kB]
Réception de:7 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [37,0 kB]
272 ko réceptionnés en 0s (487 ko/s)                                 
Lecture des listes de paquets... Fait
lamy@lamy-H97M-HD3:~$ sudo apt-get autoclean
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
lamy@lamy-H97M-HD3:~$ sudo apt-get clean
lamy@lamy-H97M-HD3:~$ sudo ~/Téléchargements/linux-brprinter-installer-2.1.1-1
Input model name ->dcp-j140w

You are going to install following packages.
   dcpj140wlpr-1.1.3-6.i386.deb
   dcpj140wcupswrapper-1.1.3-6.i386.deb
   brscan4-0.4.4-3.amd64.deb
   brscan-skey-0.2.4-1.amd64.deb
OK? [y/N] ->y

Atteint:1 http://fr.archive.ubuntu.com/ubuntu xenial InRelease
Atteint:2 http://fr.archive.ubuntu.com/ubuntu xenial-updates InRelease         
Atteint:3 http://security.ubuntu.com/ubuntu xenial-security InRelease          
Lecture des listes de paquets... Fait
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
E: Le paquet brother-udev-rule-type1 doit être réinstallé, mais il est impossible de trouver son archive.
dpkg -x dcpj140wlpr-1.1.3-6.i386.deb /
dpkg -x dcpj140wcupswrapper-1.1.3-6.i386.deb /
dpkg-deb : construction du paquet « dcpj140wlpr » dans « dcpj140wlpr-1.1.3-6a.i386.deb ».
dpkg -b ./brother_driver_packdir dcpj140wlpr-1.1.3-6a.i386.deb
dpkg-deb : construction du paquet « dcpj140wcupswrapper » dans « dcpj140wcupswrapper-1.1.3-6a.i386.deb ».
dpkg -b ./brother_driver_packdir dcpj140wcupswrapper-1.1.3-6a.i386.deb
dpkg -i --force-all dcpj140wlpr-1.1.3-6a.i386.deb
Sélection du paquet dcpj140wlpr:i386 précédemment désélectionné.
(Lecture de la base de données... 278302 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de dcpj140wlpr-1.1.3-6a.i386.deb ...
Dépaquetage de dcpj140wlpr:i386 (1.1.3-6) ...
Paramétrage de dcpj140wlpr:i386 (1.1.3-6) ...
dpkg -i --force-all dcpj140wcupswrapper-1.1.3-6a.i386.deb
Sélection du paquet dcpj140wcupswrapper:i386 précédemment désélectionné.
(Lecture de la base de données... 278323 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de dcpj140wcupswrapper-1.1.3-6a.i386.deb ...
Dépaquetage de dcpj140wcupswrapper:i386 (1.1.3-6) ...
Paramétrage de dcpj140wcupswrapper:i386 (1.1.3-6) ...
Restarting cups (via systemctl): cups.service.
#
Will you specify the Device URI? [Y/n] ->y


0: beh
1: ipp14
2: socket
3: ipps
4: ipp
5: serial:/dev/ttyS0?baud=115200
6: http
7: lpd
8: https
9: parallel:/dev/lp0
10: hp
11: hpfax
12: dnssd://Brother%20DCP-J140W._pdl-datastream._tcp.local/
13: dnssd://bbox%20Ippos%20Printer._ipp._tcp.local/
14: lpd://BRW0080929FC58C/BINARY_P1
15 (I): Specify IP address.
16 (A): Auto. (dnssd://Brother%20DCP-J140W._pdl-datastream._tcp.local/)

select the number of destination Device URI. ->16 

lpadmin -p DCPJ140W -v dnssd://Brother%20DCP-J140W._pdl-datastream._tcp.local/ -E
Test Print? [y/N] ->y

wait 5s.
lpr -P DCPJ140W /usr/share/cups/data/testprint
You are going to install following packages.
   brscan4-0.4.4-3.amd64.deb
dpkg -i --force-all brscan4-0.4.4-3.amd64.deb
(Lecture de la base de données... 278327 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de brscan4-0.4.4-3.amd64.deb ...
/var/lib/dpkg/info/brscan4.prerm: 3: /var/lib/dpkg/info/brscan4.prerm: /opt/brother/scanner/brscan4/setupSaneScan4: not found
dpkg : avertissement : le sous-processus ancien script pre-removal a retourné une erreur de sortie d'état 127
dpkg: tentative d'exécution du script du nouveau paquet à la place...
/var/lib/dpkg/tmp.ci/prerm: 3: /var/lib/dpkg/tmp.ci/prerm: /opt/brother/scanner/brscan4/setupSaneScan4: not found
dpkg: erreur de traitement de l'archive brscan4-0.4.4-3.amd64.deb (--install) :
 le sous-processus nouveau script pre-removal a retourné une erreur de sortie d'état 127
This software is based in part on the work of the Independent JPEG Group.
/var/lib/dpkg/info/brscan4.postinst: 18: /var/lib/dpkg/info/brscan4.postinst: /opt/brother/scanner/brscan4/setupSaneScan4: not found
dpkg : erreur lors du nettoyage :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 127
Des erreurs ont été rencontrées pendant l'exécution :
 brscan4-0.4.4-3.amd64.deb
You are going to install following packages.
   brscan-skey-0.2.4-1.amd64.deb
dpkg -i --force-all brscan-skey-0.2.4-1.amd64.deb
Sélection du paquet brscan-skey précédemment désélectionné.
(Lecture de la base de données... 278327 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de brscan-skey-0.2.4-1.amd64.deb ...
Dépaquetage de brscan-skey (0.2.4-1) ...
Paramétrage de brscan-skey (0.2.4-1) ...
Hit Enter/Return key.
lamy@lamy-H97M-HD3:~$ sudo apt-get remove --purge dcpj140wcupswrapper:i386 dcpj140wlpr:i386 brscan4 brscan-skey brother-udev-rule-type1
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
E: Le paquet brother-udev-rule-type1 doit être réinstallé, mais il est impossible de trouver son archive.
lamy@lamy-H97M-HD3:~$ 

Hors ligne

#47 Le 31/05/2017, à 14:54

Ph Lamy

Re : [Résolu] imprimante Brother DCP-J140W n'imprime plus

J'ai oublié de préciser que l'imprimante est configurée et fonctionne mais toujours pas le scanner : Simple Scan s'ouvre puis se referme immédiatement.

Hors ligne

#48 Le 31/05/2017, à 15:07

sinbad83

Re : [Résolu] imprimante Brother DCP-J140W n'imprime plus

Bonjour,
peux-tu donner les retours de

dpkg -l sane-utils simple-scan xsane
brsaneconfig3 -q | grep -i DCP-J140
brscan-skey ; brscan-skey -l 
scanimage -L

Si tu es en 64 bits, lance

sudo cp -a /usr/lib64/libbrscan* /usr/lib/x86_64-linux-gnu/
sudo cp -R /usr/lib64/* /usr/lib/

Donne les retours de

cat /etc/default/saned

Si tu es en 16.10 ou plus, lance aussi

sudo apt install libusb-0.1-4 libusb-0.1-4:i386

En finale, redonne les retours de brscanskey -l et scanimage -L

Dernière modification par sinbad83 (Le 31/05/2017, à 15:10)


La connaissance n'est pas une denrée rare, il faut la partager avec les autres.
Linux registered #484707
Site: www.coursinforev.org/doku.php
Desktop AMD Ryzen 5-3600, RAM 16GB, Ubuntu 20.10,   HP Pavillon G6 Ubuntu 20.10 et Ten, Serveur Ubuntu 18.04

Hors ligne

#49 Le 31/05/2017, à 16:22

Ph Lamy

Re : [Résolu] imprimante Brother DCP-J140W n'imprime plus

1-

lamy@lamy-H97M-HD3:~$ dpkg -l sane-utils simple-scan xsane
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom            Version      Architecture Description
+++-==============-============-============-=================================
ii  sane-utils     1.0.25+git20 amd64        API library for scanners -- utili
ii  simple-scan    3.20.0-0ubun amd64        Simple Scanning Utility
dpkg-query: aucun paquet ne correspond à xsane
lamy@lamy-H97M-HD3:~$ brsaneconfig3 -q | grep -i DCP-J140
brsaneconfig3 : commande introuvable
lamy@lamy-H97M-HD3:~$ brscan-skey ; brscan-skey -l 

lamy@lamy-H97M-HD3:~$ scanimage -L
bugchk_free(ptr=(nil))@brother_modelinf.c(460)
Abandon (core dumped)
lamy@lamy-H97M-HD3:~$ 

2-

lamy@lamy-H97M-HD3:~$ sudo cp -a /usr/lib64/libbrscan* /usr/lib/x86_64-linux-gnu/
[sudo] Mot de passe de lamy : 
cp: impossible d'évaluer '/usr/lib64/libbrscan*': Aucun fichier ou dossier de ce type
lamy@lamy-H97M-HD3:~$ sudo cp -R /usr/lib64/* /usr/lib/
cp: '/usr/lib64/sane/libsane-brother4.so.1.0.7' et '/usr/lib/sane/libsane-brother4.so.1.0.7' identifient le même fichier
lamy@lamy-H97M-HD3:~$ 

3-

lamy@lamy-H97M-HD3:~$ cat /etc/default/saned
# Defaults for the saned initscript, from sane-utils

# To enable under systemd please read README.Debian
# Set to yes to start saned under SysV
RUN=no

# Set to the user saned should run as
RUN_AS_USER=saned
lamy@lamy-H97M-HD3:~$ 

4-

lamy@lamy-H97M-HD3:~$ sudo apt install libusb-0.1-4 libusb-0.1-4:i386
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
E: Le paquet brother-udev-rule-type1 doit être réinstallé, mais il est impossible de trouver son archive.
lamy@lamy-H97M-HD3:~$ 

5-

lamy@lamy-H97M-HD3:~$ brscan-skey -l 

lamy@lamy-H97M-HD3:~$ scanimage -L
bugchk_free(ptr=(nil))@brother_modelinf.c(460)
Abandon (core dumped)
lamy@lamy-H97M-HD3:~$ 

Hors ligne

#50 Le 31/05/2017, à 16:33

abelthorne

Re : [Résolu] imprimante Brother DCP-J140W n'imprime plus

Personnellement, je serais pour un backup des données avant de tenter de supprimer les paquets Brother de façon radicale avec dpkg et, si ça casse encore plus APT, de réinstaller Ubuntu.

Tu mentionnais les favoris de Firefox, les données de Thunderbird et deux logiciels Wine : quels sont les deux logiciels en question ? Autre chose en particulier à garder ?

Hors ligne