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

Bug#1061139: apt: showsrc does not respect `-t'



Package: apt
Version: 2.6.0-1deepin5
Severity: normal
X-Debbugs-Cc: sweetyfish@deepin.org

Hi,

I've noticed that `apt showsrc` doesn't seem to respect the -t=target_release option.
When running `apt -t nonexist showsrc somepackage`, it prints one, which
is not the expected behavior.

apt should either support the `target_release` option, or exit failure
without outputting an entry similar to `apt show`

	E: Command line option 't' [from -t] is not understood in combination with the other options.

This bug may relate to #613664 and #776366.

Best regards,
Tianyu Chen @ deepin


-- System Information:
Distributor ID:	Deepin
Description:	Deepin 23
Release:	23
Codename:	beige
Architecture: x86_64

Kernel: Linux 6.6.7-amd64-desktop-hwe (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), LANGUAGE=zh_CN
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.131-1deepin2
ii  base-passwd     3.6.3
ii  deepin-keyring  2024.01.16
ii  gpgv            2.2.40-1.1
ii  libapt-pkg6.0   2.6.0-1deepin5
ii  libc6           2.37-12deepin2
ii  libgcc-s1       13.2.0-3deepin
ii  libgnutls30     3.7.9-2
ii  libseccomp2     2.5.4-2deepin1
ii  libstdc++6      13.2.0-3deepin
ii  libsystemd0     254.5-1

Versions of packages apt recommends:
ii  ca-certificates  20230311

Versions of packages apt suggests:
ii  apt-doc         2.6.0-1deepin5
ii  aptitude        0.8.13.1-5deepin
ii  dpkg-dev        1.21.22deepin1
ii  gnupg           2.2.40-1.1
pn  powermgmt-base  <none>
ii  synaptic        0.91.3

-- no debconf information


Reply to: