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


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

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-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Package: dpkg
Version: 1.22.5
Severity: important

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

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.

"apt-cache show libc6-dev" also lists this package.

-- Package-specific info:

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.6.15-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dpkg depends on:
ii  libbz2-1.0   1.0.8-5+b2
ii  libc6        2.37-15
ii  liblzma5     5.6.0-0.2
ii  libmd0       1.1.0-2
ii  libselinux1  3.5-2
ii  libzstd1     1.5.5+dfsg2-2
ii  tar          1.35+dfsg-3
ii  zlib1g       1:1.3.dfsg-3+b1

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt            2.7.12
pn  debsig-verify  <none>

-- no debconf information

-- 
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 — 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