Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E: libopus-dev has no installation candidate #1284

Closed
4 of 11 tasks
Paddyk45 opened this issue Jul 1, 2023 · 1 comment
Closed
4 of 11 tasks

E: libopus-dev has no installation candidate #1284

Paddyk45 opened this issue Jul 1, 2023 · 1 comment

Comments

@Paddyk45
Copy link

Paddyk45 commented Jul 1, 2023

Checklist

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

@Paddyk45
Copy link
Author

Paddyk45 commented Jul 1, 2023

Looks like this is the issue: #1203 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants