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

nvtop : Depends: libnvidia-compute-418 but it is not going to be installed #133

Closed
HimGautam opened this issue Mar 9, 2022 · 4 comments
Closed

Comments

@HimGautam
Copy link

Can't install nvtop from sudo apt install nvtop.

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nvtop : Depends: libnvidia-compute-418 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.```

Also tried using NVTOP Build but it also gave errors.

```(base) himanshu@himanshu-Lenovo-Legion-Y540-15IRH-PG0:~$ conda deactivate 
himanshu@himanshu-Lenovo-Legion-Y540-15IRH-PG0:~$ git clone https://github.com/Syllo/nvtop.git
Cloning into 'nvtop'...
remote: Enumerating objects: 942, done.
remote: Counting objects: 100% (412/412), done.
remote: Compressing objects: 100% (233/233), done.
remote: Total 942 (delta 267), reused 302 (delta 171), pack-reused 530
Receiving objects: 100% (942/942), 511.29 KiB | 1.03 MiB/s, done.
Resolving deltas: 100% (592/592), done.
himanshu@himanshu-Lenovo-Legion-Y540-15IRH-PG0:~$ mkdir -p nvtop/build && cd nvtop/build
himanshu@himanshu-Lenovo-Legion-Y540-15IRH-PG0:~/nvtop/build$ cmake ..
-- The C compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Setting build type to 'Release' as none was specified.
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
  Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)
Call Stack (most recent call first):
  /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindCurses.cmake:256 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:34 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/himanshu/nvtop/build/CMakeFiles/CMakeOutput.log".
himanshu@himanshu-Lenovo-Legion-Y540-15IRH-PG0:~/nvtop/build$ make
make: *** No targets specified and no makefile found.  Stop.
himanshu@himanshu-Lenovo-Legion-Y540-15IRH-PG0:~/nvtop/build$ 
himanshu@himanshu-Lenovo-Legion-Y540-15IRH-PG0:~/nvtop/build$ # Install globally on the system
himanshu@himanshu-Lenovo-Legion-Y540-15IRH-PG0:~/nvtop/build$ sudo make install
make: *** No rule to make target 'install'.  Stop.
himanshu@himanshu-Lenovo-Legion-Y540-15IRH-PG0:~/nvtop/build$ ```
@ShadowMitia
Copy link

There is already an issue for this here: #51
Installing the .deb directly worked for me.

@Syllo
Copy link
Owner

Syllo commented Apr 18, 2022

Thanks @ShadowMitia
Please follow the manual installation for Ubuntu if you are on anything < Ubuntu 22.04.
They have an extra dependency to the Nvidia driver that is not present on other distributions (e.g. Debian).
Similar to #51

@Syllo Syllo closed this as completed Apr 18, 2022
@Mechazo11
Copy link

@ShadowMitia where is the location of the deb file that worked for you?

@BinhPQ2
Copy link

BinhPQ2 commented Sep 21, 2022

@ShadowMitia where is the location of the deb file that worked for you?

wget http://ftp.jp.debian.org/debian/pool/contrib/n/nvtop/nvtop_1.2.2-1_amd64.deb
sudo apt install ./nvtop_1.2.2-1_amd64.deb

You can change the mirror link in the first line here: https://packages.debian.org/sid/amd64/nvtop/download

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

No branches or pull requests

5 participants