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


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

Bug#1119906: dselect: Replacing available packages info, using -.

From Guillem Jover <guillem@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.dpkg
Subject Bug#1119906: dselect: Replacing available packages info, using -.
Date 2025-11-08 18:40 +0100
Message-ID <LOV4R-bsqx-9@gated-at.bofh.it> (permalink)
References <LMCSJ-9S3A-5@gated-at.bofh.it> <LMCSJ-9S3A-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Hi!

On Sun, 2025-11-02 at 11:41:15 +0200, Martin-Éric Racine wrote:
> Package: dselect
> Version: 1.22.21
> Severity: normal
> X-Debbugs-Cc: martin-eric.racine@iki.fi

> dselect displays the above on a system that has either an empty or
> non-existent /etc/apt/sources.list file. Meanwhile dselects' APT
> method obviously can use /etc/apt/sources.list.d/*.[list|sources]
> as normal. However, the above prompt is misleading.

> Perhaps dselect should be updated to list all files found in
> /etc/apt/sources.list[.d/*] and omit empty files?

This is not related to the apt source.list files or their format. This
is a recent change that switched the «dpkg --update-avail» invocation
to get its input from a «apt-cache dumpavail» pipe instead of having
to use a temporary file, which nowadays can be large.

  https://salsa.debian.org/apt-team/apt/-/commit/4d6fcb1dddd5654e7ba8bfa2705bbb4f2c4a6884

I've updated the information message in dpkg to print in this case the
following text instead:

  ,---
  Replacing available packages information from <standard input>.
  `---

Which should be more clear, but I'm not sure whether it would help
with the confusion reported here? Otherwise, except for completely
suppressing the message from the apt's dselect method (in which case
this would need to be reassigned into apt), there's not much I think
can be done.

Thanks,
Guillem

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


Thread

Bug#1119906: dselect: Replacing available packages info, using -. Martin-Éric Racine <martin-eric.racine@iki.fi> - 2025-11-02 10:50 +0100
  Bug#1119906: dselect: Replacing available packages info, using -. Guillem Jover <guillem@debian.org> - 2025-11-08 18:40 +0100
  Bug#1119906: dselect: Replacing available packages info, using -. Guillem Jover <guillem@debian.org> - 2025-11-19 04:20 +0100
  Bug#1119906: dselect: Replacing available packages info, using -. Guillem Jover <guillem@debian.org> - 2025-12-18 23:40 +0100

csiph-web