Packages

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Any
  • Assigned To
    Emulatorman
  • Operating System Hyperbola GNU/Linux-libre
  • Severity Critical
  • Priority Very High
  • Reported Version Milky Way v0.3
  • Due in Version Starfix
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Packages
Opened by ralessi - 24/09/2019
Last edited by Emulatorman - 01/10/2019

FS#1419 - [cups] [cups-filters] ServerBin directory inconsistency

As the default path of the ServerBin directory is now /usr/libexec/bin:
1. cups-files.conf should be modified/adapted accordingly.
2. The contents of /usr/lib/cups which is currently owned by cups-filters, cups-pdf foomatic-db-engine and smbclient should be moved to /usr/libexec/cups.

As it is, cups doesn’t work in v0.3.

Closed by  Emulatorman
01.10.2019 23:02
Reason for closing:  Fixed

I just had a look at the PKGBUILD of the latest cups, which seems to be compiled with `–libdir=/usr/lib`. Why is there an `/usr/libexec` directory in the package?

For information, reverting to cups-2.2.4-2.hyperbola1 (as a temporary workaround of course) solved this issue.

@Robert Alessi

Thanks for the report Robert, I hope it will get fixed asap.. I really need my printer back.

@fablamar
Meanwhile, reverting to the previous version solves the issue.

Admin

We are adhering our packages to the Filesystem Hierarchy Standard, so for that reason some files are going to /usr/libexec like cups, see here for further details about libexec.

So like you said, we need adapt cups-filters, cups-pdf foomatic-db-engine and smbclient to be FHS compliant as soon as possible to solve the issue.

Admin
So like you said, we need adapt cups-filters, cups-pdf foomatic-db-engine and smbclient to be FHS compliant as soon as possible to solve the issue.

Today, i found more packages affected.

It is the complete list:

* bluez-cups
* cups-filters
* cups-pdf
* foomatic-db-engine
* gutenprint
* hplip
* smbclient
* splix

Yes, hplip is most certainly affected...

Also, I think ufw is too. although it can be turned on, but you have to go in the ufw.conf and turn it on by changing no to yes.

As for sudo ufw enable, that doesn't currently work. ;/

Thank you very much for fixing this!

I know this is being fixed, but for the record I had to revert bluez and bluez-libs this morning for my bluetooth keyboard kept stopping every ten minutes or so. (I also had to revert from the latest update of cups-filters and brothers, but as cups itself is being worked on, I guess this is normal.)

Admin
I know this is being fixed, but for the record I had to revert bluez and bluez-libs this morning for my bluetooth keyboard kept stopping every ten minutes or so. (I also had to revert from the latest update of cups-filters and brothers, but as cups itself is being worked on, I guess this is normal.)

I suppose it is related to D-Bus support removal in cups and cups-filters since it is part of our mitigation plan. Anyway if you want, send us your log to see if it is another issue.

Thank you André.

I just updated the packages that I had to block, namely:

Packages (8) bluez-5.45-1.hyperbola3  bluez-libs-5.45-1.hyperbola3
             bluez-utils-5.45-1.hyperbola3  cups-2.2.4-2.hyperbola3
             cups-filters-1.13.5-1.hyperbola4  cups-pdf-3.0.1-1.hyperbola1
             foomatic-db-engine-4:4.0.12-3.hyperbola1
             foomatic-db-gutenprint-ppds-5.2.12-1.hyperbola1

And cups still doesn't work. cups error_log reads as follows:

E [30/Sep/2019:18:01:39 +0200] Filter \"pstops\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"rastertopwg\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"rastertopwg\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"gstopdf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"gstoraster\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"gstoraster\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"gstoraster\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"mupdftoraster\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"mupdftoraster\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"texttobrf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"texttobrf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"texttobrf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"texttobrf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"texttobrf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"texttobrf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"texttobrf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"texttobrf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"texttobrf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetobrf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetobrf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetobrf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetobrf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetobrf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetobrf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetobrf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetobrf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetobrf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetobrf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetobrf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetobrf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetobrf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetobrf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetobrf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoubrl\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoubrl\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoubrl\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoubrl\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoubrl\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoubrl\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoubrl\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoubrl\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoubrl\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoubrl\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoubrl\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoubrl\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoubrl\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoubrl\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoubrl\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"pstops\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"pdftopdf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"texttopdf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"texttopdf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"texttopdf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"texttopdf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"texttopdf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"texttopdf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"rastertopdf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetopdf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetopdf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetopdf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetopdf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetopdf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetopdf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetopdf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetopdf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetopdf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetopdf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetopdf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetopdf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetopdf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetopdf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetopdf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"bannertopdf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"rastertopdf\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"pdftops\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoraster\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoraster\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoraster\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoraster\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoraster\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoraster\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoraster\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoraster\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoraster\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoraster\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoraster\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoraster\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoraster\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"imagetoraster\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"pdftoraster\" not found.
E [30/Sep/2019:18:01:39 +0200] Filter \"pdftoraster\" not found.
E [30/Sep/2019:18:01:39 +0200] Samsung: File \"/usr/lib/cups/filter/foomatic-rip\" not available: No such file or directory
E [30/Sep/2019:18:01:39 +0200] Samsung: File \"/usr/lib/cups/filter/foomatic-rip\" not available: No such file or directory
E [30/Sep/2019:18:01:39 +0200] Samsung: File \"/usr/lib/cups/filter/commandtops\" not available: No such file or directory
E [30/Sep/2019:18:01:39 +0200] Samsung: File \"/usr/lib/cups/filter/foomatic-rip\" not available: No such file or directory
E [30/Sep/2019:18:01:39 +0200] Samsung: File \"/usr/lib/cups/filter/foomatic-rip\" not available: No such file or directory
E [30/Sep/2019:18:01:39 +0200] Samsung: File \"/usr/lib/cups/filter/commandtops\" not available: No such file or directory
E [30/Sep/2019:18:01:39 +0200] Samsung_ML-2850_Series_mk2: File \"/usr/lib/cups/filter/commandtops\" not available: No such file or directory
E [30/Sep/2019:18:01:39 +0200] Samsung_ML-2850_Series_mk2: File \"/usr/lib/cups/filter/commandtops\" not available: No such file or directory
E [30/Sep/2019:18:01:39 +0200] Virtual_PDF_Printer: File \"/usr/lib/cups/filter/commandtops\" not available: No such file or directory
E [30/Sep/2019:18:01:39 +0200] Missing value on line 63 of /var/cache/cups/job.cache.
E [30/Sep/2019:18:01:39 +0200] Missing value on line 4435 of /var/cache/cups/job.cache.

I think that line 76 of '/etc/cups/cups-files.conf' should be uncommented and read:

ServerBin /usr/libexec/cups

instead of

#ServerBin /usr/lib/cups

This way, it works.

Admin
I think that line 76 of '/etc/cups/cups-files.conf' should be uncommented and read

Thank you for let me know, i have added a patch to fix CUPS_SERVERBIN variable to install server executables in /usr/libexec/cups correctly [0]

So without having to modify cups-files.conf, perfect!

@André Silva :

Could you please add "epson-inkjet-printer-escpr" while the cups package is being fixed ? It would be great because currently we need to build from AUR to use it. (and being able to print with Epson printers)

Package license : GPL2

There is a request for it (well, two, duplicate)

https://issues.hyperbola.info/index.php?do=details&task_id=1379

https://issues.hyperbola.info/index.php?do=details&task_id=1162

Admin
Could you please add "epson-inkjet-printer-escpr" while the cups package is being fixed ? It would be great because currently we need to build from AUR to use it. (and being able to print with Epson printers)

Implemented → FS#1162

Admin
So without having to modify cups-files.conf, perfect!

Seems all related to CUPS is working well, however there is an user reporting an issue with lp command [0] . Could you replicate this issue?

Seems all related to CUPS is working well, however there is an user reporting an issue with lp command [0] . Could you replicate this issue?

No, on my system, with the latest updates, both 'lp' and 'lpr' work perfectly:

[robert@localhost test]$ lpr test-notes.pdf
[robert@localhost test]$ lpq
Samsung_ML-2850_Series_mk2 is ready
no entries
[robert@localhost test]$ lp -d Samsung_ML-2850_Series_mk2 test-notes.pdf 
request id is Samsung_ML-2850_Series_mk2-425 (1 file(s))
[robert@localhost test]$ 
Date User Effort (H:M)
watch my effort tracking timers

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing