-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
unable to locate packages #11096
Comments
Hi @dhruvinvadgama Have you previously attempted installation of the librealsense SDK on Ubuntu 22.04, please? The SDK does not yet officially support 22.04 at the time of writing this. A pre-built test package for it is available at #10439 (comment) |
Hello, |
The message librealsense2-dkms is already the newest version makes me think that it is already installed on the computer. You could try removing all RealSense related packages from your computer with the command below and then trying installation again.
|
Okay. I will try that. |
librealsense2-dkms contains the core of the RealSense SDK. librealsense2-utils installs RealSense example programs and tools, such as realsense-viewer. librealsense2-dev and librealsense2-dbg are optional installs for developer activities such as debugging and building an application with g++ or your own choice of IDE. What kernel version are you using, with 22.04 please? |
I am using 5.15.0-52-generic |
Up until now, RealSense dkms packages have officially supported a maximum kernel version of 5.4 rather than 5.15. The RealSense developer team made some changes in the past week to support kernels 5.13 and 5.15 with dkms - as described at the PR page https://github.com/IntelRealSense/librealsense/pull/11076/files I would recommend trying the installation again tomorrow (Monday) to see whether your problem with the packages is related to a weekend issue or whether they remain unavailable to you. In the past few weeks, have you been using the official distribution_linux,md instructions to install the packages on Ubuntu 22.04 with kernel 5.15, please? https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md |
Okay, I will try installing again tomorrow to find out the issue. Yes, I am using the official distribution_linux,md instructions to install. |
Have you had an opportunity to perform the installation, please? Thanks! |
I am facing the same issue with kernel version 5.15.0-53-generic. |
Hello, have you resolved this issue now, I am facing the same problem, thanks |
Hello, Not really, but I have found a way around. I have tried to build librealsense with the RSUSB backend, which doesn't depend on the linux kernels. I found this information in an issue which was posted here. I still could not install the following packages. |
Hi @dhruvinvadgama If librealsense is built from source code with the RSUSB backend using CMake then including the build flags -DBUILD_EXAMPLES=true and DBUILD_GRAPHICAL_EXAMPLES=true in the CMake build instruction will build the graphics support, tools and examples in addition to the librealsense SDK. This has the same effect as installing them from the librealsense2-utils package. librealsense will be built in Debug mode by default when building from source code. It can be built in 'Release' mode with optimizations included by using the build flag -DCMAKE_BUILD_TYPE=release These instructions are demonstrated in the instruction guide at #9931 (comment) for building with the RSUSB backend. |
I searched for the packages with 'sudo find' and I could not locate them. I understand now that the graphics support, tools and examples are installed, not inside the above listed packages but separately. Correct? Also, the resizing of the frames is not possible. I cannot change the size from (640 x 480) to other sizes like (1280 x 720) etc. Is this problem also linked to the package installation or is it completely different? |
Package installation and building from source code are two different methods of achieving the same goal - installing the librealsense SDK. One or the other should be chosen but not both performed on the same computer, otherwise you could end up with two installations of librealsense that conflict with each other. So if your goal, as you mentioned at the start of this case, is to install from source code then you should completely ignore the package installation instructions at the link below and instead use CMake to build from source instead. You do not need to use the packages at all to achieve a successful source build. https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md In regard to changing the frame size, do you mean changing the resolution of a stream? If so then you cannot do this while the stream is enabled. You need to stop it, change the resolution and enable the stream again. In the RealSense Viewer tool this is simple to do with the side-panel controls. In a script it would be done by using a Stop() instruction to stop the pipeline, and then use cfg instructions after the Stop() line to define a new stream resolution and Start() the pipeline again. |
Okay. Thank you. I think this helps. |
Issue Description
I am trying to install the Realsense SDK from source on Ubuntu 22.04.
When I try to install the libraries and the developer & debug packages, it says, "unable to locate packages".
I have installed this SDK multiple times in the last few weeks but I didn't see this problem before.
The text was updated successfully, but these errors were encountered: