Unable to install group of packages with `sudo apt install language-pack-*` (star or asterisk at the end of package names)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
APT |
New
|
Undecided
|
Unassigned | ||
apt (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce:
1. Have Ubuntu 20.04 LTS installed
2. Try to execute the installation of packages with similar names, i.e.
sudo apt install language-pack-*
Expected result:
* APT installs all packages started with `language-pack-`.
Actual results:
* APT does not install packages started with `language-pack-`, shows error instead:
$ sudo apt install language-pack-*
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package language-pack-*
---
Note: the `sudo apt-get install language-pack-*` works as expected, will install 391 packages.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: apt 1.9.7
ProcVersionSign
Uname: Linux 5.4.0-9-generic x86_64
ApportVersion: 2.20.11-0ubuntu15
Architecture: amd64
CurrentDesktop: GNOME-Flashback
Date: Mon Jan 20 22:33:41 2020
InstallationDate: Installed on 2020-01-19 (1 days ago)
InstallationMedia: Ubuntu-MATE 20.04 LTS "Focal Fossa" - Alpha amd64 (20200119)
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)
That's correct. I have removed that. You have to use apt install ?name(^ language- pack-.* ) or similar, soon you can also use ~nlanguage-pack-.*
For more details, see
https:/ /lists. debian. org/deity/ 2020/01/ msg00051. html