#916409 'download' fails on '~' in version with 'Error: pattern not supported by this subcommand:' #916409
- Package:
- src:aptitude
- Source:
- aptitude
- Submitter:
- Arnaud Fontaine
- Date:
- 2018-12-14 10:51:05 UTC
- Severity:
- normal
Hi,
# aptitude download dirmngr=2.1.18-8~deb9u3
Error: pattern not supported by this subcommand: 'dirmngr=2.1.18-8~deb9u3'
Although the command actually called by 'aptitude download' ('apt download')
handles it without problem:
# apt download dirmngr=2.1.18-8~deb9u3
Get:1 http://ftp.jp.debian.org/debian stable/main amd64 dirmngr amd64 2.1.18-8~deb9u3 [597 kB]
Fetched 597 kB in 1s (857 kB/s)
Cheers,
Arnaud Fontaine
Hi Arnaud, Arnaud Fontaine wrote: Thanks for that bug report! I can reproduce this on Debian Sid as well as on Debian 9 Stretch, but not on Debian 8 Jessie. So it seems to be a regression introduced between 0.6.11-1 and 0.8.7-1. Manuel: I assume this can fixed by making that check only look for ~ at the beginning of the string or after blanks and exclamation marks. (Or maybe just not after numbers and probably also not after letters.) Regards, Axel