r/linuxmint • • 27d ago

Support Request Error installing CUPS

Hi, all. I'm new to Linux and am trying to install OpenPrinting CUPS following the instructions in the source code. Everything seems to work fine, but when I run "make test" the test errors. I can't find anything online that seems similar to the error code I see. Looking around reddit, I see that CUPS development maybe stopped a long time ago. Is there something else with a similar function I could try instead? If not, does anybody know what to do about this error?

The error is in Section 1 - IPP Compliance Tests

PWG 5100.12 section 6.2 - Required Printer Description Attributes    [FAIL]
        RECEIVED: 9882 bytes in response
        status-code = successful-ok (successful-ok)
        EXPECTED: media-supported WITH-ALL-VALUES /^(choice(_((custom|na|asme|roc|oe|roll)_[a-z0-9][-a-z0-9]*_([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])x([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])in|(custom|iso|jis|jpn|prc|om|roll)_[a-z0-9][-a-z0-9]*_([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])x([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])mm)){2,}|(custom|na|asme|roc|oe|roll)_[a-z0-9][-a-z0-9]*_([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])x([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])in|(custom|iso|jis|jpn|prc|om|roll)_[a-z0-9][-a-z0-9]*_([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])x([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])mm)$/
        GOT: media-supported="na_letter_8.5x11in"
        GOT: media-supported="na_legal_8.5x14in"
        GOT: media-supported="na_executive_7.25x10.5in"
        GOT: media-supported="na_ledger_11x17in"
        GOT: media-supported="iso_a3_297x420mm"
        GOT: media-supported="iso_a4_210x297mm"
        GOT: media-supported="custom_148.52x209.9mm_148.52x209.9mm"
        GOT: media-supported="jis_b5_182x257mm"
        GOT: media-supported="iso_b5_176x250mm"
        GOT: media-supported="na_number-10_4.125x9.5in"
        GOT: media-supported="iso_c5_162x229mm"
        GOT: media-supported="iso_dl_110x220mm"
        GOT: media-supported="na_monarch_3.875x7.5in"
1 Upvotes

7 comments sorted by

View all comments

2

u/frostimunki 25d ago edited 25d ago

Check if cups is installed and listening by

sudo ss -tulpn | grep :631

If cups is already installed you'll see a response showing the binary path of your installed cups. You don't need to reinstall cups in that case.

Edit: Apple discontinued cups development around 2020, it's now maintained by OpenPrinting.

https://openprinting.github.io/