[Touch-packages] [Bug 1645815] Re: apt install of local debs does not tab-complete

2017-04-25 Thread Launchpad Bug Tracker
This bug was fixed in the package apt - 1.2.20

---
apt (1.2.20) xenial; urgency=medium

  * Microrelease covering fixes of 1.4~rc2 (LP: #1668285)

  [ David Kalnischkies ]
  * don't install new deps of candidates for kept back pkgs
  * keep Release.gpg on untrusted to trusted IMS-Hit (Closes: 838779)
(LP: #1657440)
  * reset HOME, USER(NAME), TMPDIR & SHELL in DropPrivileges (Closes: 842877)
  * add TMP/TEMP/TEMPDIR to the TMPDIR DropPrivileges dance
  * let {dsc,tar,diff}-only implicitly enable download-only
  * don't show update stats if cache generation is disabled
  * don't lock dpkg in 'apt-get clean'
  * don't lock dpkg in update commands
  * avoid validate/delete/load race in cache generation
  * remove 'old' FAILED files in the next acquire call (Closes: 846476)
  * stop rred from leaking debug messages on recovered errors (Closes: #850759)

  [ Paul Wise ]
  * show output as documented for APT::Periodic::Verbose 2 (Closes: 845599)

  [ John R. Lenton ]
  * bash-completion: Only complete understood file paths for install
(LP: #1645815)

  [ Lukasz Kawczynski ]
  * Honour Acquire::ForceIPv4/6 in the https transport

  [ Julian Andres Klode ]
  * basehttp: Only read Content-Range on 416 and 206 responses (LP: #1657567)
  * Only merge acquire items with the same meta key (Closes: #838441)
  * Do not package names representing .dsc/.deb/... files (Closes: #854794)
  * Don't use -1 fd and AT_SYMLINK_NOFOLLOW for faccessat()
Thanks to James Clarke for debugging these issues

 -- Julian Andres Klode   Mon, 27 Feb 2017 15:29:18
+0100

** Changed in: apt (Ubuntu Xenial)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1645815

Title:
  apt install of local debs does not tab-complete

Status in apt package in Ubuntu:
  Fix Released
Status in apt source package in Xenial:
  Fix Released
Status in apt source package in Yakkety:
  Fix Released

Bug description:
  [Impact]
  Previously apt's bash completion was such that, given

  $ mkdir xyzzz
  $ touch xyzzy.deb xyzzx.two.deb

  you'd get

  $ apt install xyzz
  xyzzx.two.deb  xyzzz/
  $ apt install /tmp/foo/xyzz
  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^C
  $ # (no completions!)
  $ apt install ./xyzz
  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

  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1645815/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1645815] Re: apt install of local debs does not tab-complete

2017-04-25 Thread Launchpad Bug Tracker
This bug was fixed in the package apt - 1.3.5

---
apt (1.3.5) yakkety; urgency=medium

  * Microrelease covering important fixes of 1.4~rc2 (LP: #1668280)

  [ David Kalnischkies ]
  * don't install new deps of candidates for kept back pkgs
  * keep Release.gpg on untrusted to trusted IMS-Hit (Closes: 838779)
(LP: #1657440)
  * reset HOME, USER(NAME), TMPDIR & SHELL in DropPrivileges (Closes: 842877)
  * add TMP/TEMP/TEMPDIR to the TMPDIR DropPrivileges dance
  * react to trig-pend only if we have nothing else to do
  * correct cross & disappear progress detection
  * improve arch-unqualified dpkg-progress parsing
  * don't perform implicit crossgrades involving M-A:same
  * do not configure unconfigured to be removed packages
  * skip unconfigure for unconfigured to-be removed pkgs
  * get pdiff files from the same mirror as the index
  * let {dsc,tar,diff}-only implicitly enable download-only
  * ensure generation of valid EDSP error stanzas
  * fix minimum pkgs option for dpkg --recursive usage
  * don't show update stats if cache generation is disabled
  * don't lock dpkg in 'apt-get clean'
  * don't lock dpkg in update commands
  * avoid validate/delete/load race in cache generation
  * fix 'install --no-download' mode
  * remove 'old' FAILED files in the next acquire call (Closes: 846476)
  * stop rred from leaking debug messages on recovered errors (Closes: #850759)

  [ Edgar Fuß ]
  * http: clear content before reporting the failure (Closes: #465572)

  [ Paul Wise ]
  * show output as documented for APT::Periodic::Verbose 2 (Closes: 845599)

  [ John R. Lenton ]
  * bash-completion: Only complete understood file paths for install
(LP: #1645815)

  [ Lukasz Kawczynski ]
  * Honour Acquire::ForceIPv4/6 in the https transport

  [ Julian Andres Klode ]
  * basehttp: Only read Content-Range on 416 and 206 responses (LP: #1657567)
  * Only merge acquire items with the same meta key (Closes: #838441)
  * Do not package names representing .dsc/.deb/... files (Closes: #854794)
  * Don't use -1 fd and AT_SYMLINK_NOFOLLOW for faccessat()
Thanks to James Clarke for debugging these issues
  * CMake: Install statvfs.h to include/sys, not just include/

 -- Julian Andres Klode   Mon, 27 Feb 2017 15:02:40
+0100

** Changed in: apt (Ubuntu Yakkety)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1645815

Title:
  apt install of local debs does not tab-complete

Status in apt package in Ubuntu:
  Fix Released
Status in apt source package in Xenial:
  Fix Committed
Status in apt source package in Yakkety:
  Fix Released

Bug description:
  [Impact]
  Previously apt's bash completion was such that, given

  $ mkdir xyzzz
  $ touch xyzzy.deb xyzzx.two.deb

  you'd get

  $ apt install xyzz
  xyzzx.two.deb  xyzzz/
  $ apt install /tmp/foo/xyzz
  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^C
  $ # (no completions!)
  $ apt install ./xyzz
  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

  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1645815/+subscriptions

--

[Touch-packages] [Bug 1645815] Re: apt install of local debs does not tab-complete

2017-04-21 Thread Julian Andres Klode
Verified broken in 1.3.4, and fixed in 1.3.5.

** Tags removed: verification-needed-yakkety
** Tags added: verification-done-yakkety

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1645815

Title:
  apt install of local debs does not tab-complete

Status in apt package in Ubuntu:
  Fix Released
Status in apt source package in Xenial:
  Fix Committed
Status in apt source package in Yakkety:
  Fix Committed

Bug description:
  [Impact]
  Previously apt's bash completion was such that, given

  $ mkdir xyzzz
  $ touch xyzzy.deb xyzzx.two.deb

  you'd get

  $ apt install xyzz
  xyzzx.two.deb  xyzzz/
  $ apt install /tmp/foo/xyzz
  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^C
  $ # (no completions!)
  $ apt install ./xyzz
  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

  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1645815/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1645815] Re: apt install of local debs does not tab-complete

2017-03-27 Thread Jon Grimm
** Tags removed: verification-needed
** Tags added: verification-done-xenial verification-needed-yakkety

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1645815

Title:
  apt install of local debs does not tab-complete

Status in apt package in Ubuntu:
  Fix Released
Status in apt source package in Xenial:
  Fix Committed
Status in apt source package in Yakkety:
  Fix Committed

Bug description:
  [Impact]
  Previously apt's bash completion was such that, given

  $ mkdir xyzzz
  $ touch xyzzy.deb xyzzx.two.deb

  you'd get

  $ apt install xyzz
  xyzzx.two.deb  xyzzz/
  $ apt install /tmp/foo/xyzz
  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^C
  $ # (no completions!)
  $ apt install ./xyzz
  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

  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1645815/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1645815] Re: apt install of local debs does not tab-complete

2017-03-22 Thread Chris J Arges
Hello John, or anyone else affected,

Accepted apt into yakkety-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/apt/1.3.5 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: apt (Ubuntu Yakkety)
   Status: In Progress => Fix Committed

** Tags removed: verification-done

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1645815

Title:
  apt install of local debs does not tab-complete

Status in apt package in Ubuntu:
  Fix Released
Status in apt source package in Xenial:
  Fix Committed
Status in apt source package in Yakkety:
  Fix Committed

Bug description:
  [Impact]
  Previously apt's bash completion was such that, given

  $ mkdir xyzzz
  $ touch xyzzy.deb xyzzx.two.deb

  you'd get

  $ apt install xyzz
  xyzzx.two.deb  xyzzz/
  $ apt install /tmp/foo/xyzz
  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^C
  $ # (no completions!)
  $ apt install ./xyzz
  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

  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1645815/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1645815] Re: apt install of local debs does not tab-complete

2017-03-16 Thread Julian Andres Klode
Verified in 1.2.20

** Description changed:

+ [Impact]
+ Previously apt's bash completion was such that, given
+ 
+ $ mkdir xyzzz
+ $ touch xyzzy.deb xyzzx.two.deb
+ 
+ you'd get
+ 
+ $ apt install xyzz
+ xyzzx.two.deb  xyzzz/
+ $ apt install /tmp/foo/xyzz
+ 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^C
+ $ # (no completions!)
+ $ apt install ./xyzz
+ 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
  
  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)

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1645815

Title:
  apt install of local debs does not tab-complete

Status in apt package in Ubuntu:
  Fix Released
Status in apt source package in Xenial:
  Fix Committed
Status in apt source package in Yakkety:
  In Progress

Bug description:
  [Impact]
  Previously apt's bash completion was such that, given

  $ mkdir xyzzz
  $ touch xyzzy.deb xyzzx.two.deb

  you'd get

  $ apt install xyzz
  xyzzx.two.deb  xyzzz/
  $ apt install /tmp/foo/xyzz
  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^C
  $ # (no completions!)
  $ apt install ./xyzz
  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

  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1645815/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net

[Touch-packages] [Bug 1645815] Re: apt install of local debs does not tab-complete

2017-03-08 Thread Chris J Arges
Hello John, or anyone else affected,

Accepted apt into xenial-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/apt/1.2.20 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: apt (Ubuntu Xenial)
   Status: In Progress => Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1645815

Title:
  apt install of local debs does not tab-complete

Status in apt package in Ubuntu:
  Fix Released
Status in apt source package in Xenial:
  Fix Committed
Status in apt source package in Yakkety:
  In Progress

Bug description:
  this fails:

  $ touch xyzzy.deb
  $ apt install xyzzy

  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1645815/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1645815] Re: apt install of local debs does not tab-complete

2017-03-02 Thread Łukasz Zemczak
Since this (and a few other) bug is mentioned in the SRU changelog,
please update the description to include the SRU template. There seems
to be a master bug for the SRU, but each bug should *at least* have a
clearly written test-case. Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1645815

Title:
  apt install of local debs does not tab-complete

Status in apt package in Ubuntu:
  Fix Released
Status in apt source package in Xenial:
  In Progress
Status in apt source package in Yakkety:
  In Progress

Bug description:
  this fails:

  $ touch xyzzy.deb
  $ apt install xyzzy

  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1645815/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1645815] Re: apt install of local debs does not tab-complete

2017-02-28 Thread Julian Andres Klode
** Changed in: apt (Ubuntu Xenial)
   Status: Triaged => In Progress

** Changed in: apt (Ubuntu Yakkety)
   Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1645815

Title:
  apt install of local debs does not tab-complete

Status in apt package in Ubuntu:
  Fix Released
Status in apt source package in Xenial:
  In Progress
Status in apt source package in Yakkety:
  In Progress

Bug description:
  this fails:

  $ touch xyzzy.deb
  $ apt install xyzzy

  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1645815/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1645815] Re: apt install of local debs does not tab-complete

2017-02-22 Thread Julian Andres Klode
Queued for 1.2.20:

 https://github.com/Debian/apt/compare/1.2.19...julian-
klode:1.2.y?expand=1

Queued for 1.3.5:

 https://github.com/Debian/apt/compare/1.3.4...julian-
klode:1.3.y?expand=1


** Also affects: apt (Ubuntu Yakkety)
   Importance: Undecided
   Status: New

** Also affects: apt (Ubuntu Xenial)
   Importance: Undecided
   Status: New

** Changed in: apt (Ubuntu Xenial)
   Status: New => Triaged

** Changed in: apt (Ubuntu Yakkety)
   Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1645815

Title:
  apt install of local debs does not tab-complete

Status in apt package in Ubuntu:
  Fix Released
Status in apt source package in Xenial:
  Triaged
Status in apt source package in Yakkety:
  Triaged

Bug description:
  this fails:

  $ touch xyzzy.deb
  $ apt install xyzzy

  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1645815/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1645815] Re: apt install of local debs does not tab-complete

2017-01-16 Thread Mathew Hodson
** CVE removed: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2016-1252

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1645815

Title:
  apt install of local debs does not tab-complete

Status in apt package in Ubuntu:
  Fix Released

Bug description:
  this fails:

  $ touch xyzzy.deb
  $ apt install xyzzy

  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1645815/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1645815] Re: apt install of local debs does not tab-complete

2016-12-17 Thread Launchpad Bug Tracker
This bug was fixed in the package apt - 1.4~beta2

---
apt (1.4~beta2) unstable; urgency=high

  [ John R. Lenton ]
  * bash-completion: Only complete understood file paths for install
(LP: #1645815)

  [ Julian Andres Klode ]
  * SECURITY UPDATE: gpgv: Check for errors when splitting files (CVE-2016-1252)
Thanks to Jann Horn, Google Project Zero for reporting the issue
(LP: #1647467)
  * gpgv: Flush the files before checking for errors

 -- Julian Andres Klode   Thu, 08 Dec 2016 15:21:16
+0100

** Changed in: apt (Ubuntu)
   Status: Triaged => Fix Released

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2016-1252

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1645815

Title:
  apt install of local debs does not tab-complete

Status in apt package in Ubuntu:
  Fix Released

Bug description:
  this fails:

  $ touch xyzzy.deb
  $ apt install xyzzy

  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1645815/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1645815] Re: apt install of local debs does not tab-complete

2016-11-30 Thread Julian Andres Klode
OK, we triaged this further on github. Reopening here, so we can track
progress on the distro side as well.

** Changed in: apt (Ubuntu)
   Status: Invalid => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1645815

Title:
  apt install of local debs does not tab-complete

Status in apt package in Ubuntu:
  Triaged

Bug description:
  this fails:

  $ touch xyzzy.deb
  $ apt install xyzzy

  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1645815/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1645815] Re: apt install of local debs does not tab-complete

2016-11-29 Thread Julian Andres Klode
Actually it seeAnd it seems the completion is working correctly:

(1) Without a leading ./, only package names are used

# apt install xy
xye   xye-data  xymon xymon-client  xyscan

(2) With ./, only file names are used

# apt install ./x
xyzzy.deb



ms the completion is working correctly:

(1) Without a leading ./, only package names are used

# apt install xy
xye   xye-data  xymon xymon-client  xyscan

(2) With ./, only file names are used

# apt install ./x
xyzzy.deb




** Changed in: apt (Ubuntu)
   Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1645815

Title:
  apt install of local debs does not tab-complete

Status in apt package in Ubuntu:
  Invalid

Bug description:
  this fails:

  $ touch xyzzy.deb
  $ apt install xyzzy

  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1645815/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1645815] Re: apt install of local debs does not tab-complete

2016-11-29 Thread Julian Andres Klode
The completion is still wrong anyway: apt only accepts ./package.deb,
not package.deb. And it seems to work here as it.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1645815

Title:
  apt install of local debs does not tab-complete

Status in apt package in Ubuntu:
  Invalid

Bug description:
  this fails:

  $ touch xyzzy.deb
  $ apt install xyzzy

  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1645815/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1645815] Re: apt install of local debs does not tab-complete

2016-11-29 Thread Julian Andres Klode
Actually:

jak@jak-x230:~/Downloads$ ls *.deb
AdbeRdr9.5.5-1_i386linux_enu.deb  debhelper_9.20160115ubuntu3_all.deb
jak@jak-x230:~/Downloads$ _filedir "deb"
jak@jak-x230:~/Downloads$ echo $_
deb
jak@jak-x230:~/Downloads$ _filedir "*.deb"
jak@jak-x230:~/Downloads$ echo $_
AdbeRdr9.5.5-1_i386linux_enu.deb debhelper_9.20160115ubuntu3_all.deb


So, it seems you are wrong.

** Changed in: apt (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1645815

Title:
  apt install of local debs does not tab-complete

Status in apt package in Ubuntu:
  Invalid

Bug description:
  this fails:

  $ touch xyzzy.deb
  $ apt install xyzzy

  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1645815/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1645815] Re: apt install of local debs does not tab-complete

2016-11-29 Thread Launchpad Bug Tracker
** Branch linked: lp:~chipaca/apt/filedir-no-glob

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1645815

Title:
  apt install of local debs does not tab-complete

Status in apt package in Ubuntu:
  Incomplete

Bug description:
  this fails:

  $ touch xyzzy.deb
  $ apt install xyzzy

  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1645815/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp