Skip to content

apt.llvm.org repository for noble (ubuntu 24.04) only provides meta packages, can not install #90536

@FalcoGer

Description

@FalcoGer

I recently upgraded from ubuntu 22.04 to 24.04. I used to get the latest clang compiler and tools from the apt repository at http://apt.llvm.org/jammy/. After the upgrade I changed the sources configuration file to use http://apt.llvm.org/noble/ instead. It exists, but it only provides meta packages. For example the clang package is provided with dependencies on clang-19. But clang-19 is not provided.

This results in issues like this:

$ sudo apt install clang

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 clang : Depends: clang-19 (>= 19~) but it is not installable
E: Unable to correct problems, you have held broken packages.

My current workaround was to install these packages using aptitude, which suggests to install the old meta-package provided by the distribution's repositories (which depend on clang-18 in this case). This will allow me to use clang, and have it upgraded whenever clang-19 is available through the llvm repository.

But it has been a few days since the official release of 24.04 and still those packages are not available.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions