LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux
User Name
Password
antiX / MX Linux This forum is for the discussion of antiX and MX Linux.

Notices


Reply
  Search this Thread
Old 07-27-2020, 12:34 PM   #16
LinWinux
Member
 
Registered: May 2019
Location: Germany
Distribution: MX Linux & Linux Mint XFCE
Posts: 149

Original Poster
Rep: Reputation: Disabled

Well, be that as it may, I need to get off the computer for tonight. It's 7:30 pm here in Germany and my wife isn't thrilled if I'm still goofing around on the keyboard this late. I may just install MX Linux from scratch on another partition tomorrow. Thanks a bunch for your help ...
 
Old 07-27-2020, 03:25 PM   #17
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,202

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Quote:
Originally Posted by LinWinux View Post
Well, There's actually no cupsd.conf file to be found there. I have ...
/etc/cups/raw.convs
/etc/cups/raw.types
/etc/cups/snmp.conf
Those are the only 3 files there (yes, I have show hidden files enabled).
Not sure why it would be missing , but it may be that cups-common is missing as well. That package supplies the requisite default config files.

Code:
sudo apt-get install cups-common
See if that helps.

Code:
sudo systemctl restart cups
 
Old 07-28-2020, 01:32 AM   #18
LinWinux
Member
 
Registered: May 2019
Location: Germany
Distribution: MX Linux & Linux Mint XFCE
Posts: 149

Original Poster
Rep: Reputation: Disabled
That first command resulted in ... "is already installed and the most current version"

I applied the second command too, nothing happened on the screen which makes sense since that command is just an on/off trigger. Checking /etc/cups afterwards yielded the same result as before ... same three files and nothing more.
 
Old 07-28-2020, 01:46 AM   #19
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,202

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Does /usr/share/cups/cupsd.conf.default exist?
Code:
ls -la /usr/share/cups/
If so, do
Code:
sudo cp /usr/share/cups/cupsd.conf.default /etc/cups/cupsd.conf
and restart CUPS.
 
Old 07-28-2020, 01:47 AM   #20
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,202

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Quote:
Originally Posted by LinWinux View Post
I applied the second command too, nothing happened on the screen which makes sense since that command is just an on/off trigger. \
It ensures that cupsd is started ....but only if valid configuration is present of course.
 
Old 07-28-2020, 02:26 AM   #21
LinWinux
Member
 
Registered: May 2019
Location: Germany
Distribution: MX Linux & Linux Mint XFCE
Posts: 149

Original Poster
Rep: Reputation: Disabled
Well, the first command generated the following, but I don't have a clue what that means (insgesamt 20 means total of 20:

Code:
$ ls -la /usr/share/cups/
insgesamt 20
drwxr-xr-x   3 root root  4096 Jul 27 12:46 .
drwxr-xr-x 396 root root 12288 Jul 27 18:28 ..
drwxr-xr-x   2 root root  4096 Apr 25 16:27 ppd-updaters
There's no purpose in restarting cups because the second command yielded this:
(Initiation of stat for usr/share/blahblahblah is not possible. File or archive not found)

Code:
$ sudo cp /usr/share/cups/cupsd.conf.default /etc/cups/cupsd.conf
cp: der Aufruf von stat für '/usr/share/cups/cupsd.conf.default' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
If you recall, I did mention that I may have deleted a folder or two during my search for solutions, one of which was something to the effect of ... if you delete such and such folder then the system will recreate them during a fresh startup. Once that was done, I pretty much figured that I screwed up, but it was too late for regrets at that point. That's when I came here instead.
 
Old 07-28-2020, 03:08 AM   #22
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,202

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Quote:
Well, the first command generated the following, but I don't have a clue what that means (insgesamt 20 means total of 20:
It's just listing the contents of the /usr/share directory. I was hoping that cups-common provided some config files located there - in particular cupsd.conf. Since it didn't the second command will fail to copy the non-existent fie, which is why I mentioned "If so, do"
 
Old 07-28-2020, 03:10 AM   #23
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,202

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Quote:
If you recall, I did mention that I may have deleted a folder or two during my search for solutions, one of which was something to the effect of ... if you delete such and such folder then the system will recreate them during a fresh startup. Once that was done, I pretty much figured that I screwed up, but it was too late for regrets at that point. That's when I came here instead.
Yep, I got that already. I think you should purge "cups-common" and then reinstall that package. See how that goes.
 
Old 07-28-2020, 03:56 AM   #24
LinWinux
Member
 
Registered: May 2019
Location: Germany
Distribution: MX Linux & Linux Mint XFCE
Posts: 149

Original Poster
Rep: Reputation: Disabled
Alright, slowly but surely things are improving. After purging everything I went ahead and rebooted just to make sure that everything was refreshed and ready to go nice and clean. Then I reinstalled cups-common. Then I tried to print a pdf file, but silly me, there's no printer configured on the system. Okay, so I go to install the printer, but now that gui function has vanished. Can't install the printer from the menu options anymore.

Then I check out the browser page for localhost:631 which wasn't working before ... but now it's there and displaying options.
Albeit, when I click on add printers in the admin section, another page opens up with ... not found.
Just that, a completely empty white page with those two words upper left ... not found.
Arrrrggghh ...
 
Old 07-28-2020, 05:05 AM   #25
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,202

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Quote:
Alright, slowly but surely things are improving. After purging everything I went ahead and rebooted just to make sure that everything was refreshed and ready to go nice and clean. Then I reinstalled cups-common
Ok, so we've got cupsd going again.

Quote:
Then I check out the browser page for localhost:631 which wasn't working before ... but now it's there and displaying options.
Albeit, when I click on add printers in the admin section, another page opens up with ... not found.
Just that, a completely empty white page with those two words upper left ... not found.
Arrrrggghh ...
Let's see what driver packages are available for the CS410 series....
Code:
sudo lpinfo -m|grep Lexmark-CS
*This will take a while to run, but if the drivers are there, it will show them.

You may be missing 'openprinting-ppds' and 'foomatic-db', so install if necessary...
Code:
sudo apt-get install -y foomatic-db
 
Old 07-28-2020, 05:11 AM   #26
LinWinux
Member
 
Registered: May 2019
Location: Germany
Distribution: MX Linux & Linux Mint XFCE
Posts: 149

Original Poster
Rep: Reputation: Disabled
That first command yielded ... lpinfo: Befehl nicht gefunden (lpinfo: command not found).

The second command installed foomatic related item(s).
 
Old 07-28-2020, 05:33 AM   #27
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,202

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Okay, and so are you now able to configure CUPS and select the appropriate model?
 
Old 07-28-2020, 05:45 AM   #28
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,202

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
The lpinfo command is provided by the cups-client package.
 
Old 07-28-2020, 05:52 AM   #29
LinWinux
Member
 
Registered: May 2019
Location: Germany
Distribution: MX Linux & Linux Mint XFCE
Posts: 149

Original Poster
Rep: Reputation: Disabled
Bummer, nope, no printer configuration available. Not from within XFCE settings, nor the MX Linux system menu where the printer options are usually located (looked at the other menus too though), and also not from the localhost:631 which I reloaded. No visible change anywhere ...

I created myself another partition for a new system installation of MX Linux.
Perhaps that will be my only real solution after all ... ???
 
Old 07-28-2020, 06:16 AM   #30
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,202

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Unfortunately, difficult to diagnose and resolve from a distance. Anyway, there is a ‘printer-driver-all’ meta package that may be key here, although I’m really not certain what else you’re missing.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get Lexmark Printer to work in Mint 17.3 x64 - CUPS Problem? LateLesley Linux - Software 22 05-12-2016 08:50 PM
Driver for Lexmark X6170 multi-function printer q6supvr Linux - Hardware 3 07-24-2005 09:38 PM
problems configuring lexmark 100 printer with cups gutman007 Linux - Newbie 0 04-18-2004 02:56 PM
Configuring CUPS with Lexmark printer Inexactitude Linux - Software 17 11-21-2003 10:09 AM
Im Doomed: Lindows install wiped out XP data ?? dark_light Linux - General 18 01-08-2003 09:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux

All times are GMT -5. The time now is 11:22 PM.

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