I’m too much of a *nix rookie to even attempt such a thing. Lpr was working just fine and suddenly it stopped working. I thought that removing CUPS to debug might help. Thx!!Nowadays CUPS is (at least by default) built in in many software, and sadly more and more software drops LPR support.
Maybe there exists a WITHOUT_CUPS build flag or the like?
sshd_enable="NO"
telnet_enable="NO"
cupsd_enable="NO"
samba_enable="NO"
inetd_enable="NO"
rlogin_enable="NO"
portmap_enable="NO"
winbindd_enable="NO"
lpd_enable="NO"
nfs_server_enable="NO"
nfs_client_enable="NO"
webcamd_enable="NO"
OPTIONS_UNSET= CUPS
make config
. That's only applicable for when building your own ports. grep -i print /etc/services
# 35/tcp any private printer server
# 35/udp any private printer server
npp 92/tcp #Network Printing Protocol
npp 92/udp #Network Printing Protocol
print-srv 170/tcp #Network PostScript
print-srv 170/udp #Network PostScript
printer 515/tcp spooler
printer 515/udp spooler
ipp 631/tcp ipps #IPP (Internet Printing Protocol)
ipp 631/udp ipps #IPP (Internet Printing Protocol)
I want to remove cups, but in doing so pkg wants to delete a whack of software that I want to keep. How do I prevent that from happening? TIA
-f
option. But this maybe can damage some functionality ofc.doas pkg remove -f cups
Password:
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):
Installed packages to be REMOVED:
cups: 2.3.3op2
pkg remove -f cups
broke at least one program on my computer from running:ld-elf.so.1: Shared object "libcups.so.2" not found, required by "qpdfview"
You have tripped across one of the major mis-features of CUPS. It installs replacements for the common lpr/lpd commands in alternative directories:I’m too much of a *nix rookie to even attempt such a thing. Lpr was working just fine and suddenly it stopped working. I thought that removing CUPS to debug might help. Thx!!
/usr/local/sbin/lpc
/usr/local/bin/lpr
/usr/local/bin/lpq
/usr/sbin/lpc
/usr/bin/lpr
/usr/bin/lpq
[f121.189] $ strings /usr/local/bin/lpr | grep -q cups && echo CPS version
CPS version