Unable to install clang-15* packages on Ubuntu 22.04 due to held broken packages

cn flag

I've been trying to install clang-15-dbgsym and such packages but I've been unable to due to the following error:

Reading package lists...
Building dependency tree...
Reading state information...
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-15-dbgsym : Depends: clang-15 (= 1:15.0.7-0ubuntu0.22.04.1) but 1:15.0.6-3~ubuntu0.22.04.2 is to be installed
E: Unable to correct problems, you have held broken packages.

I've tried finding what the packages are but to no avail.

$ uname -r                                                                                         

$ lsb_release -a                                                                                   
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:    22.04
Codename:   jammy

$ sudo apt -f install                                                                         

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.

Is there anything that looks amiss or that I should be looking into. I tried upgrading the kernel but couldn't find any way to upgrade past 5.16.

$ apt policy clang-15-dbgsym                
  Installed: (none)
  Candidate: 1:15.0.7-0ubuntu0.22.04.1
  Version table:
     1:15.0.7-0ubuntu0.22.04.1 500
        500 jammy-proposed/main amd64 Packages
     1:15.0.6-3~ubuntu0.22.04.2 500
        500 jammy-updates/main amd64 Packages
sudo apt update                              
[sudo] password for groot: 
Get:1 xenial InRelease [2,316 B]
Hit:2 stable InRelease                   
Get:3 xenial/main amd64 Packages [19.4 kB]
Hit:4 jammy InRelease                         
Hit:5 all InRelease                                     
Hit:6 jammy InRelease             
Get:7 jammy-updates InRelease [119 kB]        
Hit:8 focal InRelease                     
Get:9 stable InRelease [2,861 B]           
Get:10 jammy InRelease [41.3 kB]                       
Hit:11 stable InRelease                        
Get:12 jammy-apps-security InRelease [7,553 B]
Get:13 jammy-apps-updates InRelease [7,459 B]
Get:14 jammy-infra-security InRelease [7,453 B]
Get:15 jammy-infra-updates InRelease [7,452 B]
Get:16 jammy InRelease [23.8 kB]
Get:17 jammy-backports InRelease [108 kB]  
Get:18 jammy-security InRelease [110 kB]      
Get:19 stable/steam Sources [592 B]
Get:20 stable/steam amd64 Packages [1,143 B]
Get:21 stable/steam i386 Packages [1,339 B]
Get:22 jammy-apps-security/main i386 Packages [25.0 kB]
Get:23 jammy-apps-security/main amd64 Packages [29.9 kB]
Get:24 jammy-updates/main amd64 Packages [994 kB]
Get:25 jammy-updates/main i386 Packages [469 kB]                                          
Get:26 jammy-updates/main Translation-en [211 kB]                                          
Get:27 jammy-updates/main amd64 DEP-11 Metadata [101 kB]                                   
Get:28 jammy-updates i386 Contents (deb) [28.3 MB]                            
Get:29 jammy/main amd64 Packages [33.8 kB]          
Get:30 jammy-updates InRelease [41.3 kB]                                                          
Get:31 jammy/main i386 Packages [2,204 B]                           
Get:32 jammy-updates amd64 Contents (deb) [57.1 MB]                                        
Get:33 jammy-updates/main amd64 c-n-f Metadata [14.0 kB]                                   
Get:34 jammy-updates/restricted amd64 Packages [748 kB]                                    
Get:35 jammy-updates/restricted i386 Packages [27.1 kB]                                    
Get:36 jammy-updates/restricted Translation-en [116 kB]                                    
Get:37 jammy-updates/universe i386 Packages [607 kB]                                       
Get:38 jammy-updates/universe amd64 Packages [899 kB]                                      
Get:39 jammy-updates/universe Translation-en [180 kB]                                      
Get:40 jammy-updates/universe amd64 DEP-11 Metadata [269 kB]                               
Get:41 jammy-updates/universe amd64 c-n-f Metadata [18.6 kB]                               
Get:42 jammy-updates/multiverse amd64 Packages [24.1 kB]                                   
Get:43 jammy-updates/multiverse amd64 DEP-11 Metadata [940 B]                              
Get:44 jammy-backports/main amd64 Packages [40.9 kB]                                       
Get:45 jammy-backports/main Translation-en [10.2 kB]                                       
Get:46 jammy-backports/main amd64 DEP-11 Metadata [7,976 B]                                
Get:47 jammy-backports/universe amd64 DEP-11 Metadata [12.5 kB]                            
Get:48 jammy-security/main i386 Packages [280 kB]                                          
Get:49 jammy-security/main amd64 Packages [731 kB]                                         
Get:50 jammy-security/main Translation-en [147 kB]                                         
Get:51 jammy-security/main amd64 DEP-11 Metadata [41.4 kB]                                 
Get:52 jammy-security amd64 Contents (deb) [50.8 MB]                                       
Get:53 jammy-security i386 Contents (deb) [24.8 MB]                                        
Get:54 jammy-security/main amd64 c-n-f Metadata [9,016 B]                                  
Get:55 jammy-security/restricted amd64 Packages [705 kB]                                   
Get:56 jammy-security/restricted Translation-en [110 kB]                                   
Get:57 jammy-security/universe i386 Packages [520 kB]                                      
Get:58 jammy-security/universe amd64 Packages [717 kB]                                     
Get:59 jammy-security/universe Translation-en [118 kB]                                     
Get:60 jammy-security/universe amd64 DEP-11 Metadata [18.5 kB]                             
Get:61 jammy-security/universe amd64 c-n-f Metadata [14.2 kB]                              
Get:62 jammy-proposed InRelease [41.4 kB]                                                           
Get:63 jammy-updates/main i386 Packages [64.0 kB]                                                   
Get:64 jammy-updates/main amd64 Packages [137 kB]                                                   
Get:65 jammy-updates/universe i386 Packages [43.7 kB]                                               
Get:66 jammy-updates/universe amd64 Packages [128 kB]                                               
Get:67 jammy-proposed/main amd64 Packages [31.8 kB]                                                 
Get:68 jammy-proposed/main i386 Packages [11.4 kB]                                                  
Get:69 jammy-proposed/universe i386 Packages [12.7 kB]                                              
Get:70 jammy-proposed/universe amd64 Packages [20.0 kB]                                             
Fetched 170 MB in 43s (3,917 kB/s)                                                                                          
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
53 packages can be upgraded. Run 'apt list --upgradable' to see them.
$ apt list --upgradable                                                                       
Listing... Done
alsa-ucm-conf/jammy-updates,jammy-updates all [upgradable from:]
clang-15-doc/jammy-updates,jammy-updates 1:15.0.7-0ubuntu0.22.04.1 all [upgradable from: 1:15.0.6-3~ubuntu0.22.04.2]
clang-15-examples/jammy-updates 1:15.0.7-0ubuntu0.22.04.1 amd64 [upgradable from: 1:15.0.6-3~ubuntu0.22.04.2]
clang-15/jammy-updates 1:15.0.7-0ubuntu0.22.04.1 amd64 [upgradable from: 1:15.0.6-3~ubuntu0.22.04.2]
clangd-15/jammy-updates 1:15.0.7-0ubuntu0.22.04.1 amd64 [upgradable from: 1:15.0.6-3~ubuntu0.22.04.2]
distro-info-data/jammy-updates,jammy-updates 0.52ubuntu0.3 all [upgradable from: 0.52ubuntu0.2]
exo-utils/jammy-apps-security 4.16.3-1ubuntu0.1~esm1 amd64 [upgradable from: 4.16.3-1]
gdm3/jammy-updates 42.0-1ubuntu7.22.04.1 amd64 [upgradable from: 42.0-1ubuntu7]
gh/unknown 2.27.0 amd64 [upgradable from: 2.25.0]
gir1.2-gdm-1.0/jammy-updates 42.0-1ubuntu7.22.04.1 amd64 [upgradable from: 42.0-1ubuntu7]
gnome-settings-daemon-common/jammy-updates,jammy-updates 42.1-1ubuntu2.2 all [upgradable from: 42.1-1ubuntu2.1]
gnome-settings-daemon/jammy-updates 42.1-1ubuntu2.2 amd64 [upgradable from: 42.1-1ubuntu2.1]
google-chrome-stable/stable 112.0.5615.49-1 amd64 [upgradable from: 111.0.5563.146-1]
im-config/jammy-updates,jammy-updates 0.50-2ubuntu22.04.1 all [upgradable from: 0.50-2]
ldap-utils/jammy-updates 2.5.14+dfsg-0ubuntu0.22.04.2 amd64 [upgradable from: 2.5.14+dfsg-0ubuntu0.22.04.1]
libclang-common-15-dev/jammy-updates 1:15.0.7-0ubuntu0.22.04.1 amd64 [upgradable from: 1:15.0.6-3~ubuntu0.22.04.2]
libclang-cpp15/jammy-updates 1:15.0.7-0ubuntu0.22.04.1 amd64 [upgradable from: 1:15.0.6-3~ubuntu0.22.04.2]
libclang1-15/jammy-updates 1:15.0.7-0ubuntu0.22.04.1 amd64 [upgradable from: 1:15.0.6-3~ubuntu0.22.04.2]
libexo-2-0/jammy-apps-security 4.16.3-1ubuntu0.1~esm1 amd64 [upgradable from: 4.16.3-1]
libexo-common/jammy-apps-security,jammy-apps-security 4.16.3-1ubuntu0.1~esm1 all [upgradable from: 4.16.3-1]
libgdm1/jammy-updates 42.0-1ubuntu7.22.04.1 amd64 [upgradable from: 42.0-1ubuntu7]
libldap-2.5-0/jammy-updates 2.5.14+dfsg-0ubuntu0.22.04.2 amd64 [upgradable from: 2.5.14+dfsg-0ubuntu0.22.04.1]
libldap-common/jammy-updates,jammy-updates 2.5.14+dfsg-0ubuntu0.22.04.2 all [upgradable from: 2.5.14+dfsg-0ubuntu0.22.04.1]
libllvm15/jammy-updates 1:15.0.7-0ubuntu0.22.04.1 amd64 [upgradable from: 1:15.0.6-3~ubuntu0.22.04.2]
libllvm15/jammy-updates 1:15.0.7-0ubuntu0.22.04.1 i386 [upgradable from: 1:15.0.6-3~ubuntu0.22.04.2]
libnss-systemd/jammy-updates 249.11-0ubuntu3.9 amd64 [upgradable from: 249.11-0ubuntu3.7]
libpam-systemd/jammy-updates 249.11-0ubuntu3.9 amd64 [upgradable from: 249.11-0ubuntu3.7]
libsystemd0/jammy-updates 249.11-0ubuntu3.9 amd64 [upgradable from: 249.11-0ubuntu3.7]
libsystemd0/jammy-updates 249.11-0ubuntu3.9 i386 [upgradable from: 249.11-0ubuntu3.7]
libudev1/jammy-updates 249.11-0ubuntu3.9 amd64 [upgradable from: 249.11-0ubuntu3.7]
libudev1/jammy-updates 249.11-0ubuntu3.9 i386 [upgradable from: 249.11-0ubuntu3.7]
llvm-15-dev/jammy-updates 1:15.0.7-0ubuntu0.22.04.1 amd64 [upgradable from: 1:15.0.6-3~ubuntu0.22.04.2]
llvm-15-linker-tools/jammy-updates 1:15.0.7-0ubuntu0.22.04.1 amd64 [upgradable from: 1:15.0.6-3~ubuntu0.22.04.2]
llvm-15-runtime/jammy-updates 1:15.0.7-0ubuntu0.22.04.1 amd64 [upgradable from: 1:15.0.6-3~ubuntu0.22.04.2]
llvm-15-tools/jammy-updates 1:15.0.7-0ubuntu0.22.04.1 amd64 [upgradable from: 1:15.0.6-3~ubuntu0.22.04.2]
llvm-15/jammy-updates 1:15.0.7-0ubuntu0.22.04.1 amd64 [upgradable from: 1:15.0.6-3~ubuntu0.22.04.2]
python3-tz/jammy-updates,jammy-updates 2022.1-1ubuntu0.22.04.1 all [upgradable from: 2022.1-1ubuntu0.22.04.0]
signal-desktop/xenial 6.14.0 amd64 [upgradable from: 6.12.0]
steam-launcher/unknown,unknown 1: all [upgradable from: 1:]
steam-libs-amd64/unknown 1: amd64 [upgradable from: 1:]
steam-libs-i386/unknown 1: i386 [upgradable from: 1:]
sudo/jammy-updates,jammy-security 1.9.9-1ubuntu2.4 amd64 [upgradable from: 1.9.9-1ubuntu2.3]
systemd-oomd/jammy-updates 249.11-0ubuntu3.9 amd64 [upgradable from: 249.11-0ubuntu3.7]
systemd-sysv/jammy-updates 249.11-0ubuntu3.9 amd64 [upgradable from: 249.11-0ubuntu3.7]
systemd-timesyncd/jammy-updates 249.11-0ubuntu3.9 amd64 [upgradable from: 249.11-0ubuntu3.7]
systemd/jammy-updates 249.11-0ubuntu3.9 amd64 [upgradable from: 249.11-0ubuntu3.7]
thunderbird-gnome-support/jammy 1:102.10.0+build2-0ubuntu0.22.04.1~mt1 amd64 [upgradable from: 1:102.9.1+build1-0ubuntu0.22.04.1~mt1]
thunderbird-locale-en-gb/jammy,jammy 1:102.10.0+build2-0ubuntu0.22.04.1~mt1 all [upgradable from: 1:102.9.1+build1-0ubuntu0.22.04.1~mt1]
thunderbird-locale-en-us/jammy,jammy 1:102.10.0+build2-0ubuntu0.22.04.1~mt1 all [upgradable from: 1:102.9.1+build1-0ubuntu0.22.04.1~mt1]
thunderbird-locale-en/jammy 1:102.10.0+build2-0ubuntu0.22.04.1~mt1 amd64 [upgradable from: 1:102.9.1+build1-0ubuntu0.22.04.1~mt1]
thunderbird/jammy 1:102.10.0+build2-0ubuntu0.22.04.1~mt1 amd64 [upgradable from: 1:102.9.1+build1-0ubuntu0.22.04.1~mt1]
tzdata/jammy-updates,jammy-updates,jammy-security,jammy-security 2023c-0ubuntu0.22.04.0 all [upgradable from: 2022g-0ubuntu0.22.04.1]
udev/jammy-updates 249.11-0ubuntu3.9 amd64 [upgradable from: 249.11-0ubuntu3.7]
Organic Marble avatar
us flag
Please add the output of `apt policy clang-15-dbgsym` to your question
nobody avatar
gh flag
And `sudo apt update` please too.
Rhahkeem avatar
cn flag
added the requested output
Organic Marble avatar
us flag
It appears that you have the `proposed` repos enabled. That can be problematic. Why did you enable them?
Rhahkeem avatar
cn flag
I have no recollection of enabling them. I may have done it a while back (this system has gone through many upgrades). Is there an easy way to disable them?
nobody avatar
gh flag
Maybe with apt pinning you have a chance but backup your important data before.
I sit in a Tesla and translated this thread with Ai:


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.