LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-28-2022, 01:40 PM   #1
kel_en
Member
 
Registered: Jun 2005
Location: Virginia, USA
Distribution: Slackware, Debian, MX
Posts: 125

Rep: Reputation: 17
Blacklist cups in multilib machines?


I have 4 machines running Slackware64-15.0, each connected through the wireless network to an old 32-bit Brother printer. All have worked great with Alien Bob's compat-32 packages. I agreed to "upgrade-all" when slackpkg asked 2 days ago and cups was upgraded on the first machine. I could no longer print on that machine. I blacklisted cups on the remaining machines pending investigation.

I have since been able to print with the upgraded cups package.

I've only used Slackware for about 2 years and am learning. I doubt that I'm the only user of these old Brother printers. I would really like to know what other users do to protect their systems' ability to print.

Thanks in advance.
Richard
 
Old 05-28-2022, 01:51 PM   #2
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 15
Posts: 521

Rep: Reputation: 187Reputation: 187
On your computer where you recently installed the update for CUPS:

If you open CUPS config using your webbrowser i.e. http://localhost:631
Once there, click on Administration - Manage printers
See if your printer is still listed as installed

If not, make sure cupsd is running, open konsole and type, for example (no need to login as root or su):
ps aux | grep cups

You should see something like...
Code:
root      1355  0.0  0.0  11364  6724 ?        Ss   07:49   0:00 /usr/sbin/cupsd -C /etc/cups/cupsd.conf -s /etc/cups/cups-files.conf
 
Old 05-28-2022, 02:17 PM   #3
kel_en
Member
 
Registered: Jun 2005
Location: Virginia, USA
Distribution: Slackware, Debian, MX
Posts: 125

Original Poster
Rep: Reputation: 17
Thanks for the replies. I should have expanded on the actual problem. That particular machine refuses to start cupsd on boot. cupsd was not running at the time of the upgrade. When I tried to start it in my usual way I got error messages in response. Apparently, the command /usr/sbin/cupsd no longer works and has been replaced by /usr/sbin/cupsd -C /etc/cups/cupsd.conf -s /etc/cups/cups-files.conf Once I got cupsd running I was able to use a browser and eventually print a test page. Thanks again.
 
Old 05-28-2022, 03:20 PM   #4
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 15
Posts: 521

Rep: Reputation: 187Reputation: 187
I just checked on an laptop here, where I've not yet updated CUPS.
So still running 2.3.3op2

And it starts cupsd exactly the same as I wrote above, so start-up command has not changed between these two versions

By any chance, is this an upgrade installation of 14.2 to 15.0, or a clean installation of 15.0?
 
Old 05-28-2022, 04:07 PM   #5
kel_en
Member
 
Registered: Jun 2005
Location: Virginia, USA
Distribution: Slackware, Debian, MX
Posts: 125

Original Poster
Rep: Reputation: 17
This was an upgrade from 14.2 to 15.0. The upgrade went flawlessly. I'm prepared to do a clean install on this when needed. My concern is what happens to the other 3 machines the next time cups is upgraded for whatever reason. One was a clean install and two were upgrades from Current. Thanks, again.
 
Old 05-28-2022, 04:15 PM   #6
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
I've only used Slackware for about 2 years and am learning. I doubt that I'm the only user of these old Brother printers. I would really like to know what other users do to protect their systems' ability to print.
I have been using Brother printers for several years on Slackware, currently I have a Brother HLL2320D. I have never had to install a full multilib to get the printer working. I followed the How To here
-->https://docs.slackware.com/howtos:ha...r_installation
I'm running the priter on a Slackware 15.0 64 bit system, and Slackware current 64 bit system. No issues with cups at all.

I simply +x /etc/rc.d/rc.cups and cups strats up at boot time.
 
Old 05-29-2022, 03:26 AM   #7
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 15
Posts: 521

Rep: Reputation: 187Reputation: 187
@kel_en
As camorri wrote, follow that guide and make sure to chmod +x /etc/rc.d/rc.cups
That should be all you need to do, even after an update of cups later on.

Drivers might however be a different problem, I have no experience whatsoever with Brother printers since the late 1990's
I only use HP and/or Samsung laser printers my self.
But drivers doesn't seem to be the problem here...

On the PC with the upgrade from 14.2 -> 15.0
I would check if there's some "leftover" packages from 14.2 installation

In this case, cups, by using slackpkg (as su)
slackpkg search cups

You should see 4 results:
[inst] patches : cups-2.4.2-x86_64-1_slack15.0
[inst] slackware64 : cups-filters-1.28.11-x86_64-1
[inst] slackware64 : pycups-2.0.1-x86_64-6
[mask] slackware64 : cups-2.3.3op2-x86_64-1

In short, inst means it's the package currently installed (mask was the original package upon installation, in this case)

Of course, you could check manually as well, by using ls
Example:
ls /var/log/packages/cups*

So check this on the other machines as well.
As they were upgrades from current -> 15.0, and one being a full install (I hope) from scratch. They should be fine (if updated accordingly).

Just a side note... My 15.0 desktop is also from a current -> 15.0 upgrade. My laptops with 15.0 are clean installations.
And cups is working as expected, perfectly fine...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] slackpkg blacklist xorg can't seem to blacklist it khronosschoty Slackware 2 11-13-2021 02:19 AM
[SOLVED] slackpkg+ blacklist - how to blacklist third party package set? zdolar Slackware 17 06-07-2021 09:37 AM
slackpkg blacklist kde should not blacklist polkit anymore frushiyama Slackware 1 09-25-2020 05:19 AM
slackpkg/blacklist for AlienBob's current multilib and kde 4.4.2 packages damgar Slackware 7 04-08-2010 09:33 PM
?Odd bug. modprobe.blacklist~ behaves as modprobe.blacklist arubin Slackware 1 11-05-2006 07:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration