Gpu Nvidia Passthrough

  • Getting this when running apt install -t bullseye-backports nvidia-smi

    Could this be the issue?


    Code
     Processing triggers for nvidia-alternative (470.103.01-1~bpo11+1) ...
    update-alternatives: updating alternative /usr/lib/nvidia/current because link group nvidia has changed slave links
    update-alternatives: warning: not replacing /usr/bin/nvidia-smi with a link
    update-alternatives: warning: forcing reinstallation of alternative /usr/lib/nvidia/current because link group nvidia is broken
    update-alternatives: warning: not replacing /usr/bin/nvidia-smi with a link


  • Here's installing:


  • Code
    sudo rm -rf /var/lib/dpkg/updates/*
    sudo rm -rf /var/lib/apt/lists/*
    sudo rm /var/cache/apt/*.bin
    sudo apt-get clean
    sudo apt-get autoremove
    sudo apt-get update
    sudo dpkg --configure -a
    sudo apt-get install -f

    if still getting same error then try

    Code
    sudo dpkg --remove --force-remove-reinstreq nvidia-smi

    after removing package update your system and restart once.

  • interesting, that gives me this error:


  • Hmmm, not much different than normal installs.


  • using the apt tool plugin, I get this error when installing:


    Code
    500 - Internal Server Error
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; export DEBIAN_FRONTEND=noninteractive; apt-get --yes --fix-missing --allow-unauthenticated --reinstall install nvidia-smi 2>&1': Reading package lists... Building dependency tree... Reading state information... 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: nvidia-smi : Depends: nvidia-alternative (= 460.91.03-1) but 470.103.01-1~bpo11+1 is to be installed Depends: libnvidia-ml1 (= 460.91.03-1) but 470.103.01-1~bpo11+1 is to be installed E: Unable to correct problems, you have held broken packages.
  • It seems that you have an odd nvidia-smi version installed - may be from omv5. But I am wondering why you can‘t remove this old version. This might be the clue to it.


    Does this work?


    Code
    sudo dpkg --remove --force-remove-reinstreq nvidia-smi
    sudo apt-get update


    Code
    sudo apt-get clean && sudo apt-get autoremove
    sudo apt-get -f install
    dpkg --configure -a
  • This is getting so annoying. here's the output:


    Code
    root@thevault:~# sudo dpkg --remove --force-remove-reinstreq nvidia-smi
    dpkg: warning: ignoring request to remove nvidia-smi which isn't installed

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!