[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1108505: apt outputs logical-or vertical bar in recommended packages section



Package: apt
Version: 3.0.2
Severity: normal
X-Debbugs-Cc: lucent@gmail.com

Dear Maintainer,

`apt install git devscripts` in a clean trixie dist pbuilder environment and
see this:

...
Recommended packages:
  dctrl-tools                lintian          unzip
pristine-tar                libxstring-perl
  dput                       lzip             wget                       less
libdata-dump-perl
  | dupload                  python3-apt      | curl                     ssh-
client                  libhtml-form-perl
  libdistro-info-perl        python3-debian   debian-keyring             gnupg
libhttp-daemon-perl
  libgit-wrapper-perl        python3-magic    debian-tag2upload-keyring
libgpg-error-l10n           libmailtools-perl
  liblist-compare-perl       python3-unidiff  equivs
libhtml-format-perl         python3-argcomplete
  libstring-shellquote-perl  python3-xdg      libgitlab-api-v4-perl      libio-
compress-brotli-perl  sopv-doc
  licensecheck               strace           libsoap-lite-perl
libnamespace-clean-perl
...

Are those logical-or vertical bar in output intentional? Looks like a parsing
bug to me, because of the column display the logical condition has lost context
and does not make sense to show the user. If you want to show these in a
meaningful way then after all the n-columns output of the simple non-logic-
encumbered keys, have a single-column listing one-per-line of the more
complicated keys.


-- Package-specific info:

-- (no /etc/apt/preferences present) --


-- (no /etc/apt/preferences.d/* present) --


-- (no /etc/apt/sources.list present) --


-- (/etc/apt/sources.list.d/debian.sources present, but not submitted) --


-- (/etc/apt/sources.list.d/debianexperimental.sources present, but not submitted) --


-- (/etc/apt/sources.list.d/debiantesting.sources present, but not submitted) --


-- (/etc/apt/sources.list.d/debianunstable.sources.disabled present, but not submitted) --


-- (/etc/apt/sources.list.d/docker-trixie.sources present, but not submitted) --


-- (/etc/apt/sources.list.d/element.sources present, but not submitted) --


-- (/etc/apt/sources.list.d/pbuilder-result.sources.disabled present, but not submitted) --


-- (/etc/apt/sources.list.d/qgis.sources.disabled present, but not submitted) --


-- (/etc/apt/sources.list.d/signal-xenial.sources present, but not submitted) --


-- (/etc/apt/sources.list.d/winehq-trixie.sources present, but not submitted) --


-- System Information:
Debian Release: 13.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.31-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (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 apt depends on:
ii  adduser                 3.152
ii  base-passwd             3.6.7
ii  debian-archive-keyring  2025.1
ii  libapt-pkg7.0           3.0.2
ii  libc6                   2.41-9
ii  libgcc-s1               14.2.0-19
ii  libseccomp2             2.6.0-2
ii  libssl3t64              3.5.0-2
ii  libstdc++6              14.2.0-19
ii  libsystemd0             257.6-1
ii  sqv                     1.3.0-3

Versions of packages apt recommends:
ii  ca-certificates  20250419

Versions of packages apt suggests:
pn  apt-doc         <none>
ii  dpkg-dev        1.22.20
ii  gnupg           2.4.7-21
ii  gnupg2          2.4.7-21
ii  powermgmt-base  1.38
ii  synaptic        0.91.7

-- no debconf information


Reply to: