[Bug 1872200] Re: apt does not accept globs and regexes in some cases
Jakub Vaněk
vanek.jakub4 at seznam.cz
Sat Apr 25 13:48:48 UTC 2020
Luckily, regular expression continue to work - they just have to start
with ^ or end with $. Therefore, the command above could be rewritten
as:
sudo apt install ^gnome-user-docs.*
While using the ^ character stops bash-completion from working, it is
still much better than no pattern matching at all.
--
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/1872200
Title:
apt does not accept globs and regexes in some cases
Status in apt package in Ubuntu:
Confirmed
Bug description:
Observed with Ubuntu 20.04 Beta.
apt remove 'mypackage*' does not remove all installed packages
starting with “mypackage”. Instead:
$ sudo apt remove 'mypackage*'
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mypackage*
However:
$ sudo apt list --installed 'mypackage*'
Listing... Done
mypackage-data-v1/focal,focal,now 0.3.2-5build1 all [installed,automatic]
mypackage1/focal,now 0.3.2-5build1 amd64 [installed]
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1872200/+subscriptions
More information about the foundations-bugs
mailing list