[Bug 2122584] [NEW] Cannot upgrade gcc15 with libclang-17-dev installed

Alessandro Astone 2122584 at bugs.launchpad.net
Thu Sep 11 10:30:35 UTC 2025


Public bug reported:

Unsatisfied dependencies:
 g++-15 : Depends: g++-15-x86-64-linux-gnu (= 15.2.0-2ubuntu2)
          Depends: gcc-15-base (= 15.2.0-2ubuntu2) but 15.2.0-2ubuntu1 is to be installed
          Depends: gcc-15 (= 15.2.0-2ubuntu2) but 15.2.0-2ubuntu1 is to be installed
Error: Unable to satisfy dependencies. Reached two conflicting decisions:
   1. gcc-15-base:amd64=15.2.0-2ubuntu1 is not selected for install because:
      1. g++-15:amd64=15.2.0-2ubuntu2 is selected as an upgrade
      2. g++-15:amd64=15.2.0-2ubuntu2 Depends gcc-15-base (= 15.2.0-2ubuntu2)
      3. gcc-15-base:amd64=15.2.0-2ubuntu2 conflicts with other versions of itself
   2. gcc-15-base:amd64=15.2.0-2ubuntu1 is selected for install because:
      1. libclang-17-dev:amd64 is selected for install
      2. libclang-17-dev:amd64 Depends libobjc-14-dev
      3. libobjc-14-dev:amd64 Depends libobjc4 (>= 14.3.0-4ubuntu2)
      4. libobjc4:amd64 Depends gcc-15-base (= 15.2.0-2ubuntu1)

** Affects: gcc-15 (Ubuntu)
     Importance: Undecided
         Status: Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-15 in Ubuntu.
https://bugs.launchpad.net/bugs/2122584

Title:
  Cannot upgrade gcc15 with libclang-17-dev installed

Status in gcc-15 package in Ubuntu:
  Invalid

Bug description:
  Unsatisfied dependencies:
   g++-15 : Depends: g++-15-x86-64-linux-gnu (= 15.2.0-2ubuntu2)
            Depends: gcc-15-base (= 15.2.0-2ubuntu2) but 15.2.0-2ubuntu1 is to be installed
            Depends: gcc-15 (= 15.2.0-2ubuntu2) but 15.2.0-2ubuntu1 is to be installed
  Error: Unable to satisfy dependencies. Reached two conflicting decisions:
     1. gcc-15-base:amd64=15.2.0-2ubuntu1 is not selected for install because:
        1. g++-15:amd64=15.2.0-2ubuntu2 is selected as an upgrade
        2. g++-15:amd64=15.2.0-2ubuntu2 Depends gcc-15-base (= 15.2.0-2ubuntu2)
        3. gcc-15-base:amd64=15.2.0-2ubuntu2 conflicts with other versions of itself
     2. gcc-15-base:amd64=15.2.0-2ubuntu1 is selected for install because:
        1. libclang-17-dev:amd64 is selected for install
        2. libclang-17-dev:amd64 Depends libobjc-14-dev
        3. libobjc-14-dev:amd64 Depends libobjc4 (>= 14.3.0-4ubuntu2)
        4. libobjc4:amd64 Depends gcc-15-base (= 15.2.0-2ubuntu1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-15/+bug/2122584/+subscriptions




More information about the foundations-bugs mailing list