Activity log for bug #1645815

Date Who What changed Old value New value Message
2016-11-29 18:01:47 John Lenton bug added bug
2016-11-29 18:02:50 Launchpad Janitor branch linked lp:~chipaca/apt/filedir-no-glob
2016-11-29 18:13:16 Julian Andres Klode apt (Ubuntu): status New Incomplete
2016-11-29 18:18:04 Julian Andres Klode apt (Ubuntu): status Incomplete Invalid
2016-11-30 10:15:05 Julian Andres Klode apt (Ubuntu): status Invalid Triaged
2016-12-18 01:53:48 Launchpad Janitor apt (Ubuntu): status Triaged Fix Released
2016-12-18 01:53:48 Launchpad Janitor cve linked 2016-1252
2017-01-16 22:33:10 Mathew Hodson cve unlinked 2016-1252
2017-02-22 17:18:36 Julian Andres Klode nominated for series Ubuntu Yakkety
2017-02-22 17:18:36 Julian Andres Klode bug task added apt (Ubuntu Yakkety)
2017-02-22 17:18:36 Julian Andres Klode nominated for series Ubuntu Xenial
2017-02-22 17:18:36 Julian Andres Klode bug task added apt (Ubuntu Xenial)
2017-02-22 17:18:59 Julian Andres Klode apt (Ubuntu Xenial): status New Triaged
2017-02-22 17:19:01 Julian Andres Klode apt (Ubuntu Yakkety): status New Triaged
2017-02-28 13:27:13 Julian Andres Klode apt (Ubuntu Xenial): status Triaged In Progress
2017-02-28 13:27:15 Julian Andres Klode apt (Ubuntu Yakkety): status Triaged In Progress
2017-03-08 13:43:37 Chris J Arges apt (Ubuntu Xenial): status In Progress Fix Committed
2017-03-08 13:43:42 Chris J Arges bug added subscriber Ubuntu Stable Release Updates Team
2017-03-08 13:43:43 Chris J Arges bug added subscriber SRU Verification
2017-03-08 13:43:50 Chris J Arges tags amd64 apport-bug xenial amd64 apport-bug verification-needed xenial
2017-03-16 09:39:57 Julian Andres Klode description this fails: $ touch xyzzy.deb $ apt install xyzzy<tab> because the completion support for install is using _filedir wrong. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: apt 1.2.15 ProcVersionSignature: Ubuntu 4.4.0-47.68-generic 4.4.24 Uname: Linux 4.4.0-47-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 CurrentDesktop: Unity Date: Tue Nov 29 17:51:57 2016 InstallationDate: Installed on 2016-07-05 (147 days ago) InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1) SourcePackage: apt UpgradeStatus: No upgrade log present (probably fresh install) [Impact] Previously apt's bash completion was such that, given $ mkdir xyzzz $ touch xyzzy.deb xyzzx.two.deb you'd get $ apt install xyzz<tab> xyzzx.two.deb xyzzz/ $ apt install /tmp/foo/xyzz<tab> xyzzx.two.deb xyzzz/ this is inconsistent (xyzzx.two.deb is listed but not xyzzy.deb), but worse than that it offered things that apt would not actually recognise as candidates for install: $ sudo apt install xyzzx.two.deb Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package xyzzx.two.deb E: Couldn't find any package by glob 'xyzzx.two.deb' E: Couldn't find any package by regex 'xyzzx.two.deb' [Test case] With this small (trival, really) change, apt's bash completion should only offer things apt understands, and won't recquire an aditional period in the filename to offer it: $ apt install xyzz<tab>^C $ # (no completions!) $ apt install ./xyzz<tab> xyzzx.two.deb xyzzy.deb xyzzz/ $ apt install /tmp/foo/xyzz xyzzx.two.deb xyzzy.deb xyzzz/ [Regression potential] Only the expansion of filenames in the completion is affected: - _filedir "*.deb" + if [[ "$cur" == ./* || "$cur" == /* ]]; then + _filedir "deb" + fi so it's unlikely to introduce any regression. [Original bug report] this fails: $ touch xyzzy.deb $ apt install xyzzy<tab> because the completion support for install is using _filedir wrong. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: apt 1.2.15 ProcVersionSignature: Ubuntu 4.4.0-47.68-generic 4.4.24 Uname: Linux 4.4.0-47-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 CurrentDesktop: Unity Date: Tue Nov 29 17:51:57 2016 InstallationDate: Installed on 2016-07-05 (147 days ago) InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1) SourcePackage: apt UpgradeStatus: No upgrade log present (probably fresh install)
2017-03-16 09:43:08 Julian Andres Klode tags amd64 apport-bug verification-needed xenial amd64 apport-bug verification-done xenial
2017-03-22 12:23:50 Chris J Arges apt (Ubuntu Yakkety): status In Progress Fix Committed
2017-03-22 12:23:56 Chris J Arges tags amd64 apport-bug verification-done xenial amd64 apport-bug xenial
2017-03-22 12:23:57 Chris J Arges tags amd64 apport-bug xenial amd64 apport-bug verification-needed xenial
2017-03-27 15:16:44 Jon Grimm tags amd64 apport-bug verification-needed xenial amd64 apport-bug verification-done-xenial verification-needed-yakkety xenial
2017-04-21 09:33:25 Julian Andres Klode tags amd64 apport-bug verification-done-xenial verification-needed-yakkety xenial amd64 apport-bug verification-done-xenial verification-done-yakkety xenial
2017-04-25 17:56:25 Launchpad Janitor apt (Ubuntu Yakkety): status Fix Committed Fix Released
2017-04-25 17:56:41 Steve Langasek removed subscriber Ubuntu Stable Release Updates Team
2017-04-25 18:12:02 Launchpad Janitor apt (Ubuntu Xenial): status Fix Committed Fix Released