Hello,
New user here. 4th day on bluefin…
I’m trying to add my printer, a Bother MFC-L3770CDW with drivers for Linux here, but no matter what I do I can’t seem to be able to print.
At first I downloaded the RPM package mfcl3770cdwpdrv-1.0.2-0.i386.rpm
and installed it with rpm-ostree,. After reboot I could see the printer in the driver list, but it simply does not work (printing does nothing).
I then downloaded the tool linux-brprinter-installer-2.2.3-1
and this tried to install these packages
- mfcl3770cdwpdrv-1.0.2-0.i386.rpm
- brscan4-0.4.11-1.x86_64.rpm
- brscan-skey-0.3.2-0.x86_64.rpm
The first one I had installed myself, the other two are for scanning. The tool failed:
❯ sudo ./linux-brprinter-installer-2.2.3-1 MFC-L3770CDW
You are going to install following packages.
mfcl3770cdwpdrv-1.0.2-0.i386.rpm
brscan4-0.4.11-1.x86_64.rpm
brscan-skey-0.3.2-0.x86_64.rpm
OK? [y/N] ->y
yum install glibc.i686
Note: This system is image (rpm-ostree) based.
Inactive requests:
adcli (already provided by adcli-0.9.2-3.fc39.x86_64)
sssd-ad (already provided by sssd-ad-2.9.4-1.fc39.x86_64)
Checking out tree 811f16d... done
Enabled rpm-md repositories: copr:copr.fedorainfracloud.org:ublue-os:akmods updates fedora rpmfusion-free-updates-testing rpmfusion-free-updates rpmfusion-free rpmfusion-nonfree-updates-testing rpmfusion-nonfree-updates rpmfusion-nonfree google-chrome rpmfusion-nonfree-nvidia-driver rpmfusion-nonfree-steam updates-archive
Importing rpm-md... done
rpm-md repo 'copr:copr.fedorainfracloud.org:ublue-os:akmods' (cached); generated: 2024-03-17T06:02:48Z solvables: 216
rpm-md repo 'updates' (cached); generated: 2024-04-16T02:20:46Z solvables: 25869
rpm-md repo 'fedora' (cached); generated: 2023-11-01T00:12:39Z solvables: 70825
rpm-md repo 'rpmfusion-free-updates-testing' (cached); generated: 2024-04-09T17:32:50Z solvables: 14
rpm-md repo 'rpmfusion-free-updates' (cached); generated: 2024-04-09T17:32:17Z solvables: 174
rpm-md repo 'rpmfusion-free' (cached); generated: 2023-11-04T16:49:08Z solvables: 445
rpm-md repo 'rpmfusion-nonfree-updates-testing' (cached); generated: 2024-04-09T18:02:39Z solvables: 2
rpm-md repo 'rpmfusion-nonfree-updates' (cached); generated: 2024-04-09T18:02:33Z solvables: 74
rpm-md repo 'rpmfusion-nonfree' (cached); generated: 2023-11-04T17:26:32Z solvables: 208
rpm-md repo 'google-chrome' (cached); generated: 2024-04-12T17:45:55Z solvables: 3
rpm-md repo 'rpmfusion-nonfree-nvidia-driver' (cached); generated: 2024-03-24T11:34:40Z solvables: 29
rpm-md repo 'rpmfusion-nonfree-steam' (cached); generated: 2024-03-24T13:27:05Z solvables: 2
rpm-md repo 'updates-archive' (cached); generated: 2024-04-16T02:49:58Z solvables: 42008
Resolving dependencies... done
Installing 6 packages:
glibc-2.38-17.fc39.i686 (updates)
glibc-gconv-extra-2.38-17.fc39.i686 (updates)
libgcc-13.2.1-7.fc39.i686 (updates)
mfcl3770cdwpdrv-1.0.2-0.i386 (@commandline)
oddjob-0.34.7-9.fc39.x86_64 (fedora)
oddjob-mkhomedir-0.34.7-9.fc39.x86_64 (fedora)
Continue? [y/N] y
Inactive requests:
adcli (already provided by adcli-0.9.2-3.fc39.x86_64)
sssd-ad (already provided by sssd-ad-2.9.4-1.fc39.x86_64)
Checking out tree 811f16d... done
Enabled rpm-md repositories: copr:copr.fedorainfracloud.org:ublue-os:akmods updates fedora rpmfusion-free-updates-testing rpmfusion-free-updates rpmfusion-free rpmfusion-nonfree-updates-testing rpmfusion-nonfree-updates rpmfusion-nonfree google-chrome rpmfusion-nonfree-nvidia-driver rpmfusion-nonfree-steam updates-archive
Importing rpm-md... done
rpm-md repo 'copr:copr.fedorainfracloud.org:ublue-os:akmods' (cached); generated: 2024-03-17T06:02:48Z solvables: 216
rpm-md repo 'updates' (cached); generated: 2024-04-16T02:20:46Z solvables: 25869
rpm-md repo 'fedora' (cached); generated: 2023-11-01T00:12:39Z solvables: 70825
rpm-md repo 'rpmfusion-free-updates-testing' (cached); generated: 2024-04-09T17:32:50Z solvables: 14
rpm-md repo 'rpmfusion-free-updates' (cached); generated: 2024-04-09T17:32:17Z solvables: 174
rpm-md repo 'rpmfusion-free' (cached); generated: 2023-11-04T16:49:08Z solvables: 445
rpm-md repo 'rpmfusion-nonfree-updates-testing' (cached); generated: 2024-04-09T18:02:39Z solvables: 2
rpm-md repo 'rpmfusion-nonfree-updates' (cached); generated: 2024-04-09T18:02:33Z solvables: 74
rpm-md repo 'rpmfusion-nonfree' (cached); generated: 2023-11-04T17:26:32Z solvables: 208
rpm-md repo 'google-chrome' (cached); generated: 2024-04-12T17:45:55Z solvables: 3
rpm-md repo 'rpmfusion-nonfree-nvidia-driver' (cached); generated: 2024-03-24T11:34:40Z solvables: 29
rpm-md repo 'rpmfusion-nonfree-steam' (cached); generated: 2024-03-24T13:27:05Z solvables: 2
rpm-md repo 'updates-archive' (cached); generated: 2024-04-16T02:49:58Z solvables: 42008
Resolving dependencies... done
Checking out packages... done
Running pre scripts... done
Running post scripts... done
Running posttrans scripts... done
Writing rpmdb... done
Writing OSTree commit... done
Staging deployment... done
Freed: 93.9 MB (pkgcache branches: 0)
error: packages would be removed: 1, allow replacement to override
Notice the error message in the end (something about a package being removed?)
Anyway, the tool went on to log this:
Note: This system is image (rpm-ostree) based.
Inactive requests:
adcli (already provided by adcli-0.9.2-3.fc39.x86_64)
sssd-ad (already provided by sssd-ad-2.9.4-1.fc39.x86_64)
Checking out tree 811f16d... done
Enabled rpm-md repositories: copr:copr.fedorainfracloud.org:ublue-os:akmods updates fedora rpmfusion-free-updates-testing rpmfusion-free-updates rpmfusion-free rpmfusion-nonfree-updates-testing rpmfusion-nonfree-updates rpmfusion-nonfree google-chrome rpmfusion-nonfree-nvidia-driver rpmfusion-nonfree-steam updates-archive
Importing rpm-md... done
rpm-md repo 'copr:copr.fedorainfracloud.org:ublue-os:akmods' (cached); generated: 2024-03-17T06:02:48Z solvables: 216
rpm-md repo 'updates' (cached); generated: 2024-04-16T02:20:46Z solvables: 25869
rpm-md repo 'fedora' (cached); generated: 2023-11-01T00:12:39Z solvables: 70825
rpm-md repo 'rpmfusion-free-updates-testing' (cached); generated: 2024-04-09T17:32:50Z solvables: 14
rpm-md repo 'rpmfusion-free-updates' (cached); generated: 2024-04-09T17:32:17Z solvables: 174
rpm-md repo 'rpmfusion-free' (cached); generated: 2023-11-04T16:49:08Z solvables: 445
rpm-md repo 'rpmfusion-nonfree-updates-testing' (cached); generated: 2024-04-09T18:02:39Z solvables: 2
rpm-md repo 'rpmfusion-nonfree-updates' (cached); generated: 2024-04-09T18:02:33Z solvables: 74
rpm-md repo 'rpmfusion-nonfree' (cached); generated: 2023-11-04T17:26:32Z solvables: 208
rpm-md repo 'google-chrome' (cached); generated: 2024-04-12T17:45:55Z solvables: 3
rpm-md repo 'rpmfusion-nonfree-nvidia-driver' (cached); generated: 2024-03-24T11:34:40Z solvables: 29
rpm-md repo 'rpmfusion-nonfree-steam' (cached); generated: 2024-03-24T13:27:05Z solvables: 2
rpm-md repo 'updates-archive' (cached); generated: 2024-04-16T02:49:58Z solvables: 42008
Resolving dependencies... done
Installing 7 packages:
glibc-2.38-17.fc39.i686 (updates)
glibc-gconv-extra-2.38-17.fc39.i686 (updates)
libgcc-13.2.1-7.fc39.i686 (updates)
libstdc++-13.2.1-7.fc39.i686 (updates)
mfcl3770cdwpdrv-1.0.2-0.i386 (@commandline)
oddjob-0.34.7-9.fc39.x86_64 (fedora)
oddjob-mkhomedir-0.34.7-9.fc39.x86_64 (fedora)
Continue? [y/N] y
Inactive requests:
adcli (already provided by adcli-0.9.2-3.fc39.x86_64)
sssd-ad (already provided by sssd-ad-2.9.4-1.fc39.x86_64)
Checking out tree 811f16d... done
Enabled rpm-md repositories: copr:copr.fedorainfracloud.org:ublue-os:akmods updates fedora rpmfusion-free-updates-testing rpmfusion-free-updates rpmfusion-free rpmfusion-nonfree-updates-testing rpmfusion-nonfree-updates rpmfusion-nonfree google-chrome rpmfusion-nonfree-nvidia-driver rpmfusion-nonfree-steam updates-archive
Importing rpm-md... done
rpm-md repo 'copr:copr.fedorainfracloud.org:ublue-os:akmods' (cached); generated: 2024-03-17T06:02:48Z solvables: 216
rpm-md repo 'updates' (cached); generated: 2024-04-16T02:20:46Z solvables: 25869
rpm-md repo 'fedora' (cached); generated: 2023-11-01T00:12:39Z solvables: 70825
rpm-md repo 'rpmfusion-free-updates-testing' (cached); generated: 2024-04-09T17:32:50Z solvables: 14
rpm-md repo 'rpmfusion-free-updates' (cached); generated: 2024-04-09T17:32:17Z solvables: 174
rpm-md repo 'rpmfusion-free' (cached); generated: 2023-11-04T16:49:08Z solvables: 445
rpm-md repo 'rpmfusion-nonfree-updates-testing' (cached); generated: 2024-04-09T18:02:39Z solvables: 2
rpm-md repo 'rpmfusion-nonfree-updates' (cached); generated: 2024-04-09T18:02:33Z solvables: 74
rpm-md repo 'rpmfusion-nonfree' (cached); generated: 2023-11-04T17:26:32Z solvables: 208
rpm-md repo 'google-chrome' (cached); generated: 2024-04-12T17:45:55Z solvables: 3
rpm-md repo 'rpmfusion-nonfree-nvidia-driver' (cached); generated: 2024-03-24T11:34:40Z solvables: 29
rpm-md repo 'rpmfusion-nonfree-steam' (cached); generated: 2024-03-24T13:27:05Z solvables: 2
rpm-md repo 'updates-archive' (cached); generated: 2024-04-16T02:49:58Z solvables: 42008
Resolving dependencies... done
Will download: 1 package (955.0 kB)
Downloading from 'updates'... done
Importing packages... done
Checking out packages... done
Running pre scripts... done
Running post scripts... done
Running posttrans scripts... done
Writing rpmdb... done
Writing OSTree commit... done
Staging deployment... done
Freed: 94.5 MB (pkgcache branches: 0)
error: packages would be removed: 1, allow replacement to override
So it ended up with the same error twice, though it seems to have chose different extra packages (glic / libstdc++) between the two attempts. The tool then went on to log:
rpm -ihv --nodeps --replacefiles --replacepkgs mfcl3770cdwpdrv-1.0.2-0.i386.rpm
rpm-ostree: Note: This system is image (rpm-ostree) based.
rpm-ostree: Dropping privileges as `rpm` was executed with not "known safe" arguments.
rpm-ostree: You may invoke the real `rpm` binary in `/usr/libexec/rpm-ostree/wrapped/rpm`.
rpm-ostree: Continuing execution in 5 seconds.
error: open of mfcl3770cdwpdrv-1.0.2-0.i386.rpm failed: No such file or directory
###############################ls: cannot access '/usr/share/ppd/*.ppd': No such file or directory
ls: cannot access '/usr/share/cups/model/*.ppd': No such file or directory
#
semanage fcontext -a -t bin_t /opt/brother
restorecon -R /opt/brother
semanage fcontext -a -t cupsd_rw_etc_t /opt/brother/Printers/(.*/)?inf(/.*)?
restorecon -R /opt/brother/Printers
semanage fcontext -a -t bin_t /opt/brother/Printers/(.*/)?lpd(/.*)?
restorecon -R /opt/brother/Printers
semanage fcontext -a -t bin_t /opt/brother/Printers/(.*/)?cupswrapper(/.*)?
restorecon -R /opt/brother/Printers
restorecon -RFv /usr/lib/cups/filter
setsebool -P cups_execmem 1
Not sure what all these commands mean, but it seems it tried to use rpm directly?
Either way I have ended up with this status:
❯ rpm-ostree status
State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: no runs since boot
Deployments:
ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:latest
Digest: sha256:d3eb7f17821b2aeab853724fd0e605e8b50029870883aec89f9b3f9dcee45e1a
Version: 39.20240416.0 (2024-04-16T21:37:18Z)
Diff: 1 removed, 4 added
LayeredPackages: 'libstdc++.i686' glibc.i686 oddjob-mkhomedir
LocalPackages: mfcl3770cdwpdrv-1.0.2-0.i386
● ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:latest
Digest: sha256:6343130fc93cbf463e2099d3c2262275f1101363998dd855d57bcae98d68c437
Version: 39.20240416.0 (2024-04-16T21:23:02Z)
LayeredPackages: oddjob-mkhomedir samba-common-tools
LocalPackages: mfcl3770cdwpdrv-1.0.2-0.i386
Unlocked: transient
ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:latest
Digest: sha256:ae199221fd22e3c38952bac292703f4282c3d7170eeb5db51399dc54e97ae353
Version: 39.20240416.0 (2024-04-16T16:52:59Z)
LayeredPackages: oddjob-mkhomedir
Ignore oddjob-mkhomedir
as I installed that to join an AD domain and is completely unrelated to this, but as you can see the driver package is installed twice and I see:
❯ rpm -ql mfcl3770cdwpdrv-1.0.2-0.i386
/opt/brother/Printers/mfcl3770cdw/LICENSE_ENG.txt
/opt/brother/Printers/mfcl3770cdw/LICENSE_JPN.txt
/opt/brother/Printers/mfcl3770cdw/cupswrapper/brother_lpdwrapper_mfcl3770cdw
/opt/brother/Printers/mfcl3770cdw/cupswrapper/brother_mfcl3770cdw_printer_en.ppd
/opt/brother/Printers/mfcl3770cdw/cupswrapper/cupswrappermfcl3770cdw
/opt/brother/Printers/mfcl3770cdw/inf/ImagingArea
/opt/brother/Printers/mfcl3770cdw/inf/brmfcl3770cdwfunc
/opt/brother/Printers/mfcl3770cdw/inf/brmfcl3770cdwrc
/opt/brother/Printers/mfcl3770cdw/inf/lut/0600-c-TS_cache17.bin
/opt/brother/Printers/mfcl3770cdw/inf/lut/0600-c_cache17.bin
/opt/brother/Printers/mfcl3770cdw/inf/lut/0600-k-TS_cache17.bin
/opt/brother/Printers/mfcl3770cdw/inf/lut/0600-k_cache17.bin
/opt/brother/Printers/mfcl3770cdw/inf/lut/0600-m-TS_cache17.bin
/opt/brother/Printers/mfcl3770cdw/inf/lut/0600-m_cache17.bin
/opt/brother/Printers/mfcl3770cdw/inf/lut/0600-y-TS_cache17.bin
/opt/brother/Printers/mfcl3770cdw/inf/lut/0600-y_cache17.bin
/opt/brother/Printers/mfcl3770cdw/inf/lut/capt-c-TS_cache17.bin
/opt/brother/Printers/mfcl3770cdw/inf/lut/capt-c_cache17.bin
/opt/brother/Printers/mfcl3770cdw/inf/lut/capt-k-TS_cache17.bin
/opt/brother/Printers/mfcl3770cdw/inf/lut/capt-k_cache17.bin
/opt/brother/Printers/mfcl3770cdw/inf/lut/capt-m-TS_cache17.bin
/opt/brother/Printers/mfcl3770cdw/inf/lut/capt-m_cache17.bin
/opt/brother/Printers/mfcl3770cdw/inf/lut/capt-y-TS_cache17.bin
/opt/brother/Printers/mfcl3770cdw/inf/lut/capt-y_cache17.bin
/opt/brother/Printers/mfcl3770cdw/inf/paperinfij2
/opt/brother/Printers/mfcl3770cdw/inf/setupPrintcapij
/opt/brother/Printers/mfcl3770cdw/lpd/brmfcl3770cdwfilter
/opt/brother/Printers/mfcl3770cdw/lpd/filter_mfcl3770cdw
/usr/bin/brprintconf_mfcl3770cdw
When I try to add the printer by enterint its IP address (in gnome settings printers) I get a vague error “Failed to add printer”.
If I try to print a test page I get:
Apr 17 01:11:47 myhost cupsd[6120]: Brother_MFC_L3770CDW_series: Unable to connect to brother1E8EDF7C.local:631: Temporary failure in name resolution
Apr 17 01:11:52 myhost cupsd[6120]: [Client 236] Returning IPP server-error-not-accepting-jobs for Create-Job (ipp://localhost/printers/Brother_MFC_L3770CDW_series) from localhost.
Apr 17 01:11:52 myhost cupsd[6120]: REQUEST localhost - - "POST /printers/Brother_MFC_L3770CDW_series HTTP/1.1" 200 393 Create-Job server-error-not-accepting-jobs
When I try to add the printer manually, I used the IP address and picked the JetDirect version (4th option in this list):
I tried all options from the list (here I pick the driverless one):
I see this in the log:
Apr 17 01:16:42 myhost cupsd[6120]: [CGI] Unable to create PPD file: Could not poll sufficient capability info from the printer (ipp://Brother%20MFC-L3770CDW%20series._ipp._tcp.local/, ipp://brother1E8EDF7C.local:631/ipp/print) via IPP!
Apr 17 01:16:42 myhost cupsd[6120]: copy_model: empty PPD file
Apr 17 01:16:42 myhost cupsd[6120]: [Client 253] Returning IPP server-error-internal-error for CUPS-Add-Modify-Printer (ipp://localhost/printers/Brother-MFC-L3770CDW) from localhost.
Apr 17 01:16:42 myhost cupsd[6120]: REQUEST localhost - root "POST /admin/ HTTP/1.1" 200 322 CUPS-Add-Modify-Printer server-error-internal-error
Apr 17 01:16:42 myhost gnome-control-c[25825]: cups-pk-helper: addition of printer Brother-MFC-L3770CDW failed: server-error-internal-error
Apr 17 01:16:43 myhost gnome-control-c[25825]: Installation of the new printer failed.
I’m quite lost as to what I should do next…