Description
Checklist
- I've looked through the issues and pull requests for similar reports
(i found Update images to Ubuntu 22.04 LTS #973 which could fix the issue but it's still open)
Describe your issue
I'm trying to install the package libopus-dev
but it says it has no installation candidate, same for other libraries
What target(s) are you cross-compiling for?
arm-unknown-linux-gnueabihf
Which operating system is the host (e.g computer cross is on) running?
- macOS
- Windows
- Linux / BSD
- other OS (specify in description)
What architecture is the host?
- x86_64 / AMD64
- arm32
- arm64 (including Mac M1)
What container engine is cross using?
- docker
- podman
- other container engine (specify in description)
cross version
cross 0.2.5 (1511a28 2023-06-27)
Example
[target.arm-unknown-linux-gnueabihf]
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt update",
"apt install libopus-dev:armhf"
]
cross build --target arm-unknown-linux-gnueabihf --release
Will output:
41.72 Package libopus-dev:armhf is not available, but is referred to by another package.
41.72 This may mean that the package is missing, has been obsoleted, or
41.72 is only available from another source
41.72 However the following packages replace it:
41.72 libopus-dev libopus-dev:i386
41.72
41.74 E: Package 'libopus-dev:armhf' has no installation candidate
Additional information / notes
I also tried replacing ubuntus repos with the Raspberry Pi ones but it kept saying that it could not locate the package even though I am sure its in the repos