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

Debian Bug report logs - #1028561
u-a: Counting mistake in --config output terminal returns

version graph

Package: dpkg; Maintainer for dpkg is Dpkg Developers <debian-dpkg@lists.debian.org>; Source for dpkg is src:dpkg (PTS, buildd, popcon).

Reported by: Daniel B <p2abc@icloud.com>

Date: Thu, 12 Jan 2023 20:12:02 UTC

Severity: minor

Found in version 1.21.9kali1

Reply or subscribe to this bug.

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


Report forwarded to debian-bugs-dist@lists.debian.org, p2abc@icloud.com, Dpkg Developers <debian-dpkg@lists.debian.org>:
Bug#1028561; Package dpkg. (Thu, 12 Jan 2023 20:12:04 GMT) (full text, mbox, link).


Acknowledgement sent to Daniel B <p2abc@icloud.com>:
New Bug report received and forwarded. Copy sent to p2abc@icloud.com, Dpkg Developers <debian-dpkg@lists.debian.org>. (Thu, 12 Jan 2023 20:12:04 GMT) (full text, mbox, link).


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

From: Daniel B <p2abc@icloud.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: /usr/bin/update-alternatives: Counting mistake in terminal returns
Date: Thu, 12 Jan 2023 21:08:18 +0100
Package: dpkg
Version: 1.21.9kali1
Severity: minor
File: /usr/bin/update-alternatives
X-Debbugs-Cc: p2abc@icloud.com

Hey there,

when doing "sudo update-alternatives --config x-session-manager" the ruturn is (on German, sorry...):

> Es gibt 3 Auswahlmöglichkeiten für die Alternative x-session-manager (welche /usr/bin/x-session-manager bereitstellen).
> 
>   Auswahl      Pfad                      Priorität Status
> ------------------------------------------------------------
> * 0            /usr/bin/startxfce4        50        automatischer Modus
>   1            /usr/bin/startplasma-x11   40        manueller Modus
>   2            /usr/bin/startxfce4        50        manueller Modus
>   3            /usr/bin/xfce4-session     40        manueller Modus
> 
> Drücken Sie die Eingabetaste, um die aktuelle Wahl[*] beizubehalten,
> oder geben Sie die Auswahlnummer ein: 

It tells me there's 3 choices. But it's 4. It would be 3 *alternatives* to my current *choice*.
It should be something like "Es gibt 3 alternative Auswahlmöglichkeiten", adding "alternative",
which would translate to "There are 3 alternative choices [...]".

(Freshly installed Kali Linux, was going to switch from xfce to plasma)

Thx for ur work :)


-- Package-specific info:
This system uses merged-usr-via-aliased-dirs, going behind dpkg's
back, breaking its core assumptions. This can cause silent file
overwrites and disappearances, and its general tools misbehavior.
See <https://wiki.debian.org/Teams/Dpkg/FAQ#broken-usrmerge>.

-- System Information:
Distributor ID:	Kali
Description:	Kali GNU/Linux Rolling
Release:	2022.4
Codename:	kali-rolling
Architecture: x86_64

Kernel: Linux 6.0.0-kali3-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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+b1
ii  libc6        2.36-4
ii  liblzma5     5.2.7-0.1
ii  libselinux1  3.4-1+b3
ii  tar          1.34+dfsg-1
ii  zlib1g       1:1.2.11.dfsg-4.1

dpkg recommends no packages.

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

-- no debconf information

Changed Bug title to 'u-a: Counting mistake in --config output terminal returns' from '/usr/bin/update-alternatives: Counting mistake in terminal returns'. Request was from Guillem Jover <guillem@debian.org> to control@bugs.debian.org. (Wed, 07 Aug 2024 09:39:05 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 Jul 28 12:43:13 2025; Machine Name: berlioz

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.