In case anyone gets caught by the CUPS upgrade

CUPS was just updated & needs to be re-enabled… See this post: https://bbs.archlinux.org/viewtopic.php?id=260970

Everyone have a GREAT Weekend!!!

25 Likes

Thank you! :ok_hand:t3:


For anyone who doesn’t care and just wants a TL;DR of what to do: first update, then run:

sudo systemctl enable cups.service
sudo systemctl start cups.service

And just in case, print a test page. But everything should work.

12 Likes

Thanks @ExDebianuser, you helped me to avoid headache !

1 Like

Just some more explanation why that is needed:

From

  # upstream reverted back to common old naming scheme
  if [[ $(vercmp 2.3.3+105+g59137acc1-1 $2) = 1 ]]; then
    echo ">>> Cups systemd socket and service files have been"
    echo ">>> renamed by upstream decision. Please make sure"
    echo ">>> to disable/reenable the services to your need."
    echo ">>> hint: \"pacman -Ql cups | grep systemd\" and"
    echo ">>> \"ls -lR /etc/systemd/ | grep cups\" "
  fi
}
3 Likes

This reminded me, I have not re-installed my printer since I re-installed EnOS, will start another thread, it is not working.

what does CUPS do?

Prints.

Thanks. I just found that by accident when I just couldn’t get my canon printer to work. I checked good old Arch Wiki and there it was.

1 Like

CUPS is an opensource admin local printing server developped by Apple that gives you the possibility to setup your printers throw browser with:

http://localhost:631/

or CLI or GUI tools.

3 Likes

Does the EnOS printer wiki now need to be updated with the new service unit name?

https://endeavouros.com/docs/hardware-and-network/printers/

This change actually makes me SOOOOOOOOOO happy. I was always irritated that every reinstall I could never remember what the cups service was called. So every time, I had to search for it, now it’s the same as every other distro!!!

You can use tab completion with systemctl so to figure out what cups services are there type

systemctl status cups<TAB>

On my box I get

$ sudo systemctl status cups
cups-browsed.service  cups-lpd.socket       cups.path             cups.service          cups.socket 

I would always just do systemctl list-unit-files | grep cups

1 Like

Thanks for the tip. I did not knew about this bug with new version of cups.

cups.path                                  enabled         disabled     
cups-browsed.service                       disabled        disabled     
cups-lpd@.service                          static          -            
cups.service                               enabled         disabled     
cups-lpd.socket                            disabled        disabled     
cups.socket                                enabled         disabled

:ok_hand:

1 Like

so service/socket naming is changed from
org.cups.cupsd.socket/service
to cups.service/socket

https://endeavouros.com/docs/hardware-and-network/printers/

1 Like

Yes, and you have to modify chrooted_cleaner_script.sh script in order to get a working cups out of the box.

I opened an issue on github: https://github.com/endeavouros-team/install-scripts/issues/20

3 Likes

https://github.com/endeavouros-team/install-scripts/commit/9f677cc6ce46cfc483fd721b5d40f5f1931c5d80

1 Like

i do remember that it was like that before long time ago…