[Bug 1860366] Re: Unable to install group of packages with `sudo apt install language-pack-*` (star or asterisk at the end of package names)

Julian Andres Klode julian.klode at canonical.com
Mon Jan 20 21:05:59 UTC 2020


I am aware that this is breaking compatibility, which is why I started
doing it in the apt tool, as it's for interactive use, not script use.

The change to remove regular expressions is absolutely necessary, as
it's currently a somewhat huge risk if you have packages with + in their
name and they get removed from the archive. I'm currently evaluating
feedback on whether I should add fnmatch matching - which should not
have any overlap with package names back in.

WRT experimental - APT development is aligned with Ubuntu development,
hence Ubuntu devel always ships the latest APT. The reason the latest
APT is not in unstable yet is that there is one more ABI break coming.

-- 
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/1860366

Title:
  Unable to install group of packages with `sudo apt install language-
  pack-*` (star or asterisk at the end of package names)

Status in apt package in Ubuntu:
  Invalid

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
  ProcVersionSignature: Ubuntu 5.4.0-9.12-generic 5.4.3
  Uname: Linux 5.4.0-9-generic x86_64
  ApportVersion: 2.20.11-0ubuntu15
  Architecture: amd64
  CurrentDesktop: GNOME-Flashback:GNOME
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1860366/+subscriptions



More information about the foundations-bugs mailing list