Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

[SOLVED][CUPS]lpinfo & lpadmin - command not found.

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
Jacekalex
Guru
Guru
User avatar
Posts: 554
Joined: Thu Sep 17, 2009 5:18 am

[SOLVED][CUPS]lpinfo & lpadmin - command not found.

  • Quote

Post by Jacekalex » Sat Oct 31, 2020 11:54 pm

Hi

Where is cups tools, like as lpinfo, lpadmin and lpstat?

Cups version:

Code: Select all

net-print/cups-2.3.3-r1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 acl dbus -debug -kerberos lprng-compat pam selinux ssl static-libs -systemd threads usb -X -xinetd -zeroconf
net-print/cups-filters-1.27.4 dbus foomatic jpeg -ldap -pclm pdf perl png postscript static-libs -test tiff -zeroconf

Code: Select all

# G1 Gentoo ###    Sun Nov 01 00:48:10  domek : ~ 

# user ~> lpinfo
bash: lpinfo: command not found

# G1 Gentoo ###    Sun Nov 01 00:48:13  domek : ~ 

# user ~> lpadmin
bash: lpadmin: command not found

# G1 Gentoo ###    Sun Nov 01 00:48:17  domek : ~ 

# user ~> lpstat
bash: lpstat: command not found
:roll:

Code: Select all

 e-file lpadmin
[I] net-print/cups
	Available Versions:	1.6.2-r5 2.1.4 2.2.1 2.2.7 2.2.11 2.2.12 2.2.13 2.3.0 2.3.1 2.3.3 2.3.3-r1 
	Last Installed Ver:	filters-1.27.4(Sun 01 Nov 2020 12:46:13 AM CET)
	Homepage:		https://www.cups.org/
	Description:		The Common Unix Printing System
	Matched Files:		/usr/sbin/lpadmin; 

e-file lpinfo
[I] net-print/cups
	Available Versions:	1.6.2-r5 2.1.4 2.2.1 2.2.7 2.2.11 2.2.12 2.2.13 2.3.0 2.3.1 2.3.3 2.3.3-r1 
	Last Installed Ver:	filters-1.27.4(Sun 01 Nov 2020 12:46:13 AM CET)
	Homepage:		https://www.cups.org/
	Description:		The Common Unix Printing System
	Matched Files:		/usr/sbin/lpinfo; 

Code: Select all

 qlist cups | egrep 'lpinfo|lpadmin|lpstat'
/usr/share/cups/html/help/man-lpadmin.html
/usr/share/cups/html/help/man-lpinfo.html
/usr/share/cups/html/help/man-lpstat.html
:roll:

Cheers
8)
Last edited by Jacekalex on Sun Nov 01, 2020 4:14 pm, edited 1 time in total.
Top
Hu
Administrator
Administrator
Posts: 24403
Joined: Tue Mar 06, 2007 5:38 am

Re: [CUPS]lpinfo & lpadmin - command not found.

  • Quote

Post by Hu » Sun Nov 01, 2020 12:29 am

Jacekalex wrote:Where is cups tools, like as lpinfo, lpadmin and lpstat?
These are provided by net-print/cups[-lprng-compat]:

Code: Select all

# equery f cups | grep -e 'lpinfo\|lpadmin\|lpstat'
/usr/bin/lpstat
/usr/sbin/lpadmin
/usr/sbin/lpinfo
There is an explicit warning about this in the ebuild:

Code: Select all

    # for the special case of running lprng and cups together, bug 467226
    if use lprng-compat ; then
        rm -fv "${ED}"/usr/bin/{lp*,cancel}
        rm -fv "${ED}"/usr/sbin/lp*
        rm -fv "${ED}"/usr/share/man/man1/{lp*,cancel*}
        rm -fv "${ED}"/usr/share/man/man8/lp*
        ewarn "Not installing lp... binaries, since the lprng-compat useflag is set."
        ewarn "Unless you plan to install an exotic server setup, you most likely"
        ewarn "do not want this. Disable the useflag then and all will be fine."
You enabled lprng-compat, so the ebuild deleted those programs.
Top
Jacekalex
Guru
Guru
User avatar
Posts: 554
Joined: Thu Sep 17, 2009 5:18 am

  • Quote

Post by Jacekalex » Sun Nov 01, 2020 4:14 pm

Indeed, thank you very much.
:wink:

Cheers
8)
Top
Post Reply

3 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic