NVIDIA drivers install


Oct 22, 2019

When I try to install the nvidia drivers for my GeForce GT1030 in my Proxmox server 6.002 I get this:

root@pve:~# apt-get install nvidia
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nvidia 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 'nvidia' has no installation candidate

How can Install these drivers...thanks for your help in advance
By the way the content of my sources.list is:

deb http://ftp.debian.org/debian buster main contrib
deb http://ftp.debian.org/debian buster-updates main contrib
deb http://httpredir.debian.org/debian/ stretch main contrib non-free

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve buster pve-no-subscription

# security updates
deb http://security.debian.org buster/updates main contrib

deb http://download.proxmox.com/debian/pve buster pvetest
Maybe this is related to my linux headers ...every time I try to install I get this

apt install linux-headers-4.15.18-12-pve
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-4.15.18-12-pve
E: Couldn't find any package by glob 'linux-headers-4.15.18-12-pve'
E: Couldn't find any package by regex 'linux-headers-4.15.18-12-pve'


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!