developers.home-assistant icon indicating copy to clipboard operation
developers.home-assistant copied to clipboard

libavresample-dev has no installation candidate

Open Daemo00 opened this issue 2 years ago • 2 comments

Feedback

I am trying to setup a development environment on Ubuntu 21.10 and got an error at the very first step

sudo apt-get update
sudo apt-get install python3-pip python3-dev python3-venv autoconf libssl-dev libxml2-dev libxslt1-dev libjpeg-dev libffi-dev libudev-dev zlib1g-dev pkg-config libavformat-dev libavcodec-dev libavdevice-dev libavutil-dev libswscale-dev libavresample-dev libavfilter-dev ffmpeg

(from https://developers.home-assistant.io/docs/development_environment#developing-on-linux) the error is:

[...]
Package libavresample-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libavresample-dev' has no installation candidate

Looks like the package has been substituted by libswresample-dev (ref. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971318), I didn't propose the change to the docs because I don't know if it would work.

URL

https://developers.home-assistant.io/docs/development_environment

Version

Can't find the version in the page, the closest thing is "Last updated on 1/23/2022"

Additional information

No response

Daemo00 avatar Apr 02 '22 10:04 Daemo00

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved. If this issue is still relevant, please let us know by leaving a comment 👍 This issue has now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jun 01 '22 11:06 github-actions[bot]

👍🏻

Daemo00 avatar Jun 01 '22 11:06 Daemo00

Ran into the same issue following the ¨developing on linux¨ manual in the documentation

ChopperRob avatar Dec 31 '22 11:12 ChopperRob

Just did the same, also installed libswresample-dev instead. If you are reading this later and see that by then, I have done a successful PR for home-assistant/core, ask me to do the PR for this doc change, because that means it probably worked with no problems.

fhoekstra avatar Aug 27 '23 19:08 fhoekstra