(SOLVED) Installing drivers for my printer/scanner??

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
kukamuumuka

Re: Installing drivers for my printer/scanner??

Post by kukamuumuka »

Mike-Linux-Mint wrote: Fri Dec 07, 2018 2:54 pm Unfortunately, I checked the Synaptic and I still have those 3 broken packages. :lol:
For knowing those packages run

Code: Select all

dpkg --audit 
Mike-Linux-Mint
Level 4
Level 4
Posts: 253
Joined: Wed Nov 21, 2018 8:26 am
Location: France

Re: Installing drivers for my printer/scanner??

Post by Mike-Linux-Mint »

Here is what I get

The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
gtk2-engines:i386 theme engines for GTK+ 2.x
gtk2-engines-murrine:i386 cairo-based gtk+-2.0 theme engine
gtk2-engines-oxygen:i386 Oxygen widget theme for GTK+-based applications
gtk2-engines-pixbuf:i386 pixbuf-based theme for GTK+ 2.x
gvfs:i386 userspace virtual filesystem - GIO module
gvfs-libs:i386 userspace virtual filesystem - private libraries
ia32-libs
ibus-gtk:i386 Intelligent Input Bus - GTK+2 support
libacl1:i386 Access control list shared library
libaio1:i386 Linux kernel AIO access library - shared library
libao4:i386 Cross Platform Audio Output Library
libasound2:i386 shared library for ALSA applications
libasound2-plugins:i386 ALSA library additional plugins
libasyncns0:i386 Asynchronous name service query library
libatk1.0-0:i386 ATK accessibility toolkit
libattr1:i386 Extended attribute shared library
libaudio2:i386 Network Audio System - shared libraries
libavahi-client3:i386 Avahi client library
libavahi-common-data:i386 Avahi common data files
libavahi-common3:i386 Avahi common library
libblkid1:i386 block device ID library
libbsd0:i386 utility functions from BSD systems - shared library
libcaca0:i386 colour ASCII art library
libcairo2:i386 Cairo 2D vector graphics library
libcanberra-gtk-module:i386 translates GTK+ widgets signals to event sounds
libcanberra-gtk0:i386 GTK+ helper for playing widget event sounds with libcanbe
libcanberra0:i386 simple abstract interface for playing event sounds
libcap2:i386 POSIX 1003.1e capabilities (library)
libcapi20-3:i386 ISDN utilities - CAPI support libraries
libcom-err2:i386 common error description library
libcroco3:i386 Cascading Style Sheet (CSS) parsing and manipulation tool
libcups2:i386 Common UNIX Printing System(tm) - Core library
libcupsimage2:i386 Common UNIX Printing System(tm) - Raster image library
libdatrie1:i386 Double-array trie library
libdbus-1-3:i386 simple interprocess messaging system (library)
libdbus-glib-1-2:i386 deprecated library for D-Bus IPC
libdrm-amdgpu1:i386 Userspace interface to amdgpu-specific kernel DRM service
libdrm-intel1:i386 Userspace interface to intel-specific kernel DRM services
libdrm-nouveau2:i386 Userspace interface to nouveau-specific kernel DRM servic
libdrm-radeon1:i386 Userspace interface to radeon-specific kernel DRM service
libdrm2:i386 Userspace interface to kernel DRM services -- runtime
libedit2:i386 BSD editline and history libraries
libegl-mesa0:i386 free implementation of the EGL API -- Mesa vendor library
libegl1:i386 Vendor neutral GL dispatch library -- EGL support
libelf1:i386 library to read and write ELF files
libexif12:i386 library to parse EXIF files
libexpat1:i386 XML parsing C library - runtime library
libffi6:i386 Foreign Function Interface library runtime
libflac8:i386 Free Lossless Audio Codec - runtime C library
libfluidsynth1:i386 Real-time MIDI software synthesizer (runtime library)
libfontconfig1:i386 generic font configuration library - runtime
libfreetype6:i386 FreeType 2 font engine, shared library files
libgail-common:i386 GNOME Accessibility Implementation Library -- common modu
libgail18:i386 GNOME Accessibility Implementation Library -- shared libr
libgbm1:i386 generic buffer management API -- runtime
libgck-1-0:i386 Glib wrapper library for PKCS#11 - runtime
libgcr-base-3-1:i386 Library for Crypto related tasks
libgd3:i386 GD Graphics Library
libgdk-pixbuf2.0-0:i386 GDK Pixbuf library
libgettextpo0:i386 GNU Internationalization library
libgl1:i386 Vendor neutral GL dispatch library -- legacy GL support
libgl1-mesa-dri:i386 free implementation of the OpenGL API -- DRI modules
libgl1-mesa-glx:i386 transitional dummy package
libglapi-mesa:i386 free implementation of the GL API -- shared library
libglib2.0-0:i386 GLib library of C routines
libglu1-mesa:i386 Mesa OpenGL utility library (GLU)
libglvnd0:i386 Vendor neutral GL dispatch library
libglx-mesa0:i386 free implementation of the OpenGL API -- GLX vendor libra
libglx0:i386 Vendor neutral GL dispatch library -- GLX support
libgmp10:i386 Multiprecision arithmetic library
libgnutls30:i386 GNU TLS library - main runtime library
libgphoto2-6:i386 gphoto2 digital camera library
libgphoto2-port12:i386 gphoto2 digital camera port library
libgraphite2-3:i386 Font rendering engine for Complex Scripts -- library
libgssapi-krb5-2:i386 MIT Kerberos runtime libraries - krb5 GSS-API Mechanism
libgstreamer-plugins-base1.0-0:i386 GStreamer libraries from the "base" set
libgstreamer1.0-0:i386 Core GStreamer libraries and elements
libgtk2.0-0:i386 GTK+ graphical user interface library
libharfbuzz0b:i386 OpenType text shaping engine (shared library)
libhogweed4:i386 low level cryptographic library (public-key cryptos)
libibus-1.0-5:i386 Intelligent Input Bus - shared library
libice6:i386 X11 Inter-Client Exchange library
libicu60:i386 International Components for Unicode
libidn2-0:i386 Internationalized domain names (IDNA2008/TR46) library
libieee1284-3:i386 cross-platform library for parallel port access
libjack-jackd2-0:i386 JACK Audio Connection Kit (libraries)
libjbig0:i386 JBIGkit libraries
libjpeg-turbo8:i386 IJG JPEG compliant runtime library.
libjpeg8:i386 Independent JPEG Group's JPEG runtime library (dependency
libk5crypto3:i386 MIT Kerberos runtime libraries - Crypto Library
libkeyutils1:i386 Linux Key Management Utilities (library)
libkrb5-3:i386 MIT Kerberos runtime libraries
libkrb5support0:i386 MIT Kerberos runtime libraries - Support library
liblcms2-2:i386 Little CMS 2 color management library
libllvm6.0:i386 Modular compiler and toolchain technologies, runtime libr
libltdl7:i386 System independent dlopen wrapper for GNU libtool
libmad0:i386 MPEG audio decoder library
libmikmod3:i386 Portable sound library
libmng2:i386 Multiple-image Network Graphics library
libmount1:i386 device mounting library
libmpg123-0:i386 MPEG layer 1/2/3 audio decoder (shared library)
libncursesw5:i386 shared libraries for terminal handling (wide character su
libnettle6:i386 low level cryptographic library (symmetric and one-way cr
libnspr4:i386 NetScape Portable Runtime Library
libnss3:i386 Network Security Service libraries
libodbc1:i386 ODBC library for Unix
libogg0:i386 Ogg bitstream library
libopenal1:i386 Software implementation of the OpenAL audio API (shared l
liborc-0.4-0:i386 Library of Optimized Inner Loops Runtime Compiler
libp11-kit0:i386 library for loading and coordinating access to PKCS#11 mo
libpango-1.0-0:i386 Layout and rendering of internationalized text
libpangocairo-1.0-0:i386 Layout and rendering of internationalized text
libpangoft2-1.0-0:i386 Layout and rendering of internationalized text
libpciaccess0:i386 Generic PCI access library for X
libpcre3:i386 Old Perl 5 Compatible Regular Expression Library - runtim
libpixman-1-0:i386 pixel-manipulation library for X and cairo
libpng16-16:i386 PNG library - runtime (version 1.6)
libpulse-mainloop-glib0:i386 PulseAudio client libraries (glib support)
libpulse0:i386 PulseAudio client libraries
libpulsedsp:i386 PulseAudio OSS pre-load library
libqt4-dbus:i386 Qt 4 D-Bus module
libqt4-declarative:i386 Qt 4 Declarative module
libqt4-designer:i386 Qt 4 designer module
libqt4-network:i386 Qt 4 network module
libqt4-opengl:i386 Qt 4 OpenGL module
libqt4-qt3support:i386 Qt 3 compatibility library for Qt 4
libqt4-script:i386 Qt 4 script module
libqt4-scripttools:i386 Qt 4 script tools module
libqt4-sql:i386 Qt 4 SQL module
libqt4-svg:i386 Qt 4 SVG module
libqt4-test:i386 Qt 4 test module
libqt4-xml:amd64 Qt 4 XML module
libqt4-xml:i386 Qt 4 XML module
libqt4-xmlpatterns:i386 Qt 4 XML patterns module
libqtcore4:i386 Qt 4 core module
libqtdbus4:amd64 Qt 4 D-Bus module library
libqtdbus4:i386 Qt 4 D-Bus module library
libqtgui4:i386 Qt 4 GUI module
libqtwebkit4:i386 Web content engine library for Qt
libreadline7:i386 GNU readline and history libraries, run-time libraries
librsvg2-2:i386 SAX-based renderer library for SVG files (runtime)
librsvg2-common:i386 SAX-based renderer library for SVG files (extra runtime)
libsamplerate0:i386 Audio sample rate conversion library
libsane1:i386 API library for scanners
libsdl-image1.2:i386 Image loading library for Simple DirectMedia Layer 1.2, l
libsdl-mixer1.2:i386 Mixer library for Simple DirectMedia Layer 1.2, libraries
libsdl-net1.2:i386 Network library for Simple DirectMedia Layer 1.2, librari
libsdl-ttf2.0-0:i386 TrueType Font library for Simple DirectMedia Layer 1.2, l
libsdl1.2debian:i386 Simple DirectMedia Layer
libsdl2-2.0-0:i386 Simple DirectMedia Layer
libsecret-1-0:i386 Secret store
libselinux1:i386 SELinux runtime shared libraries
libsensors4:i386 library to read temperature/voltage/fan sensors
libslang2:i386 S-Lang programming library - runtime version
libsm6:i386 X11 Session Management library
libsndfile1:i386 Library for reading/writing audio files
libsndio6.1:i386 Small audio and MIDI framework from OpenBSD, runtime libr
libspeexdsp1:i386 The Speex extended runtime library
libsqlite3-0:i386 SQLite 3 shared library
libssl1.0.0:i386 Secure Sockets Layer toolkit - shared libraries
libstdc++5:i386 The GNU Standard C++ Library v3
libstdc++6:i386 GNU Standard C++ Library v3
libsystemd0:i386 systemd utility library
libtasn1-6:i386 Manage ASN.1 structures (runtime)
libtdb1:i386 Trivial Database - shared library
libthai0:i386 Thai language support library
libtiff5:i386 Tag Image File Format (TIFF) library
libtinfo5:i386 shared low-level terminfo library for terminal handling
libudev1:i386 libudev shared library
libunistring2:i386 Unicode string library for C
libusb-1.0-0:i386 userspace USB programming library
libuuid1:i386 Universally Unique ID library
libvorbis0a:i386 decoder library for Vorbis General Audio Compression Code
libvorbisenc2:i386 encoder library for Vorbis General Audio Compression Code
libvorbisfile3:i386 high-level API for Vorbis General Audio Compression Codec
libwayland-client0:i386 wayland compositor infrastructure - client library
libwayland-cursor0:i386 wayland compositor infrastructure - cursor library
libwayland-egl1-mesa:i386 implementation of the Wayland EGL platform -- runtime
libwayland-server0:i386 wayland compositor infrastructure - server library
libwebp6:i386 Lossy compression of digital photographic images.
libwrap0:i386 Wietse Venema's TCP wrappers library
libx11-6:i386 X11 client-side library
libx11-xcb1:i386 Xlib/XCB interface library
libxau6:i386 X11 authorisation library
libxaw7:i386 X11 Athena Widget library
libxcb-dri2-0:i386 X C Binding, dri2 extension
libxcb-dri3-0:i386 X C Binding, dri3 extension
libxcb-glx0:i386 X C Binding, glx extension
libxcb-present0:i386 X C Binding, present extension
libxcb-render0:i386 X C Binding, render extension
libxcb-shm0:i386 X C Binding, shm extension
libxcb-sync1:i386 X C Binding, sync extension
libxcb-xfixes0:i386 X C Binding, xfixes extension
libxcb1:i386 X C Binding
libxcomposite1:i386 X11 Composite extension library
libxcursor1:i386 X cursor management library
libxdamage1:i386 X11 damaged region extension library
libxdmcp6:i386 X11 Display Manager Control Protocol library
libxext6:i386 X11 miscellaneous extension library
libxfixes3:i386 X11 miscellaneous 'fixes' extension library
libxi6:i386 X11 Input extension library
libxinerama1:i386 X11 Xinerama extension library
libxkbcommon0:i386 library interface to the XKB compiler - shared library
libxml2:i386 GNOME XML library
libxmu6:i386 X11 miscellaneous utility library
libxpm4:i386 X11 pixmap library
libxrandr2:i386 X11 RandR extension library
libxrender1:i386 X Rendering Extension client library
libxshmfence1:i386 X shared memory fences - shared library
libxslt1.1:i386 XSLT 1.0 processing library - runtime library
libxss1:i386 X11 Screen Saver extension library
libxt6:i386 X11 toolkit intrinsics library
libxtst6:i386 X11 Testing -- Record extension library
libxxf86vm1:i386 X11 XFree86 video mode extension library
odbcinst Helper program for accessing odbc ini files
odbcinst1debian2:amd64 Support library for accessing odbc ini files
odbcinst1debian2:i386 Support library for accessing odbc ini files
qdbus Qt 4 D-Bus tool
qtchooser Wrapper to select between Qt development binary versions
qtcore4-l10n Qt 4 core module translations
xaw3dg:i386 Xaw3d widget set
zlib1g:i386 compression library - runtime

The following packages have been triggered, but the trigger processing
has not yet been done. Trigger processing can be requested using
dselect or dpkg --configure --pending (or dpkg --triggers-only):
doc-base utilities to manage online documentation
libc-bin GNU C Library: Binaries
libglib2.0-0:amd64 GLib library of C routines
man-db on-line manual pager
udev /dev/ and hotplug management daemon
kukamuumuka

Re: Installing drivers for my printer/scanner??

Post by kukamuumuka »

Outs .... what tells

Code: Select all

dpkg -l | grep ^..r 
Mike-Linux-Mint
Level 4
Level 4
Posts: 253
Joined: Wed Nov 21, 2018 8:26 am
Location: France

Re: Installing drivers for my printer/scanner??

Post by Mike-Linux-Mint »

I used the code dpkg -l | grep ^..r as you said
but nothing showed up, no logs or anything
kukamuumuka

Re: Installing drivers for my printer/scanner??

Post by kukamuumuka »

Mike-Linux-Mint wrote: Fri Dec 07, 2018 4:04 pm I used the code dpkg -l | grep ^..r as you said
but nothing showed up, no logs or anything

Code: Select all

sudo rm /var/lib/dpkg/info/libqt4-xml:amd64*
sudo dpkg -r --force-depends --force-remove-reinstreq libqt4-xml:amd64
apt update
apt upgrade
Mike-Linux-Mint
Level 4
Level 4
Posts: 253
Joined: Wed Nov 21, 2018 8:26 am
Location: France

Re: Installing drivers for my printer/scanner??

Post by Mike-Linux-Mint »

I did as mentioned and this is what I got

sudo rm /var/lib/dpkg/info/libqt4-xml:amd64*
mike@mike-p6713fr:~$ sudo dpkg -r --force-depends --force-remove-reinstreq libqt4-xml:amd64
dpkg: libqt4-xml:amd64: dependency problems, but removing anyway as you requested:
libqtdbus4:amd64 depends on libqt4-xml (= 4:4.8.7+dfsg-7ubuntu1).
qdbus depends on libqt4-xml (= 4:4.8.7+dfsg-7ubuntu1); however:
Package libqt4-xml:amd64 is to be removed.

(Reading database ... 322721 files and directories currently installed.)
Removing libqt4-xml:amd64 (4:4.8.7+dfsg-7ubuntu1) ...
mike@mike-p6713fr:~$ apt update
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable Release
Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:4 http://archive.canonical.com/ubuntu bionic InRelease
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [83,2 kB]
Ign:7 http://repo.vivaldi.com/stable/deb stable InRelease
Ign:8 http://packages.linuxmint.com tara InRelease
Hit:9 https://deb.opera.com/opera-stable stable InRelease
Hit:10 http://repo.vivaldi.com/stable/deb stable Release
Hit:11 https://repo.nordvpn.com/deb/nordvpn/debian stable InRelease
Hit:12 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:14 http://packages.linuxmint.com tara Release
Get:16 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Fetched 158 kB in 6s (25,6 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
19 packages can be upgraded. Run 'apt list --upgradable' to see them.
mike@mike-p6713fr:~$ apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libqtdbus4 : Depends: libqt4-xml (= 4:4.8.7+dfsg-7ubuntu1) but it is not installed
Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not installed
qdbus : Depends: libqt4-xml (= 4:4.8.7+dfsg-7ubuntu1) but it is not installed
Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Now I have 2 broken packages left so I guess 1 has been fixed
and I don't know if this is related but I was unable to install a program from the software manager
and I got this error message:

Check if you are using third party repositories. If so disable them, since they are a common source of problems.
Furthermore run the following command in a Terminal: apt-get install -f

The following packages have unmet dependencies:

libqtdbus4: Depends: libqt4-xml (= 4:4.8.7+dfsg-7ubuntu1) but it is not installed
Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not installed
qdbus: Depends: libqt4-xml (= 4:4.8.7+dfsg-7ubuntu1) but it is not installed
Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not installed
Depends: libqtdbus4 (= 4:4.8.7+dfsg-7ubuntu1) but 4:4.8.7+dfsg-7ubuntu1 is installed
kukamuumuka

Re: Installing drivers for my printer/scanner??

Post by kukamuumuka »

Mike-Linux-Mint wrote: Fri Dec 07, 2018 4:24 pm Now I have 2 broken packages left so I guess 1 has been fixed
Look from Synaptic and write down and run with both of packages

Code: Select all

sudo rm /var/lib/dpkg/info/packagename-here*
sudo dpkg -r --force-depends --force-remove-reinstreq packagename-here
Mike-Linux-Mint
Level 4
Level 4
Posts: 253
Joined: Wed Nov 21, 2018 8:26 am
Location: France

Re: Installing drivers for my printer/scanner??

Post by Mike-Linux-Mint »

I entered the code, here's what I get

sudo rm /var/lib/dpkg/info/packagename-here*

rm: cannot remove '/var/lib/dpkg/info/packagename-here*': No such file or directory
mike@mike-p6713fr:~$ sudo dpkg -r --force-depends --force-remove-reinstreq packagename-here
dpkg: warning: ignoring request to remove packagename-here which isn't installed

I guess we tried everything
User avatar
JerryF
Level 16
Level 16
Posts: 6572
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Installing drivers for my printer/scanner??

Post by JerryF »

Mike-Linux-Mint wrote: Fri Dec 07, 2018 12:18 pm I tried all the command lines you mentioned but unfortunately I got some errors during the process. I continued anyway but the scanner still doesn't work
I'm going to paste the errors for every line I put in. I also tried the suuggestions of srq2625 and those of administrollaattori but same results.

sudo aa-complain cupsd
sudo: aa-complain: command not found
That command wasn't found because it looks like you didn't perform the first command:

Code: Select all

sudo apt-get install apparmor-utils
Mike-Linux-Mint wrote: Fri Dec 07, 2018 12:18 pm sudo mkdir /usr/share/cups/model
mkdir: cannot create directory ‘/usr/share/cups/model’: File exists

sudo ln -s /etc/init.d/cups /etc/init.d/lpd
ln: failed to create symbolic link '/etc/init.d/lpd': File exists

sudo mkdir /var/spool/lpd
mkdir: cannot create directory ‘/var/spool/lpd’: File exists
These three are ok. They're not errors, just notifications that the directories already existed.
Mike-Linux-Mint wrote: Fri Dec 07, 2018 12:18 pm sudo apt-get install ia32-libs
Reading package lists... Done
Building dependency tree
Reading state information... Done
ia32-libs is already the newest version (2018.06.06).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libqt4-xml : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not going to be installed
libqtdbus4 : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not going to be installed
qdbus : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
sudo apt-get install csh
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libqt4-xml : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not going to be installed
libqtdbus4 : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not going to be installed
qdbus : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
sudo apt-get install sane
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libqt4-xml : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not going to be installed
libqtdbus4 : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not going to be installed
qdbus : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
sudo apt-get install sane-dbg
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libqt4-xml : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not going to be installed
libqtdbus4 : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not going to be installed
qdbus : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not going to be installed
sane-dbg : Depends: sane (= 1.0.14-12build1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
sudo apt-get install sane-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
sane-utils is already the newest version (1.0.27-1~experimental3ubuntu2).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libqt4-xml : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not going to be installed
libqtdbus4 : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not going to be installed
qdbus : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
sudo apt-get install psutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libqt4-xml : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not going to be installed
libqtdbus4 : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not going to be installed
qdbus : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
When commands give you a notification of "Try 'apt --fix-broken install"', you should run that in Terminal right after it suggests it.

Then did you create the firewall rules?
Mike-Linux-Mint wrote: Fri Dec 07, 2018 12:18 pm linux-brprinter-installer-2.2.1-1.gz
linux-brprinter-installer-2.2.1-1.gz: command not found
That didn't work because you left out some wording for the command.

Suggestion: delete your printer by bringing up Printers from the main menu and delete any that are the Brother printer you have.

Then to perform the command in terminal, there's text that says:

CODE: SELECT ALL

that's found above the command that someone posts. If you click on SELECT ALL, everything in the code box will be selected. You can then perform a Ctrl+c (or right click, copy) and then paste the command into Terminal.

This prevents making any typing mistakes, which can be disastrous with a more serious command.
User avatar
JerryF
Level 16
Level 16
Posts: 6572
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Installing drivers for my printer/scanner??

Post by JerryF »

I've rewritten Brother's instructions that need to be performed. Hope this helps:

Before installing Drivers:

In Terminal:

Code: Select all

sudo apt-get install apparmor-utils

Code: Select all

sudo aa-complain cupsd

Code: Select all

sudo mkdir /usr/share/cups/model

Code: Select all

sudo ln -s /etc/init.d/cups /etc/init.d/lpd

Code: Select all

sudo mkdir /var/spool/lpd

Code: Select all

sudo apt-get install ia32-libs

Code: Select all

sudo apt-get install csh

Code: Select all

sudo apt-get install sane

Code: Select all

sudo apt-get install sane-dbg

Code: Select all

sudo apt-get install sane-utils

Code: Select all

sudo apt-get install psutils
These commands are rules to be added for firewall:

Code: Select all

sudo ufw allow in 54925/udp

Code: Select all

sudo ufw allow out 54921/tcp
Installation of Drivers:

Go to http://support.brother.com/g/b/products ... content=dl in your browser
Enter your model number and click Search
STEP 1: Select OS Family = Linux
STEP 2: Select OS Version = Linux (deb)
Click Search
Click on Driver Install Tool
Click on Agree to the EULA and Download
The file will be downloaded into your default "Downloads" directory.

Run:

Code: Select all

cd /home/$USER/Downloads

Code: Select all

gunzip linux-brprinter-installer-*.*.*-*.gz

Code: Select all

sudo su

Code: Select all

bash linux-brprinter-installer-*.*.*-* DCP-7030
The installation of all necessary drivers will happen. There are a few that will need a Y or N answer. I think all are Y.

When you see the message "Will you specify the DeviceURI?"

If your printer is connected by USB cable, Choose N (No)
If your printer is connected to a router, Choose Y (Yes) and DeviceURI number. Choose the DeviceURI number that has the IP Address of your printer.
kukamuumuka

Re: Installing drivers for my printer/scanner??

Post by kukamuumuka »

Mike-Linux-Mint wrote: Fri Dec 07, 2018 5:26 pm I entered the code, here's what I get

sudo rm /var/lib/dpkg/info/packagename-here*

rm: cannot remove '/var/lib/dpkg/info/packagename-here*': No such file or directory
mike@mike-p6713fr:~$ sudo dpkg -r --force-depends --force-remove-reinstreq packagename-here
dpkg: warning: ignoring request to remove packagename-here which isn't installed


I guess we tried everything
packagename-here is the package what Synaptic tells to be broken.
User avatar
Sgthawker
Level 4
Level 4
Posts: 226
Joined: Sun Apr 27, 2014 2:23 am

Re: Installing drivers for my printer/scanner??

Post by Sgthawker »

What JerryF says above in the last part of his post is what I have done on two different brother MFC devices over 20 to 30 distro installs, including many Linux Mint, Fedora, Chakra, Chapeau, KDEneon, Kubuntu, and Maui with nary a failure.

Comparably to how he re-wrote instructions, I took the text file and edited it to my particular instance, and I copy and paste from it in each install. Very easy for successive installs.
LM21.1 KDE/LM21.1 Cin/ UEFI Tuf Gaming X570 Plus, Ryzen 7 5800X, GTX 3060, Samsung 980 Pro M.2 NVMe
LM21.1 KDE/LM21.1 Cin/ UEFI on STRIX laptop, i7700 HQ, GTX 1060, Samsung 980 Pro M.2 NVMe
Mike-Linux-Mint
Level 4
Level 4
Posts: 253
Joined: Wed Nov 21, 2018 8:26 am
Location: France

Re: Installing drivers for my printer/scanner??

Post by Mike-Linux-Mint »

Thanks

I actually followed every step, entered every line but unfortunately, I still can't scan any document.
I did it on my laptop which didn't have any broken packages to see if the problem came from my other computer.
Last edited by Mike-Linux-Mint on Sat Dec 08, 2018 2:46 pm, edited 1 time in total.
Mike-Linux-Mint
Level 4
Level 4
Posts: 253
Joined: Wed Nov 21, 2018 8:26 am
Location: France

Re: Installing drivers for my printer/scanner??

Post by Mike-Linux-Mint »

So I did it again and this is what I got
At the very end, the terminal seems to come to a stop at root@mike-Lenovo-V110-15IAP:/home/mike/Downloads#

sudo apt-get install apparmor-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
apparmor-utils is already the newest version (2.12-4ubuntu5.1).
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

sudo aa-complain cupsd
Setting /usr/sbin/cupsd to complain mode.

sudo mkdir /usr/share/cups/model
mkdir: cannot create directory ‘/usr/share/cups/model’: File exists

sudo ln -s /etc/init.d/cups /etc/init.d/lpd
ln: failed to create symbolic link '/etc/init.d/lpd': File exists

sudo mkdir /var/spool/lpd
mkdir: cannot create directory ‘/var/spool/lpd’: File exists

sudo apt-get install ia32-libs
Reading package lists... Done
Building dependency tree
Reading state information... Done
ia32-libs is already the newest version (2018.06.06).
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

sudo apt-get install csh
Reading package lists... Done
Building dependency tree
Reading state information... Done
csh is already the newest version (20110502-3).
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
sudo apt-get install sane
Reading package lists... Done
Building dependency tree
Reading state information... Done
sane is already the newest version (1.0.14-12build1).
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

sudo apt-get install sane-dbg
Reading package lists... Done
Building dependency tree
Reading state information... Done
sane-dbg is already the newest version (1.0.14-12build1).
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

sudo apt-get install sane-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
sane-utils is already the newest version (1.0.27-1~experimental3ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.


sudo apt-get install psutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
psutils is already the newest version (1.17.dfsg-4).
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

sudo ufw allow in 54925/udp
Skipping adding existing rule
Skipping adding existing rule (v6)

sudo ufw allow out 54921/tcp
Skipping adding existing rule
Skipping adding existing rule (v6)

cd /home/$USER/Downloads
mike@mike-Lenovo-V110-15IAP:~/Downloads$

~/Downloads$ gunzip linux-brprinter-installer-2.2.1-1.gz
gzip: linux-brprinter-installer-2.2.1-1.gz: No such file or directory

~/Downloads$ sudo su
root@mike-Lenovo-V110-15IAP:/home/mike/Downloads#

~/Downloads$ sudo su
root@mike-Lenovo-V110-15IAP:/home/mike/Downloads# bash linux-brprinter-installer-2.2.1-1 DCP-7030
You are going to install following packages.
brdcp7030lpr-2.0.2-1.i386.deb
cupswrapperDCP7030-2.0.2-1.i386.deb
brscan3-0.2.13-1.amd64.deb
brscan-skey-0.2.4-1.amd64.deb
OK? [y/N] -> y

dpkg -x brdcp7030lpr-2.0.2-1.i386.deb /
dpkg -x cupswrapperDCP7030-2.0.2-1.i386.deb /
dpkg-deb: building package 'brdcp7030lpr' in 'brdcp7030lpr-2.0.2-1a.i386.deb'.
dpkg -b ./brother_driver_packdir brdcp7030lpr-2.0.2-1a.i386.deb
dpkg-deb: building package 'cupswrapperdcp7030' in 'cupswrapperDCP7030-2.0.2-1a.i386.deb'.
dpkg -b ./brother_driver_packdir cupswrapperDCP7030-2.0.2-1a.i386.deb
dpkg -i --force-all brdcp7030lpr-2.0.2-1a.i386.deb
(Reading database ... 281139 files and directories currently installed.)
Preparing to unpack brdcp7030lpr-2.0.2-1a.i386.deb ...
Unpacking brdcp7030lpr:i386 (2.0.2-1) over (2.0.2-1) ...
Setting up brdcp7030lpr:i386 (2.0.2-1) ...
ln: failed to create symbolic link '/usr/lib32/libbrcomplpr2.so': File exists
dpkg -i --force-all cupswrapperDCP7030-2.0.2-1a.i386.deb
(Reading database ... 281139 files and directories currently installed.)
Preparing to unpack cupswrapperDCP7030-2.0.2-1a.i386.deb ...
Restarting cups (via systemctl): cups.service.
Unpacking cupswrapperdcp7030:i386 (2.0.2-1) over (2.0.2-1) ...
Setting up cupswrapperdcp7030:i386 (2.0.2-1) ...
Stopping lpd (via systemctl): lpd.service.
Restarting cups (via systemctl): cups.service.
#
The security level of AppArmor has been lowered. (aa-complain cups)
aa-complain cupsd
Setting /usr/sbin/cupsd to complain mode.
Will you specify the Device URI? [Y/n] -> n

Test Print? [y/N] ->N

You are going to install following packages.
brscan3-0.2.13-1.amd64.deb
dpkg -i --force-all brscan3-0.2.13-1.amd64.deb
(Reading database ... 281139 files and directories currently installed.)
Preparing to unpack brscan3-0.2.13-1.amd64.deb ...
Unpacking brscan3 (0.2.13-1) over (0.2.13-1) ...
Setting up brscan3 (0.2.13-1) ...
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
(Reading database ... 281139 files and directories currently installed.)
Preparing to unpack brscan-skey-0.2.4-1.amd64.deb ...
Unpacking brscan-skey (0.2.4-1) over (0.2.4-1) ...
Setting up brscan-skey (0.2.4-1) ...
root@mike-Lenovo-V110-15IAP:/home/mike/Downloads#


So finally, I launched xsane to check if it worked but no devices were available
User avatar
JerryF
Level 16
Level 16
Posts: 6572
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Installing drivers for my printer/scanner??

Post by JerryF »

Mike-Linux-Mint wrote: Sat Dec 08, 2018 2:46 pm So I did it again and this is what I got
At the very end, the terminal seems to come to a stop at root@mike-Lenovo-V110-15IAP:/home/mike/Downloads#
That's normal. You can exit that terminal.
Mike-Linux-Mint wrote: Sat Dec 08, 2018 2:46 pm

Code: Select all

sudo apt-get install apparmor-utils
Reading package lists... Done
Building dependency tree       
Reading state information... Done
apparmor-utils is already the newest version (2.12-4ubuntu5.1).
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

sudo aa-complain cupsd
Setting /usr/sbin/cupsd to complain mode.

sudo mkdir /usr/share/cups/model
mkdir: cannot create directory ‘/usr/share/cups/model’: File exists

sudo ln -s /etc/init.d/cups /etc/init.d/lpd
ln: failed to create symbolic link '/etc/init.d/lpd': File exists

sudo mkdir /var/spool/lpd
mkdir: cannot create directory ‘/var/spool/lpd’: File exists

sudo apt-get install ia32-libs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ia32-libs is already the newest version (2018.06.06).
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

sudo apt-get install csh
Reading package lists... Done
Building dependency tree       
Reading state information... Done
csh is already the newest version (20110502-3).
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
sudo apt-get install sane
Reading package lists... Done
Building dependency tree       
Reading state information... Done
sane is already the newest version (1.0.14-12build1).
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

sudo apt-get install sane-dbg
Reading package lists... Done
Building dependency tree       
Reading state information... Done
sane-dbg is already the newest version (1.0.14-12build1).
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

sudo apt-get install sane-utils
Reading package lists... Done
Building dependency tree       
Reading state information... Done
sane-utils is already the newest version (1.0.27-1~experimental3ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.


sudo apt-get install psutils
Reading package lists... Done
Building dependency tree       
Reading state information... Done
psutils is already the newest version (1.17.dfsg-4).
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

sudo ufw allow in 54925/udp
Skipping adding existing rule
Skipping adding existing rule (v6)

sudo ufw allow out 54921/tcp
Skipping adding existing rule
Skipping adding existing rule (v6)

cd /home/$USER/Downloads
mike@mike-Lenovo-V110-15IAP:~/Downloads$ 

~/Downloads$ gunzip linux-brprinter-installer-2.2.1-1.gz
gzip: linux-brprinter-installer-2.2.1-1.gz: No such file or directory

~/Downloads$ sudo su
root@mike-Lenovo-V110-15IAP:/home/mike/Downloads# 

~/Downloads$ sudo su
root@mike-Lenovo-V110-15IAP:/home/mike/Downloads# bash linux-brprinter-installer-2.2.1-1 DCP-7030
You are going to install following packages.
   brdcp7030lpr-2.0.2-1.i386.deb
   cupswrapperDCP7030-2.0.2-1.i386.deb
   brscan3-0.2.13-1.amd64.deb
   brscan-skey-0.2.4-1.amd64.deb
OK? [y/N] -> y

dpkg -x brdcp7030lpr-2.0.2-1.i386.deb /
dpkg -x cupswrapperDCP7030-2.0.2-1.i386.deb /
dpkg-deb: building package 'brdcp7030lpr' in 'brdcp7030lpr-2.0.2-1a.i386.deb'.
dpkg -b ./brother_driver_packdir brdcp7030lpr-2.0.2-1a.i386.deb
dpkg-deb: building package 'cupswrapperdcp7030' in 'cupswrapperDCP7030-2.0.2-1a.i386.deb'.
dpkg -b ./brother_driver_packdir cupswrapperDCP7030-2.0.2-1a.i386.deb
dpkg -i --force-all brdcp7030lpr-2.0.2-1a.i386.deb
(Reading database ... 281139 files and directories currently installed.)
Preparing to unpack brdcp7030lpr-2.0.2-1a.i386.deb ...
Unpacking brdcp7030lpr:i386 (2.0.2-1) over (2.0.2-1) ...
Setting up brdcp7030lpr:i386 (2.0.2-1) ...
ln: failed to create symbolic link '/usr/lib32/libbrcomplpr2.so': File exists
dpkg -i --force-all cupswrapperDCP7030-2.0.2-1a.i386.deb
(Reading database ... 281139 files and directories currently installed.)
Preparing to unpack cupswrapperDCP7030-2.0.2-1a.i386.deb ...
Restarting cups (via systemctl): cups.service.
Unpacking cupswrapperdcp7030:i386 (2.0.2-1) over (2.0.2-1) ...
Setting up cupswrapperdcp7030:i386 (2.0.2-1) ...
Stopping lpd (via systemctl): lpd.service.
Restarting cups (via systemctl): cups.service.
#
The security level of AppArmor has been lowered. (aa-complain cups)
aa-complain cupsd
Setting /usr/sbin/cupsd to complain mode.
Will you specify the Device URI? [Y/n] -> n

Test Print? [y/N] ->N

You are going to install following packages.
   brscan3-0.2.13-1.amd64.deb
dpkg -i --force-all brscan3-0.2.13-1.amd64.deb
(Reading database ... 281139 files and directories currently installed.)
Preparing to unpack brscan3-0.2.13-1.amd64.deb ...
Unpacking brscan3 (0.2.13-1) over (0.2.13-1) ...
Setting up brscan3 (0.2.13-1) ...
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
(Reading database ... 281139 files and directories currently installed.)
Preparing to unpack brscan-skey-0.2.4-1.amd64.deb ...
Unpacking brscan-skey (0.2.4-1) over (0.2.4-1) ...
Setting up brscan-skey (0.2.4-1) ...
root@mike-Lenovo-V110-15IAP:/home/mike/Downloads#
So finally, I launched xsane to check if it worked but no devices were available
Is the printer connected by USB cable or by the router?
When you run this command:
gunzip linux-brprinter-installer-*.*.*-*.gz
the file wasn't found. Download the Driver Install Tool again from here:
https://support.brother.com/g/b/downloa ... all&os=128
and make sure it's in your Downloads folder.

Then continue from here:

Run:

Code: Select all

cd /home/$USER/Downloads

Code: Select all

gunzip linux-brprinter-installer-*.*.*-*.gz

Code: Select all

sudo su

Code: Select all

bash linux-brprinter-installer-*.*.*-* DCP-7030
The installation of all necessary drivers will happen. There are a few that will need a Y or N answer. I think all are Y.

When you see the message "Will you specify the DeviceURI?"

If your printer is connected by USB cable, Choose N (No)
If your printer is connected to a router, Choose Y (Yes) and DeviceURI number. Choose the DeviceURI number that has the IP Address of your printer.
When it asked you to do a test print, you probably should have said Y so that you'd know if that part was working.
Mike-Linux-Mint
Level 4
Level 4
Posts: 253
Joined: Wed Nov 21, 2018 8:26 am
Location: France

Re: Installing drivers for my printer/scanner??

Post by Mike-Linux-Mint »

Hey

Thanks for your help, I really appreciate it. My printer is connected via usb.
So I followed the steps, I re-downloaded the driver as mentionned and I did the test print and the test was a success.
Unfortunately, I opened smallscan and xsane and none were able to recognize my scanner as you can see on the picture.
Though, I'm not a specialist, every line of code seemed to have worked fine but maybe there's something I'm missing.

cd /home/$USER/Downloads
mike@mike-Lenovo-V110-15IAP:~/Downloads$ gunzip linux-brprinter-installer-2.2.1-1.gz
gzip: linux-brprinter-installer-2.2.1-1 already exists; do you wish to overwrite (y or n)? y
mike@mike-Lenovo-V110-15IAP:~/Downloads$ sudo su
[sudo] password for mike:
root@mike-Lenovo-V110-15IAP:/home/mike/Downloads# bash linux-brprinter-installer-2.2.1-1 DCP-7030
You are going to install following packages.
brdcp7030lpr-2.0.2-1.i386.deb
cupswrapperDCP7030-2.0.2-1.i386.deb
brscan3-0.2.13-1.amd64.deb
brscan-skey-0.2.4-1.amd64.deb
OK? [y/N] ->Y

dpkg -x brdcp7030lpr-2.0.2-1.i386.deb /
dpkg -x cupswrapperDCP7030-2.0.2-1.i386.deb /
dpkg-deb: building package 'brdcp7030lpr' in 'brdcp7030lpr-2.0.2-1a.i386.deb'.
dpkg -b ./brother_driver_packdir brdcp7030lpr-2.0.2-1a.i386.deb
dpkg-deb: building package 'cupswrapperdcp7030' in 'cupswrapperDCP7030-2.0.2-1a.i386.deb'.
dpkg -b ./brother_driver_packdir cupswrapperDCP7030-2.0.2-1a.i386.deb
dpkg -i --force-all brdcp7030lpr-2.0.2-1a.i386.deb
(Reading database ... 281352 files and directories currently installed.)
Preparing to unpack brdcp7030lpr-2.0.2-1a.i386.deb ...
Unpacking brdcp7030lpr:i386 (2.0.2-1) over (2.0.2-1) ...
Setting up brdcp7030lpr:i386 (2.0.2-1) ...
ln: failed to create symbolic link '/usr/lib32/libbrcomplpr2.so': File exists
dpkg -i --force-all cupswrapperDCP7030-2.0.2-1a.i386.deb
(Reading database ... 281352 files and directories currently installed.)
Preparing to unpack cupswrapperDCP7030-2.0.2-1a.i386.deb ...
Restarting cups (via systemctl): cups.service.
Unpacking cupswrapperdcp7030:i386 (2.0.2-1) over (2.0.2-1) ...
Setting up cupswrapperdcp7030:i386 (2.0.2-1) ...
Stopping lpd (via systemctl): lpd.service.
Restarting cups (via systemctl): cups.service.
#
The security level of AppArmor has been lowered. (aa-complain cups)
aa-complain cupsd
Setting /usr/sbin/cupsd to complain mode.
Will you specify the Device URI? [Y/n] ->N

Test Print? [y/N] ->Y

wait 5s.
lpr -P DCP7030 /usr/share/cups/data/testprint
You are going to install following packages.
brscan3-0.2.13-1.amd64.deb
dpkg -i --force-all brscan3-0.2.13-1.amd64.deb
(Reading database ... 281352 files and directories currently installed.)
Preparing to unpack brscan3-0.2.13-1.amd64.deb ...
Unpacking brscan3 (0.2.13-1) over (0.2.13-1) ...
Setting up brscan3 (0.2.13-1) ...
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
(Reading database ... 281352 files and directories currently installed.)
Preparing to unpack brscan-skey-0.2.4-1.amd64.deb ...
Unpacking brscan-skey (0.2.4-1) over (0.2.4-1) ...
Setting up brscan-skey (0.2.4-1) ...
root@mike-Lenovo-V110-15IAP:/home/mike/Downloads#

sad :(
Last edited by Mike-Linux-Mint on Sun Dec 09, 2018 4:08 am, edited 1 time in total.
kukamuumuka

Re: Installing drivers for my printer/scanner??

Post by kukamuumuka »

Mike-Linux-Mint wrote: Sun Dec 09, 2018 3:43 am
How to install a Brother DCP7030 printer and scanner in Ubuntu -> http://themorningflight.com/gadgets/how ... in-ubuntu/
Step 1. Paste in the following command and a text document will open. Now this is a bit of the programme that runs your machine so DO NOT DELETE ANYTHING. The command is:

Code: Select all

xed admin:///lib/udev/rules.d/40-libsane.rules
Step 2. You will see a long list of devices and you are going to add yours. You do this by adding the following two lines to the end of the device list. This is where I went wrong, I pasted them in the wrong place. It didn’t do any harm, but the scanner didn’t work.

The two lines must go after where is says: LABEL=”libsane_usb_rules_begin” and before the line “# The following rule will disable …”

I recommend you stick it after LABEL=”libsane_usb_rules_begin” so you don’t have to go to the bottom of the list.

The two lines to be pasted in are:

# Brother scanners
ATTRS{idVendor}==”04f9″, ENV{libsane_matched}=”yes”


THEN SAVE THE TEXT DOCUMENT or the changes you have just made will be lost and you will have to do that bit again.

Now reboot the machine and both your printer and scanner should work great.
fouad1995

Re: Installing drivers for my printer/scanner??

Post by fouad1995 »

administrollaattori wrote: Sun Dec 09, 2018 3:59 am
Mike-Linux-Mint wrote: Sun Dec 09, 2018 3:43 am
How to install a Brother DCP7030 printer and scanner in Ubuntu -> http://themorningflight.com/gadgets/how ... in-ubuntu/
Step 1. Paste in the following command and a text document will open. Now this is a bit of the programme that runs your machine so DO NOT DELETE ANYTHING. The command is:

Code: Select all

xed admin:///lib/udev/rules.d/40-libsane.rules
Step 2. You will see a long list of devices and you are going to add yours. You do this by adding the following two lines to the end of the device list. This is where I went wrong, I pasted them in the wrong place. It didn’t do any harm, but the scanner didn’t work.

The two lines must go after where is says: LABEL=”libsane_usb_rules_begin” and before the line “# The following rule will disable …”

I recommend you stick it after LABEL=”libsane_usb_rules_begin” so you don’t have to go to the bottom of the list.

The two lines to be pasted in are:

# Brother scanners
ATTRS{idVendor}==”04f9″, ENV{libsane_matched}=”yes”


THEN SAVE THE TEXT DOCUMENT or the changes you have just made will be lost and you will have to do that bit again.

Now reboot the machine and both your printer and scanner should work great.
Stage 2. You will see a considerable rundown of gadgets and you will include yours. You do this by adding the accompanying two lines as far as possible of the gadget list. This is the place I turned out badly, I glued them in the wrong place. It didn't do any mischief, yet the scanner didn't work.

The two lines must follow where is says: LABEL="libsane_usb_rules_begin" and before the line "# The following standard will cripple … "

I suggest you stick it after LABEL="libsane_usb_rules_begin" so you don't need to go to the base of the rundown.
User avatar
JerryF
Level 16
Level 16
Posts: 6572
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Installing drivers for my printer/scanner??

Post by JerryF »

Yes, everything looks like it installed properly.

Did you reboot after that last installation?

Also, can you post some pics of the following? Open Printers from Settings or from the main menu. The following are examples of mine. Yours will differ.
Shutter_008.jpg
Then on the menu, Server, Connect...
Shutter_007.jpg
Last but not least, right-click on your printer, select Properties.
Shutter_006.jpg
Mike-Linux-Mint
Level 4
Level 4
Posts: 253
Joined: Wed Nov 21, 2018 8:26 am
Location: France

Re: Installing drivers for my printer/scanner??

Post by Mike-Linux-Mint »

Yes, I did reboot
hopefully, these pics will help
Locked

Return to “Beginner Questions”