I'm trying to run the following command:
conan install .. --build=missing && cmake .. -G "Unix Makefiles" && cmake -build
What I'm interested in is the conan install part Everything works fine until the end, it starts sudo apt-get install and after a few seconds of the commands running I got this error:
portaudio/19.7.0@bincrafters/stable: ERROR: while executing system_requirements(): Command 'sudo apt-get update' failed ERROR: Error in system requirements
And this is my conanfile.txt
[requires]
opus/1.3.1
asio/1.24.0
sqlite3/3.40.1
sqlite_orm/1.8.1
qt/5.15.8
libalsa/1.2.7.2
portaudio/19.7.0@bincrafters/stable
[generators]
cmake
I tried different version of conan and the one who suits what I need is 1.57 I deleted my ./conan folder and re-installed it and add sysrequires_mode = enabled in my conan.conf
Ok so I finally found the answer
When I made a sudo apt update
I got this error
E: The http://ppa.launchpad.net/snaipewastaken/ppa/ubuntu focal Release repository does not have a Release file.
So I went to "software and update" on Ubuntu, I found the said focal and deactivated it
Now it works fine, although I had to install libjack-dev afterwards