Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
09-23-2020, 09:07 AM
|
#1
|
Member
Registered: Nov 2019
Location: Nokia, Finland.
Distribution: Xubuntu
Posts: 50
Rep: 
|
Borked linux printer driver
I've borked this one good.
To start I deleted some files that were apparently needed by the printer driver (Brother dcp9055cdn). I get
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'dcp9055cdnlpr:i386' instead of '/home/shakespeare/dcp9055cdnlpr-1.1.1-5.i386.deb'
dcp9055cdnlpr:i386 is already the newest version (1.1.1-5).
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
I'm using a 64-bit Xubuntu, and the 386 packages were updated recently. If anybody can help, I will be eternally in their debt.
|
|
|
09-23-2020, 11:45 AM
|
#3
|
Senior Member
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: KDE Neon
Posts: 1,244
|
What command are you running in your first post, you only posted the error.
Have you tried "apt -f install" to fix broken install files.
Last edited by uteck; 09-23-2020 at 11:46 AM.
Reason: typo
|
|
|
09-24-2020, 06:50 AM
|
#4
|
Member
Registered: Nov 2019
Location: Nokia, Finland.
Distribution: Xubuntu
Posts: 50
Original Poster
Rep: 
|
I tried:
sudo apt -f install
I need the directories for installation.
|
|
|
09-24-2020, 09:19 AM
|
#5
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,280
|
Ok. with apt, uninstall, purge autoremove, and any other apt commands that get rid of every last trace.
Then start over, read in advance and investigate any errors the small print.
|
|
|
09-24-2020, 10:15 AM
|
#6
|
Senior Member
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: KDE Neon
Posts: 1,244
|
May have to force the uninstall then re-install:
Code:
dpkg -r --force-uninstall dcp9055cdnlp
dpkg -i /home/shakespeare/dcp9055cdnlpr-1.1.1-5.i386.deb
|
|
|
09-24-2020, 02:53 PM
|
#7
|
Member
Registered: Nov 2019
Location: Nokia, Finland.
Distribution: Xubuntu
Posts: 50
Original Poster
Rep: 
|
You are a genius, for suggesting this
sudo dpkg -r --force-all dcp9055cdnlpr
sudo dpkg -i --force-all /home/shakespeare/dcp9055cdnlpr-1.1.1-5.i386.deb
shakespeare@RYZEN:~$ sudo dpkg -i --force-all dcp9055cdnlpr-1.1.1-5.i386.deb
Selecting previously unselected package dcp9055cdnlpr-1.1.1-5.i386.deb
(Reading database ... 768649 files and directories currently installed.)
Preparing to unpack dcp9055cdnlpr-1.1.1-5.i386.deb ...
Unpacking dcp9055cdnlpr:i386 (1.1.1-5) ...
Setting up dcp9055cdnlpr:i386 (1.1.1-5) ...
shakespeare@RYZEN:~$ sudo dpkg -i --force-all dcp9055cdncupswrapper-1.1.1-5.i386.deb
(Reading database ... 768677 files and directories currently installed.)
Preparing to unpack dcp9055cdncupswrapper-1.1.1-5.i386.deb ...
lpadmin: The printer or class does not exist.
[ ok ] Restarting cups (via systemctl): cups.service.
Unpacking dcp9055cdncupswrapper:i386 (1.1.1-5) over (1.1.1-5) ...
Setting up dcp9055cdncupswrapper:i386 (1.1.1-5) ...
Is there something which would make the thing fail?
|
|
|
09-24-2020, 03:08 PM
|
#8
|
Senior Member
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: KDE Neon
Posts: 1,244
|
Why do you think it failed? I don't see any critical errors.
Although you did install the file twice and did not remove it first, but it looks like it worked.
Can you add the printer in your printer settings or from http://locahost:631?
|
|
|
09-25-2020, 02:01 AM
|
#9
|
Member
Registered: Nov 2019
Location: Nokia, Finland.
Distribution: Xubuntu
Posts: 50
Original Poster
Rep: 
|
The message from Xubuntu is:
[Settings]
Description: DCP9055CDN
Location: In the office.
Device URI: dnssd://Brother%20DCP-9055CDN._pdl-datastream._tcp.local/
Make and Model: Brother DCP-9055CDN CUPS
Printer State: Processing - Unable to locate printer.
The "Printer State" is the serious one.
Which "Device URI" do you have?
|
|
|
09-25-2020, 02:06 PM
|
#10
|
Senior Member
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: KDE Neon
Posts: 1,244
|
Did you delete the printer from CUPS and re-add it?
I don't have that printer, so not sure what protocol it is expecting, so you might have to try a few.
|
|
|
09-26-2020, 12:44 AM
|
#11
|
Member
Registered: Nov 2019
Location: Nokia, Finland.
Distribution: Xubuntu
Posts: 50
Original Poster
Rep: 
|
I have deleted it many times. The message is:
[Settings]
Description: DCP9055CDN
Location: In the office.
Device URI: dnssd://Brother%20DCP-9055CDN._pdl-datastream._tcp.local/
Make and Model: Brother DCP-9055CDN CUPS
Printer State: Processing - Unable to locate printer.
Is there something in the Device URI?
|
|
|
09-26-2020, 02:41 AM
|
#12
|
Member
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 797
Rep: 
|
cups should have a couple of logs in /var/log/cups (error and access). is there anything either of those that might provide more detail?
|
|
|
09-26-2020, 04:37 AM
|
#13
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,974
|
Quote:
I have deleted it many times. The message is:
[Settings]
Description: DCP9055CDN
Location: In the office.
Device URI: dnssd://Brother%20DCP-9055CDN._pdl-datastream._tcp.local/
Make and Model: Brother DCP-9055CDN CUPS
Printer State: Processing - Unable to locate printer.
Is there something in the Device URI?
|
The device URI is currently using the CUPS DNS-SD backend, which relies on mDNS to be working. Is Avahi hostname resolution working?
Something like...
Code:
ping printer_name.local
Check the hostname resolution configuration....
Code:
cat /etc/nsswitch.conf
|
|
1 members found this post helpful.
|
09-27-2020, 12:42 PM
|
#14
|
Member
Registered: Nov 2019
Location: Nokia, Finland.
Distribution: Xubuntu
Posts: 50
Original Poster
Rep: 
|
shakespeare@RYZEN:/$ cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat systemd
group: compat systemd
shadow: compat
gshadow: files
hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
shakespeare@RYZEN:/$
|
|
|
09-27-2020, 02:14 PM
|
#15
|
Member
Registered: Nov 2019
Location: Nokia, Finland.
Distribution: Xubuntu
Posts: 50
Original Poster
Rep: 
|
There is an [unknown] error in the IP addresses.
99 becomes 109. Is this related to the CUPS-SD which relies on mDNS to work.
shakespeare@RYZEN:~$ ping 192.168.2.99
PING 192.168.2.99 (192.168.2.99) 56(84) bytes of data.
From 192.168.2.109 icmp_seq=1 Destination Host Unreachable
From 192.168.2.109 icmp_seq=2 Destination Host Unreachable
From 192.168.2.109 icmp_seq=3 Destination Host Unreachable
From 192.168.2.109 icmp_seq=4 Destination Host Unreachable
^C
--- 192.168.2.99 ping statistics ---
4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 4525ms
pipe 4
shakespeare@RYZEN:~$
|
|
|
All times are GMT -5. The time now is 04:10 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|