URL: https://linuxfr.org/forums/linux-debian-ubuntu/posts/installation-d-une-imprimante-brother-hl-l2300d-avec-debian-stable Title: installation d'une imprimante Brother HL-L2300D avec debian stable Authors: Patrick Trauquesègues Date: 2017年03月16日T09:34:25+01:00 License: CC By-SA Tags: bug, pilote, propriétaire, imprimante, debian, brother et laser Score: -11 Bonjour, Heureux acquereur d'une **imprimante laser Brother HL-L2300D**, je viens de faire confiance au constructeur **Brother** comme je le fais déjà avec HP et Epson. Je télécharge donc le script d'installation prévu, d'autant plus qu'il semble fonctionner chez d'autres d'après les références trouvées sur internet. Je lance le script, quelques erreurs sont signalées, ce qui arrive parfois, mais le programme d'installation poursuit son travail. Quand on me demande Yes, je dis Yes, et puis il y a le test d'impression... Rien. Bon, le script se termine, et j'essaie à nouveau la commande... Rien. je lance cups : "Printers Error Unable to get printer list: Bad file descriptor" aptitude est cassé, etc etc... La réinstallation du système qui avait plusieurs années est nécessaire. Je crois que je vais rapporter l'imprimante. Mais peut-être que chez d'autres "ça marche", d'où ce journal, qui ne peut toutefois s'appliquer à tous les produits **Brother laser**, et qui peut s'expliquer par un bug ou une exception particulière du logiciel d'installation de l'**imprimante laser Brother HL-L2300D**, voire même qui aurait pu être causé par une erreur de manipulation de ma part. ```sh root@debianstable:/home/patrick/Téléchargements# date jeudi 16 mars 2017, 01:11:42 (UTC+0100) http://support.brother.com/g/b/downloadhowto.aspx?c=fr&lang=fr&prod=hll2300d_us_eu_as&os=128&dlid=dlf006893_000&flang=4&type3=625 debian STABLE FRENCH destruction de répertoires dont /var/lib dont /var/lib/dpkg plusieurs logiciels sont inutilisables dont aptitude la réinstallation du système est nécessaire l'imprimante **Brother HL-L2300D** ne fonctionne pas. ENGLISH Destruction of directories including / var / lib including / var / lib / dpkg Several programs are unusable including Reinstallation of the system is necessary The printer **Brother HL-L2300D** does not work. ``` LOGS ```sh root@debianstable:/home/patrick/Téléchargements# sh linux-brprinter-installer-2.1.1-1 -e -n Input model name -> hll2300d -e -e You are going to install following packages. -e hll2300dlpr-3.2.0-1.i386.deb -e hll2300dcupswrapper-3.2.0-1.i386.deb -e -n OK? [y/N] -> y -e -e ========================================= 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 [license] ========================================= -e -e -n Do you agree? [Y/n] -> Y -e wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/hll2300dcupswrapper-3.2.0-1.i386.deb --2017年03月16日 00:36:25-- http://www.brother.com/pub/bsc/linux/packages/hll2300dcupswrapper-3.2.0-1.i386.deb Résolution de www.brother.com (www.brother.com)... 92.123.227.219, 92.123.227.168 Connexion à www.brother.com (www.brother.com)|92.123.227.219|:80... connecté. requête HTTP transmise, en attente de la réponse... 200 OK Taille : 18990 (19K) [text/plain] Sauvegarde en : « hll2300dcupswrapper-3.2.0-1.i386.deb » hll2300dcupswrapper-3.2.0-1.i386.deb 100%[======================================================================================================================================================================>] 18,54K --.-KB/s ds 0,01s 2017年03月16日 00:36:26 (1,54 MB/s) — « hll2300dcupswrapper-3.2.0-1.i386.deb » sauvegardé [18990/18990] Ign http://dl.google.com stable InRelease Ign http://ftp.fr.debian.org stable InRelease Atteint http://dl.google.com stable Release.gpg Atteint http://dl.google.com stable Release Réception de : 1 http://ftp.fr.debian.org stable-updates InRelease [145 kB] Réception de : 2 http://security.debian.org stable/updates InRelease [63,1 kB] Atteint http://dl.google.com stable/main amd64 Packages Atteint http://ftp.fr.debian.org stable Release.gpg Réception de : 3 http://ftp.fr.debian.org stable-updates/main Sources [15,5 kB] Réception de : 4 http://security.debian.org stable/updates/main Sources [191 kB] Réception de : 5 http://ftp.fr.debian.org stable-updates/contrib Sources [32 B] Réception de : 6 http://security.debian.org stable/updates/contrib Sources [1 439 B] Réception de : 7 http://security.debian.org stable/updates/non-free Sources [14 B] Réception de : 8 http://security.debian.org stable/updates/main amd64 Packages [355 kB] Ign http://dl.google.com stable/main Translation-fr_FR Ign http://dl.google.com stable/main Translation-fr Ign http://dl.google.com stable/main Translation-en Réception de : 9 http://security.debian.org stable/updates/contrib amd64 Packages [2 506 B] Réception de : 10 http://security.debian.org stable/updates/non-free amd64 Packages [14 B] Réception de : 11 http://security.debian.org stable/updates/contrib Translation-en [1 211 B] Réception de : 12 http://security.debian.org stable/updates/main Translation-en [194 kB] Réception de : 13 http://ftp.fr.debian.org stable-updates/non-free Sources [920 B] Réception de : 14 http://ftp.fr.debian.org stable-updates/main amd64 Packages/DiffIndex [7 408 B] Réception de : 15 http://ftp.fr.debian.org stable-updates/contrib amd64 Packages [32 B] Réception de : 16 http://security.debian.org stable/updates/non-free Translation-en [14 B] Réception de : 17 http://ftp.fr.debian.org stable-updates/non-free amd64 Packages/DiffIndex [736 B] Réception de : 18 http://ftp.fr.debian.org stable-updates/contrib Translation-en [14 B] Réception de : 19 http://ftp.fr.debian.org stable-updates/main Translation-en/DiffIndex [2 704 B] Réception de : 20 http://ftp.fr.debian.org stable-updates/non-free Translation-en/DiffIndex [736 B] Atteint http://ftp.fr.debian.org stable Release Atteint http://ftp.fr.debian.org stable/main Sources Atteint http://ftp.fr.debian.org stable/contrib Sources Atteint http://ftp.fr.debian.org stable/non-free Sources Atteint http://ftp.fr.debian.org stable/main amd64 Packages Atteint http://ftp.fr.debian.org stable/contrib amd64 Packages Atteint http://ftp.fr.debian.org stable/non-free amd64 Packages Atteint http://ftp.fr.debian.org stable/contrib Translation-en Atteint http://ftp.fr.debian.org stable/main Translation-fr Atteint http://ftp.fr.debian.org stable/main Translation-en Atteint http://ftp.fr.debian.org stable/non-free Translation-en 982 ko réceptionnés en 6s (158 ko/s) 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 Package ia32-libs is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: lib32z1 lib32ncurses5 E: Package 'ia32-libs' has no installation candidate Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait Les paquets supplémentaires suivants seront installés : lib32gcc1 Les NOUVEAUX paquets suivants seront installés : lib32gcc1 lib32stdc++6 0 mis à jour, 2 nouvellement installés, 0 à enlever et 12 non mis à jour. Il est nécessaire de prendre 328 ko dans les archives. Après cette opération, 1 381 ko d'espace disque supplémentaires seront utilisés. Souhaitez-vous continuer ? [O/n] ^C ``` ```sh root@debianstable:/home/patrick/Téléchargements# aptitude root@debianstable:/home/patrick/Téléchargements# sh linux-brprinter-installer-2.1.1-1 -e -n Input model name -> hll2300d -e -e You are going to install following packages. -e hll2300dlpr-3.2.0-1.i386.deb -e hll2300dcupswrapper-3.2.0-1.i386.deb -e -n OK? [y/N] -> y -e Ign http://ftp.fr.debian.org stable InRelease Ign http://dl.google.com stable InRelease Atteint http://security.debian.org stable/updates InRelease Atteint http://ftp.fr.debian.org stable-updates InRelease Atteint http://dl.google.com stable Release.gpg Atteint http://dl.google.com stable Release Atteint http://ftp.fr.debian.org stable Release.gpg Atteint http://security.debian.org stable/updates/main Sources Atteint http://ftp.fr.debian.org stable Release Atteint http://security.debian.org stable/updates/contrib Sources Atteint http://ftp.fr.debian.org stable-updates/main Sources Atteint http://dl.google.com stable/main amd64 Packages Atteint http://security.debian.org stable/updates/non-free Sources Atteint http://security.debian.org stable/updates/main amd64 Packages Atteint http://ftp.fr.debian.org stable-updates/contrib Sources Atteint http://security.debian.org stable/updates/contrib amd64 Packages Atteint http://ftp.fr.debian.org stable-updates/non-free Sources Atteint http://security.debian.org stable/updates/non-free amd64 Packages Atteint http://security.debian.org stable/updates/contrib Translation-en Réception de : 1 http://ftp.fr.debian.org stable-updates/main amd64 Packages/DiffIndex [7 408 B] Atteint http://security.debian.org stable/updates/main Translation-en Atteint http://ftp.fr.debian.org stable-updates/contrib amd64 Packages Atteint http://security.debian.org stable/updates/non-free Translation-en Réception de : 2 http://ftp.fr.debian.org stable-updates/non-free amd64 Packages/DiffIndex [736 B] Atteint http://ftp.fr.debian.org stable-updates/contrib Translation-en Réception de : 3 http://ftp.fr.debian.org stable-updates/main Translation-en/DiffIndex [2 704 B] Réception de : 4 http://ftp.fr.debian.org stable-updates/non-free Translation-en/DiffIndex [736 B] Ign http://dl.google.com stable/main Translation-fr_FR Ign http://dl.google.com stable/main Translation-fr Atteint http://ftp.fr.debian.org stable/main Sources Ign http://dl.google.com stable/main Translation-en Atteint http://ftp.fr.debian.org stable/contrib Sources Atteint http://ftp.fr.debian.org stable/non-free Sources Atteint http://ftp.fr.debian.org stable/main amd64 Packages Atteint http://ftp.fr.debian.org stable/contrib amd64 Packages Atteint http://ftp.fr.debian.org stable/non-free amd64 Packages Atteint http://ftp.fr.debian.org stable/contrib Translation-en Atteint http://ftp.fr.debian.org stable/main Translation-fr Atteint http://ftp.fr.debian.org stable/main Translation-en Atteint http://ftp.fr.debian.org stable/non-free Translation-en 11,6 ko réceptionnés en 4s (2 324 o/s) 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 Package ia32-libs is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: lib32z1 lib32ncurses5 E: Package 'ia32-libs' has no installation candidate Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait Les paquets supplémentaires suivants seront installés : lib32gcc1 Les NOUVEAUX paquets suivants seront installés : lib32gcc1 lib32stdc++6 0 mis à jour, 2 nouvellement installés, 0 à enlever et 12 non mis à jour. Il est nécessaire de prendre 328 ko dans les archives. Après cette opération, 1 381 ko d'espace disque supplémentaires seront utilisés. Souhaitez-vous continuer ? [O/n] Réception de : 1 http://ftp.fr.debian.org/debian/ stable/main lib32gcc1 amd64 1:4.9.2-10 [47,9 kB] Réception de : 2 http://ftp.fr.debian.org/debian/ stable/main lib32stdc++6 amd64 4.9.2-10 [280 kB] 328 ko réceptionnés en 0s (648 ko/s) Sélection du paquet lib32gcc1 précédemment désélectionné. (Lecture de la base de données... 338110 fichiers et répertoires déjà installés.) Préparation du dépaquetage de .../lib32gcc1_1%3a4.9.2-10_amd64.deb ... Dépaquetage de lib32gcc1 (1:4.9.2-10) ... Sélection du paquet lib32stdc++6 précédemment désélectionné. Préparation du dépaquetage de .../lib32stdc++6_4.9.2-10_amd64.deb ... Dépaquetage de lib32stdc++6 (4.9.2-10) ... Paramétrage de lib32gcc1 (1:4.9.2-10) ... Paramétrage de lib32stdc++6 (4.9.2-10) ... Traitement des actions différées (« triggers ») pour libc-bin (2.19-18+deb8u7) ... dpkg -x hll2300dlpr-3.2.0-1.i386.deb / dpkg -x hll2300dcupswrapper-3.2.0-1.i386.deb / dpkg-query : erreur : la lecture du fichier « info » « /var/lib/dpkg/status » du paquet a échoué: Aucun fichier ou dossier de ce type dpkg-deb : construction du paquet « hll2300dlpr » dans « hll2300dlpr-3.2.0-1a.i386.deb ». dpkg -b ./brother_driver_packdir hll2300dlpr-3.2.0-1a.i386.deb dpkg-deb : construction du paquet « hll2300dcupswrapper » dans « hll2300dcupswrapper-3.2.0-1a.i386.deb ». dpkg -b ./brother_driver_packdir hll2300dcupswrapper-3.2.0-1a.i386.deb -e dpkg -i --force-all hll2300dlpr-3.2.0-1a.i386.deb -e dpkg : erreur : impossible d'accéder au répertoire administratif de dpkg: Aucun fichier ou dossier de ce type -e dpkg -i --force-all hll2300dcupswrapper-3.2.0-1a.i386.deb -e dpkg : erreur : impossible d'accéder au répertoire administratif de dpkg: Aucun fichier ou dossier de ce type -e ###############################ls: impossible d'accéder à /usr/share/ppd/*.ppd: Aucun fichier ou dossier de ce type ls: impossible d'accéder à /usr/share/cups/model/*.ppd: Aucun fichier ou dossier de ce type # dpkg-query : erreur : la lecture du fichier « info » « /var/lib/dpkg/status » du paquet a échoué: Aucun fichier ou dossier de ce type dpkg-query : erreur : la lecture du fichier « info » « /var/lib/dpkg/status » du paquet a échoué: Aucun fichier ou dossier de ce type lpinfo: Non autorisé -e -e 0 (I): Specify IP address. -e 1 (A): Auto. (usb://dev/usblp0) -e -e -n select the number of destination Device URI. -> 1 -e -e lpadmin -p HLL2300D -v usb://dev/usblp0 -E -e Mot de passe pour root sur localhost ? ***** -e -n Test Print? [y/N] -> y -e wait 5s. lpr -P HLL2300D /usr/share/cups/data/testprint -e -n Hit Enter/Return key. root@debianstable:/home/patrick/Téléchargements# lp -P HLL2300D /usr/share/cups/data/testprint lp: Error - no default destination available. root@debianstable:/home/patrick/Téléchargements# lpr -P HLL2300D /usr/share/cups/data/testprint root@debianstable:/home/patrick/Téléchargements# aptitude root@debianstable:/home/patrick/Téléchargements# locate dpkg locate: impossible de lancer la commande stat () pour « /var/lib/mlocate/mlocate.db »: Aucun fichier ou dossier de ce type root@debianstable:/home/patrick/Téléchargements# ls /var/lib apt PackageKit tiger root@debianstable:/home/patrick/Téléchargements# date jeudi 16 mars 2017, 01:11:42 (UTC+0100) ```

AltStyle によって変換されたページ (->オリジナル) /