Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1189037

Bug#1065429: dpkg -s: spurious error "dpkg-query: error: --status needs a valid package name"

From Vincent Lefevre <vincent@vinc17.net>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.dpkg
Subject Bug#1065429: dpkg -s: spurious error "dpkg-query: error: --status needs a valid package name"
Date 2024-03-04 14:00 +0100
Message-ID <Ieg5b-emq0-9@gated-at.bofh.it> (permalink)
References <Ieg5b-emq0-1@gated-at.bofh.it> <Ieg5b-emq0-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On 2024-03-04 13:47:00 +0100, Vincent Lefevre wrote:
> I get the following error:
> 
> cventin:~> dpkg -s libc6-dev
> dpkg-query: error: --status needs a valid package name but 'libc6-dev' is not: ambiguous package name 'libc6-dev' with more than one installed instance

Wrong copy-paste (to match what is given below), but this is the
same error:

cventin:~> dpkg -s libnsl-dev
dpkg-query: error: --status needs a valid package name but 'libnsl-dev' is not: ambiguous package name 'libnsl-dev' with more than one installed instance

> while this is a valid package name: with an "apt" command, I get:
> 
> The following packages were automatically installed and are no longer required:
>   libnsl-dev libnsl-dev:i386 libnsl2:i386 libtirpc-dev libtirpc-dev:i386
>   ^^^^^^^^^^
>   libtirpc3:i386
> [...]
> 
> The package name is listed above.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1065429: dpkg -s: spurious error "dpkg-query: error: --status needs a valid package name" Vincent Lefevre <vincent@vinc17.net> - 2024-03-04 14:00 +0100
  Bug#1065429: dpkg -s: spurious error "dpkg-query: error: --status needs a valid package name" Vincent Lefevre <vincent@vinc17.net> - 2024-03-04 14:00 +0100
  Bug#1065429: dpkg -s: spurious error "dpkg-query: error: --status needs a valid package name" Vincent Lefevre <vincent@vinc17.net> - 2024-03-07 04:30 +0100

csiph-web