[Bug 1876495] Re: bash-completion incorrectly shows source package names for APT
Julian Andres Klode
julian.klode at canonical.com
Sat May 2 18:12:20 UTC 2020
source is certainly a bad example, as it does take source names. But
yes, this is a minor inconvenience sometimes.
This needs quite a bit of work to fix, in a coordinated fashion, across
the two packages, and I'm not sure it's worth it. Probably needs some
investigation whether we already return some other invalid names.
** Changed in: bash-completion (Ubuntu)
Importance: Undecided => Medium
** Changed in: bash-completion (Ubuntu)
Importance: Medium => Low
** Changed in: apt (Ubuntu)
Importance: Undecided => Low
** Changed in: bash-completion (Ubuntu)
Status: New => Triaged
** Changed in: apt (Ubuntu)
Status: New => Triaged
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1876495
Title:
bash-completion incorrectly shows source package names for APT
Status in apt package in Ubuntu:
Triaged
Status in bash-completion package in Ubuntu:
Triaged
Bug description:
Steps to reproduce:
1. Have Ubuntu 20.04 LTS installed
2. Open terminal, enter one of the commands below
2a. apt install brisk<Tab>
2b. apt source brisk-menu<Tab>
2c. apt-get install brisk<Tab>
2d. apt-get source brisk-menu<Tab>
2e. apt-cache policy brisk<Tab>
Expected results:
* The bash-completion should not lead to package name as there are no binary packages named with starting part "brisk" (see https://packages.ubuntu.com/search?suite=all&searchon=names&keywords=brisk )
Actual results:
* all commands below get completed to the name of source package - in this example named "brisk-menu"
(see https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&keywords=brisk&searchon=sourcenames). This is absolutely unexpected, as user can not really install this package in binary form.
ProblemType: Bug
DistroRelease: Ubuntu Kylin 20.04
Package: bash-completion 1:2.10-1ubuntu1 [origin: Ubuntu]
ProcVersionSignature: Ubuntu 5.4.0-28.32-lowlatency 5.4.30
Uname: Linux 5.4.0-28-lowlatency x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: MATE
Date: Sat May 2 20:35:48 2020
Dependencies:
InstallationDate: Installed on 2020-04-22 (9 days ago)
InstallationMedia: Ubuntu-MATE 20.04 LTS "Focal Fossa" - Release amd64 (20200422)
PackageArchitecture: all
SourcePackage: bash-completion
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1876495/+subscriptions
More information about the foundations-bugs
mailing list