*** This bug is a duplicate of bug 1431753 ***
    https://bugs.launchpad.net/bugs/1431753

I created a script to run the common fixes for this problem. All you
have to do is run by passing either 1, 2, or 3; e.g fix-nvidia.sh 1

#!/bin/bash
# Fix for bug #1268257.
# See: 
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1268257
if [ $# -gt 0 ]; then
  if [ $1 -eq 1 ]; then
    echo "Running fix 1 (reconfigure)."
    sudo dpkg-reconfigure nvidia-331 && sudo dpkg-reconfigure nvidia-331-uvm
  fi

  if [ $1 -eq 2 ]; then
    echo "Running fix 2 (reinstall)."
    sudo apt-get install --reinstall nvidia-331 nvidia-331-uvm
  fi

  if [ $1 -eq 3 ]; then
    echo "Running fix 1 and 2 (reconfigure and reinstall)."
    sudo dpkg-reconfigure nvidia-331 && sudo dpkg-reconfigure nvidia-331-uvm
    sudo apt-get install --reinstall nvidia-331 nvidia-331-uvm
  fi
else
  if [ $# -eq 0 ]; then
    echo "Please pick if you would like to run:"
    echo " 1 : fix 1 (reconfigure)"
    echo " 2 : fix 2 (reinstall)"
    echo " 3 : fix 1 & 2 (reconfigure and reinstall)"
  fi
fi

** Attachment added: "fix-nvidia.sh"
   
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1268257/+attachment/4426558/+files/fix-nvidia.sh

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1268257

Title:
  nvidia-331-updates 331.38-0ubuntu3: nvidia-331-updates kernel module
  failed to build, with only error: "objdump: '... .tmp_nv.o': No such
  file"

To manage notifications about this bug go to:
https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1268257/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to