I'm trying to install Clang on Ubuntu 20.04 for ARM, which needs libobjc-9-dev
. The Ubuntu 20.04 ARM repositories only have a version that needs GCC 9.3 but I currently have GCC 9.4 (trying to downgrade to GCC 9.3 leads to apt prompting me to uninstall x11 and xwayland).
I'm looking for a way to just grab a newer libobjc-9-dev
but I can't find any links. I found this official website, and it says "You can download the requested file [...] at any of these sites:" but there are no sites listed after the colon. I also found this unofficial site and all the links for deb packages are for x86. The third link on Google is for another unofficial site that seems to have it except that the link for "Binary Package" points to an x86_64 package from Ubuntu. If I manually change "amd64" to "arm64" then the link doesn't work.
How do I download and install Clang and libobjc-9-dev
? I've tried sudo apt install
and the first three links on Google yet I'm unable to find an ARM version of libobjc-9-dev
version 9.4.0-1ubuntu1~20.04
(to match Ubuntu's GCC version).
For the record, here is the message when trying to install libobjc-9-dev
on Ubuntu 20.04 for ARM:
$ sudo apt install libobjc-9-dev
Reading package lists... Done
Building dependency tree
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:
libobjc-9-dev : Depends: gcc-9-base (= 9.3.0-17ubuntu1~20.04) but 9.4.0-1ubuntu1~20.04 is to be installed
Depends: libgcc-9-dev (= 9.3.0-17ubuntu1~20.04) but 9.4.0-1ubuntu1~20.04 is to be installed
libobjc-9-dev | 9.3.0-17ubuntu1~20.04 | focal-updates/universe | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
which isn't the version you're using; you appear to have upgraded to testing or -proposed packagelibobjc-9-dev | 9.4.0-1ubuntu1~20.04 | focal-proposed/universe | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
thus your issue. Why did you add the proposed/testing package(s), as if you remove them, you'll possibly be returning to the issue that had you install proposed packages in the first place. – guiverc Nov 23 '21 at 04:31sudo apt install build-essential
. GCC 9.4 is just the version that Ubuntu gave me. If I try to downgrade it to GCC 9.3 it tries to remove x11. – Aaron Franke Nov 23 '21 at 04:39desktopify
converts a server image to desktop for raspberry.pi; created by a prior lead of Ubuntu Desktop for Canonical https://github.com/wimpysworld/desktopify) – guiverc Nov 23 '21 at 21:05