0

I would like to try gnome-builder but I can't seem to get it installed. I am wondering whether this "held broken packages" issue might resolve itself in time or if there is something I need to do.

Regards, John

john@john-A880G:~$ sudo apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu noble InRelease                                                                    
Hit:2 http://security.ubuntu.com/ubuntu noble-security InRelease                                                             
Hit:3 https://dl.google.com/linux/chrome/deb stable InRelease                                                                
Hit:4 https://download.sublimetext.com apt/stable/ InRelease                                               
Hit:5 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu noble InRelease        
Hit:6 https://ppa.launchpadcontent.net/openshot.developers/ppa/ubuntu noble InRelease
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://dl.google.com/linux/chrome/deb stable InRelease' doesn't support architecture 'i386'

john@john-A880G:~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

john@john-A880G:~$ sudo apt-get install gnome-builder 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-18 : Depends: libllvm18 (= 1:18.1.3-1) but 1:18.1.3-1ubuntu1 is to be installed Depends: libclang1-18 (= 1:18.1.3-1) but 1:18.1.3-1ubuntu1 is to be installed Recommends: llvm-18-dev but it is not going to be installed libmount-dev : Depends: libblkid-dev but it is not going to be installed Depends: libmount1 (= 2.39.3-9ubuntu6) but 2.39.3-9ubuntu6.1 is to be installed E: Unable to correct problems, you have held broken packages.

Update : The /etc/apt/sources.list.d/ubuntu.sources file needed to be altered to provide updates.

  • 1
    You've a problem with your sources; as libllvm18 is not a Ubuntu provided package, so you're installing it from a 3rd party repository, which is conflicting with the third party source you're getting gnome-builder from. I'd explore using apt policy as https://packages.ubuntu.com/noble-updates/gnome-builder does NOT include the deps that your 3rd party source shows in messages. – guiverc Aug 01 '25 at 04:22
  • This question is similar to: Unable to correct problems, you have held broken packages. If you believe it’s different, please [edit] the question, make it clear how it’s different and/or how the answers on that question are not helpful for your problem. – guiverc Aug 01 '25 at 04:22
  • 1
    Your apt output shows noble (good) and noble-security (good)...but noble-updates seems missing (bad), and that seems a likely cause of your problem. Did you edit your sources or disable updates? – user535733 Aug 01 '25 at 13:35
  • user535733 has the solution. The /etc/apt/sources.list.d/ubuntu.sources file needed to be altered to provide updates. – John McBride Aug 02 '25 at 07:27

0 Answers0