[Bug 1628654] Re: apt-mark's regex matching seems odd
Julian Andres Klode
juliank at ubuntu.com
Wed Sep 28 19:33:57 UTC 2016
To clarify what happened here:
(1) *vcard is an fnmatch() expression matching 2vcard
(2) vcard* is an unanchored regular expression matching 2vard.
--
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/1628654
Title:
apt-mark's regex matching seems odd
Status in apt package in Ubuntu:
Triaged
Bug description:
[ 12:06PM 4528 ] [ bdmurray at speedy:~/source-trees/ubuntu-release-upgrader/upstream ]
$ apt-mark showmanual \*vcard
2vcard
[ 12:07PM 4529 ] [ bdmurray at speedy:~/source-trees/ubuntu-release-upgrader/upstream ]
$ apt-mark showmanual vcard\*
2vcard
I was surprised the latter option found a match.
$ apt-cache policy apt
apt:
Installed: 1.3~rc4ubuntu1
Candidate: 1.3~rc4ubuntu1
Version table:
*** 1.3~rc4ubuntu1 500
500 http://192.168.10.7/ubuntu yakkety/main amd64 Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1628654/+subscriptions
More information about the foundations-bugs
mailing list