conan install binary pack to system
-
This is my project:
git clone https://github.com/AndreiCherniaev/QCoreApplication_quit_example && cd QCoreApplication_quit_example
I ask conan to install nessasary binary packages to my Ubuntu 22:
conan install conanfile.txt --build=qt -c tools.system.package_manager:mode=install
But I get error:
dpkg-query: no packages found matching libfontenc-dev dpkg-query: no packages found matching libxaw7-dev dpkg-query: no packages found matching libxkbfile-dev dpkg-query: no packages found matching libxmu-dev dpkg-query: no packages found matching libxmuu-dev dpkg-query: no packages found matching libxpm-dev dpkg-query: no packages found matching libxres-dev dpkg-query: no packages found matching libxvmc-dev Reading package lists... Done E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: Unable to lock directory /var/lib/apt/lists/ W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied) W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied) xorg/system: ERROR: while executing system_requirements(): Command 'apt-get update' failed ERROR: Error in system requirements
Just for test I write
sudo apt-get install libfontenc-dev
And I can install this without problems... Why conan can't do it by himself?