0

On Ubuntu 20.04, the terminal doesn't seem to recognize the *regex.

Example, on 18.04 and other prior releases I could just typed and entered

sudo apt install ubuntu-restricted*

and it would automatically pick both ubuntu-restricted-extras and ubuntu-restricted-addons package.

But, on 20.04 it seems to throw an error saying

can't find package ubuntu-restricted*

Is there anyway to get the previous behavior on terminal back?

0

1 Answer 1

2

The ability to use globs was apparently removed, re-added, and the fix queued up for release (see relevant bug). In the meantime, you can instead use regex patterns but they need to be positively identified as regex. For instance, you can do apt install '^ubuntu-restricted' which I think should be the equivalent to what you want.

Not the answer you're looking for? Browse other questions tagged .