这是indexloc提供的服务,不要输入任何密码

Debian Bug report logs - #998004
/usr/sbin/lpinfo: lpinfo: -U does not work despite saying so in the help

version graph

Package: cups-client; Maintainer for cups-client is Debian Printing Team <debian-printing@lists.debian.org>; Source for cups-client is src:cups (PTS, buildd, popcon).

Reported by: Roland Hieber <rohieb+debian-g9KN6FJU@rohieb.name>

Date: Thu, 28 Oct 2021 13:03:02 UTC

Severity: normal

Tags: fixed-upstream

Found in version cups/2.3.3op2-3+deb11u1

Fixed in version cups/2.4.7-1

Done: Thorsten Alteholz <debian@alteholz.de>

Bug is archived. No further changes may be made.

Forwarded to https://github.com/OpenPrinting/cups/issues/453

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Printing Team <debian-printing@lists.debian.org>:
Bug#998004; Package cups-client. (Thu, 28 Oct 2021 13:03:04 GMT) (full text, mbox, link).


Acknowledgement sent to Roland Hieber <rohieb+debian-g9KN6FJU@rohieb.name>:
New Bug report received and forwarded. Copy sent to Debian Printing Team <debian-printing@lists.debian.org>. (Thu, 28 Oct 2021 13:03:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Roland Hieber <rohieb+debian-g9KN6FJU@rohieb.name>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: /usr/sbin/lpinfo: lpinfo: -U does not work despite saying so in the help
Date: Thu, 28 Oct 2021 14:51:42 +0200
Package: cups-client
Version: 2.3.3op2-3+deb11u1
Severity: normal
File: /usr/sbin/lpinfo

Dear Maintainer,

I tried using lpinfo with a hostname and a user name, but it complains:

    $ lpinfo -h gutenberg.mydomain -U myuser -l -v
    lpinfo: Unknown option "U".
    Usage: lpinfo [options] -m
	   lpinfo [options] -v
    Options:
    -E                      Encrypt the connection to the server
    -h server[:port]        Connect to the named server and port
    -l                      Show verbose (long) output
    -m                      Show models
    -U username             Specify the username to use for authentication
    -v                      Show devices
    --device-id device-id   Show models matching the given IEEE 1284 device ID
    --exclude-schemes scheme-list
			    Exclude the specified URI schemes
    --include-schemes scheme-list
			    Include only the specified URI schemes
    --language locale       Show models matching the given locale
    --make-and-model name   Show models matching the given make and model name
    --product name          Show models matching the given PostScript product
    --timeout seconds       Specify the maximum number of seconds to discover devices

These two lines in the help seem to be conflicting:

  lpinfo: Unknown option "U".
[...]
  -U username             Specify the username to use for authentication

It does not matter where on the command line I put the -U, the outcome is
always the same, and I haven't figured out yet how to authenticate to
the server with a different user name.

Cheers,

 - Roland


-- System Information:
Debian Release: 11.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-7-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cups-client depends on:
ii  adduser      3.118
ii  cups-common  2.3.3op2-3+deb11u1
ii  libc6        2.31-11
ii  libcups2     2.3.3op2-3+deb11u1

cups-client recommends no packages.

Versions of packages cups-client suggests:
ii  cups       2.3.3op2-3+deb11u1
ii  cups-bsd   2.3.3op2-3+deb11u1
ii  smbclient  2:4.13.5+dfsg-2

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Printing Team <debian-printing@lists.debian.org>:
Bug#998004; Package cups-client. (Sun, 14 Aug 2022 14:09:02 GMT) (full text, mbox, link).


Acknowledgement sent to Brian Potkin <claremont102@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Printing Team <debian-printing@lists.debian.org>. (Sun, 14 Aug 2022 14:09:02 GMT) (full text, mbox, link).


Message #10 received at 998004@bugs.debian.org (full text, mbox, reply):

From: Brian Potkin <claremont102@gmail.com>
To: Roland Hieber <rohieb+debian-g9KN6FJU@rohieb.name>, 998004@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: Bug#998004: /usr/sbin/lpinfo: lpinfo: -U does not work despite saying so in the help
Date: Sun, 14 Aug 2022 14:49:53 +0100
forwarded 998004 https://github.com/OpenPrinting/cups/issues/453
thanks


On Thu 28 Oct 2021 at 14:51:42 +0200, Roland Hieber wrote:

> Package: cups-client
> Version: 2.3.3op2-3+deb11u1
> Severity: normal
> File: /usr/sbin/lpinfo
> 
> Dear Maintainer,
> 
> I tried using lpinfo with a hostname and a user name, but it complains:
> 
>     $ lpinfo -h gutenberg.mydomain -U myuser -l -v
>     lpinfo: Unknown option "U".
>     Usage: lpinfo [options] -m
> 	   lpinfo [options] -v
>     Options:
>     -E                      Encrypt the connection to the server
>     -h server[:port]        Connect to the named server and port
>     -l                      Show verbose (long) output
>     -m                      Show models
>     -U username             Specify the username to use for authentication
>     -v                      Show devices
>     --device-id device-id   Show models matching the given IEEE 1284 device ID
>     --exclude-schemes scheme-list
> 			    Exclude the specified URI schemes
>     --include-schemes scheme-list
> 			    Include only the specified URI schemes
>     --language locale       Show models matching the given locale
>     --make-and-model name   Show models matching the given make and model name
>     --product name          Show models matching the given PostScript product
>     --timeout seconds       Specify the maximum number of seconds to discover devices
> 
> These two lines in the help seem to be conflicting:
> 
>   lpinfo: Unknown option "U".
> [...]
>   -U username             Specify the username to use for authentication
> 
> It does not matter where on the command line I put the -U, the outcome is
> always the same, and I haven't figured out yet how to authenticate to
> the server with a different user name.

Thank you for your report, Roland.

The output from your command is correct behaviour; see the manual.
The Usage output is not correct. I have sent a report to upstream.

Regards,

Brian.



Set Bug forwarded-to-address to 'https://github.com/OpenPrinting/cups/issues/453'. Request was from Brian Potkin <claremont102@gmail.com> to control@bugs.debian.org. (Sun, 14 Aug 2022 14:09:04 GMT) (full text, mbox, link).


Added tag(s) fixed-upstream. Request was from debian-bts-link@lists.debian.org to control@bugs.debian.org. (Thu, 18 Aug 2022 17:39:04 GMT) (full text, mbox, link).


Reply sent to Thorsten Alteholz <debian@alteholz.de>:
You have taken responsibility. (Sat, 07 Oct 2023 22:39:28 GMT) (full text, mbox, link).


Notification sent to Roland Hieber <rohieb+debian-g9KN6FJU@rohieb.name>:
Bug acknowledged by developer. (Sat, 07 Oct 2023 22:39:28 GMT) (full text, mbox, link).


Message #19 received at 998004-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 998004-close@bugs.debian.org
Subject: Bug#998004: fixed in cups 2.4.7-1
Date: Sat, 07 Oct 2023 22:34:43 +0000
Source: cups
Source-Version: 2.4.7-1
Done: Thorsten Alteholz <debian@alteholz.de>

We believe that the bug you reported is fixed in the latest version of
cups, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 998004@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thorsten Alteholz <debian@alteholz.de> (supplier of updated cups package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 06 Oct 2023 20:16:49 +0200
Source: cups
Architecture: source
Version: 2.4.7-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Thorsten Alteholz <debian@alteholz.de>
Closes: 954974 971625 998004 1008053 1009146 1009147 1039983 1041466 1043331 1043470 1052419
Changes:
 cups (2.4.7-1) unstable; urgency=medium
 .
   * Update to new upstream version 2.4.7.
     (Closes: #1039983   this should have been fixed in 2.4.3)
     (Closes: #1041466   this should have been fixed in 2.4.3)
     (Closes: #1043331   this should have been fixed in 2.4.3)
     (Closes: #998004    this should have been fixed in 2.4.3)
     (Closes: #1008053   this should have been fixed in 2.4.3)
     (Closes: #1009146   this should have been fixed in 2.4.3)
     (Closes: #1009147   this should have been fixed in 2.4.3)
   * debian/watch: update watch file (Closes: #1043470)
                   (thanks a lot to t3b4in+2gxh764v647us@cs.email)
   * debian/rules: switch on testing again
   * debian/control: bump standard to 4.6.2 (no changes)
   * debian/cups-daemon.NEWS: reword last entry (Closes: #1052419)
                              (thanks to IOhannes m zmoelnig)
   * debian/local/apparmor-profile: add drop-in for cups-pdf as well
                                    (Closes: #954974)
   * Provide a cups.pc file. (Closes: #971625)
     (thanks a lot to Helmut Grohne for the patch)
   * update debian/*.lintian-overrides and use new syntax
Checksums-Sha1:
 cbc8bfafbffcdf91c3485d969c8d09bb95bf3c2f 3357 cups_2.4.7-1.dsc
 9c6155dfa367eee9a88ad08cf83b1dc6c446309f 8134809 cups_2.4.7.orig.tar.gz
 a2b411cdcf336ac0ba9b3f6d17377cc963bf7d26 228 cups_2.4.7.orig.tar.gz.asc
 925bced67d126a6dc1ce3586de2b58327c417240 383284 cups_2.4.7-1.debian.tar.xz
 01d9093d9e634e5bf609546ada19e8a41b4625b7 13522 cups_2.4.7-1_amd64.buildinfo
Checksums-Sha256:
 28a4e4dcbecb7ee3ddb8ba6883e09add5556f73e45bd6536e04b552bbffad8ef 3357 cups_2.4.7-1.dsc
 dd54228dd903526428ce7e37961afaed230ad310788141da75cebaa08362cf6c 8134809 cups_2.4.7.orig.tar.gz
 4a5f7d06dd1255248c0718111b86c8c40e56990c9c7ec497f4190d933e0691a4 228 cups_2.4.7.orig.tar.gz.asc
 8609ef2edd3f5142fb1dd3f6ae7a323b1a952a4a49cb3ae04aa7f31ef4f1bc75 383284 cups_2.4.7-1.debian.tar.xz
 75374e7a994ed757e71eeafba5daed63bd4966122c0ace02bfa7b025a85736b6 13522 cups_2.4.7-1_amd64.buildinfo
Files:
 d127d7414d397282312dabf9ea7b3c69 3357 net optional cups_2.4.7-1.dsc
 e0a5ddbf53dfad41da26fc1ef60b2256 8134809 net optional cups_2.4.7.orig.tar.gz
 aa1ef89b6837bf5742d0517c61dbe8d7 228 net optional cups_2.4.7.orig.tar.gz.asc
 176916b932730693d819bc6d68995d4f 383284 net optional cups_2.4.7-1.debian.tar.xz
 a151a50a14e07b7ec61bc6a7ec6bc882 13522 net optional cups_2.4.7-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQKnBAEBCgCRFiEEYgH7/9u94Hgi6ruWlvysDTh7WEcFAmUh3MZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYy
MDFGQkZGREJCREUwNzgyMkVBQkI5Njk2RkNBQzBEMzg3QjU4NDcTHGRlYmlhbkBh
bHRlaG9sei5kZQAKCRCW/KwNOHtYRwtaD/0RKUaUqgm//CZEZfRxvp7sra300U5U
sBCUcEwjL4NsLKks14EQpqt17zVsWQ34TWTA6wQ2m1zrp/z8hG5MiZQbna0yG1Ye
8cG7XK7EBkQZdimu+nsmBspMrfnuUpGEt4VOi8yN4qkVP2SvT/NV7bQd5L5d7upx
pOWNykuBFQDynanE4ZiFflG1IsbZVZAuaDMdV9jB5b2wzCCkE0r+eQBv+MaqlbpV
MWjw+1U411L3BKJmsj1GJSfb4LS4qjLpyhLC6LeLnM+RLR2P9D0/O12Z7FAo40yo
xR06k1s44lxjSXxvMlGqZkD3rleBrdTK5GJbz5/BKmXtBirg1hz0A4SxDChJNV3N
KBd8zruJ9WUxD+d13QMykmGpi/HAoVoP7jo27WVhAQPT3wlr6SiytqUIBE1EzU9T
jnFge8dezve7SP/QAKL5vDMXtNJq0qt/xrgwqrDpB/0J0XIfpy9qdtGxillU40/v
bSrC/jUtabcrttocXquzLVlHip375tNp+oTFK4Vki9xUKRzHaHsVUSg6EdDdzTnO
oGq0jbZOCnRnCA1GEG+ZSoI2flBHDT2hyvGo7F6LXl8+i6c3KyyyUyB3WtFpRdLo
aqB9wIIGtAKOhtogUD001XYEXC0mGpHsJdcfJUvD4nAR4qwrCJWJqfqBr25TDpRA
3ZOL1n51WHWuIQ==
=uG+d
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 10 Nov 2023 07:25:10 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Nov 17 21:50:59 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.