Trying to reinstall the nvidia drivers on Ubuntu 11.04 for FX 6600

Asked by Barry Dryden

keep getting a broken package message which Synaptic can't fix
here's the Troubleshooting dump

arry@amd64:~$ sudo fuser -vvv /var/lib/dpkg/lock
barry@amd64:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.04
DISTRIB_CODENAME=natty
DISTRIB_DESCRIPTION="Ubuntu 11.04"
barry@amd64:~$ uname -a
Linux amd64 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
barry@amd64:~$ sudo rm /var/lib/apt/lists/lock
barry@amd64:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
barry@amd64:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
barry@amd64:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
barry@amd64:~$ sudo rm -rf /var/lib/dpkg/updates/*
barry@amd64:~$ sudo rm -rf /var/lib/apt/lists
barry@amd64:~$ sudo rm /var/cache/apt/*.bin
barry@amd64:~$ sudo mkdir /var/lib/apt/lists
barry@amd64:~$ sudo mkdir /var/lib/apt/lists/partial
barry@amd64:~$ LANG=C;sudo apt-get clean
barry@amd64:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
barry@amd64:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up app-install-data (0.11.04.7.4) ...
Setting up language-selector-common (0.34) ...
Setting up language-selector-gnome (0.34) ...
Setting up libva1 (1.0.12-1~xup) ...
Setting up nvidia-settings (270.41.03-0ubuntu1~xup) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
barry@amd64:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Ign http://linux.dropbox.com maverick InRelease
Ign http://security.ubuntu.com natty-security InRelease
Get:1 http://linux.dropbox.com maverick Release.gpg [489 B]
Ign http://extras.ubuntu.com natty InRelease
Get:2 http://linux.dropbox.com maverick Release [2605 B]
Ign http://ppa.launchpad.net natty InRelease
Get:3 http://security.ubuntu.com natty-security Release.gpg [198 B]
Get:4 http://linux.dropbox.com maverick/main amd64 Packages [781 B]
Ign http://us.archive.ubuntu.com natty InRelease
Ign http://us.archive.ubuntu.com natty-updates InRelease
Ign http://us.archive.ubuntu.com natty-backports InRelease
Get:5 http://extras.ubuntu.com natty Release.gpg [72 B]
Ign http://linux.dropbox.com maverick/main TranslationIndex
Get:6 http://security.ubuntu.com natty-security Release [23.2 kB]
Get:7 http://ppa.launchpad.net natty Release.gpg [316 B]
Get:8 http://us.archive.ubuntu.com natty Release.gpg [198 B]
Get:9 http://extras.ubuntu.com natty Release [9753 B]
Get:10 http://us.archive.ubuntu.com natty-updates Release.gpg [198 B]
Get:11 http://ppa.launchpad.net natty Release [9741 B]
Ign http://linux.dropbox.com maverick/main Translation-en
Get:12 http://us.archive.ubuntu.com natty-backports Release.gpg [198 B]
Get:13 http://extras.ubuntu.com natty/main Sources [14 B]
Get:14 http://security.ubuntu.com natty-security/main Sources [4939 B]
Get:15 http://us.archive.ubuntu.com natty Release [39.8 kB]
Get:16 http://ppa.launchpad.net natty/main Sources [2302 B]
Get:17 http://extras.ubuntu.com natty/main amd64 Packages [14 B]
Ign http://extras.ubuntu.com natty/main TranslationIndex
Get:18 http://security.ubuntu.com natty-security/restricted Sources [14 B]
Get:19 http://security.ubuntu.com natty-security/universe Sources [2147 B]
Get:20 http://security.ubuntu.com natty-security/multiverse Sources [14 B]
Get:21 http://security.ubuntu.com natty-security/main amd64 Packages [18.4 kB]
Get:22 http://ppa.launchpad.net natty/main amd64 Packages [6540 B]
Ign http://ppa.launchpad.net natty/main TranslationIndex
Get:23 http://security.ubuntu.com natty-security/restricted amd64 Packages [14 B]
Get:24 http://security.ubuntu.com natty-security/universe amd64 Packages [7020 B]
Get:25 http://security.ubuntu.com natty-security/multiverse amd64 Packages [14 B]
Ign http://security.ubuntu.com natty-security/main TranslationIndex
Get:26 http://us.archive.ubuntu.com natty-updates Release [27.2 kB]
Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex
Ign http://security.ubuntu.com natty-security/universe TranslationIndex
Get:27 http://us.archive.ubuntu.com natty-backports Release [23.2 kB]
Get:28 http://us.archive.ubuntu.com natty/main Sources [862 kB]
Ign http://extras.ubuntu.com natty/main Translation-en
Ign http://ppa.launchpad.net natty/main Translation-en
Ign http://security.ubuntu.com natty-security/main Translation-en
Ign http://security.ubuntu.com natty-security/multiverse Translation-en
Ign http://security.ubuntu.com natty-security/restricted Translation-en
Ign http://security.ubuntu.com natty-security/universe Translation-en
Get:29 http://us.archive.ubuntu.com natty/restricted Sources [4104 B]
Get:30 http://us.archive.ubuntu.com natty/universe Sources [4380 kB]
Get:31 http://us.archive.ubuntu.com natty/multiverse Sources [155 kB]
Get:32 http://us.archive.ubuntu.com natty/main amd64 Packages [1550 kB]
Get:33 http://us.archive.ubuntu.com natty/restricted amd64 Packages [9001 B]
Get:34 http://us.archive.ubuntu.com natty/universe amd64 Packages [6004 kB]
Get:35 http://us.archive.ubuntu.com natty/multiverse amd64 Packages [181 kB]
Ign http://us.archive.ubuntu.com natty/main TranslationIndex
Ign http://us.archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com natty/restricted TranslationIndex
Ign http://us.archive.ubuntu.com natty/universe TranslationIndex
Get:36 http://us.archive.ubuntu.com natty-updates/main Sources [18.4 kB]
Get:37 http://us.archive.ubuntu.com natty-updates/restricted Sources [14 B]
Get:38 http://us.archive.ubuntu.com natty-updates/universe Sources [5310 B]
Get:39 http://us.archive.ubuntu.com natty-updates/multiverse Sources [14 B]
Get:40 http://us.archive.ubuntu.com natty-updates/main amd64 Packages [72.5 kB]
Get:41 http://us.archive.ubuntu.com natty-updates/restricted amd64 Packages [14 B]
Get:42 http://us.archive.ubuntu.com natty-updates/universe amd64 Packages [23.2 kB]
Get:43 http://us.archive.ubuntu.com natty-updates/multiverse amd64 Packages [14 B]
Ign http://us.archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/universe TranslationIndex
Get:44 http://us.archive.ubuntu.com natty-backports/main amd64 Packages [14 B]
Get:45 http://us.archive.ubuntu.com natty-backports/restricted amd64 Packages [14 B]
Get:46 http://us.archive.ubuntu.com natty-backports/universe amd64 Packages [14 B]
Get:47 http://us.archive.ubuntu.com natty-backports/multiverse amd64 Packages [14 B]
Ign http://us.archive.ubuntu.com natty-backports/main TranslationIndex
Ign http://us.archive.ubuntu.com natty-backports/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com natty-backports/restricted TranslationIndex
Ign http://us.archive.ubuntu.com natty-backports/universe TranslationIndex
Ign http://us.archive.ubuntu.com natty/main Translation-en
Ign http://us.archive.ubuntu.com natty/multiverse Translation-en
Ign http://us.archive.ubuntu.com natty/restricted Translation-en
Ign http://us.archive.ubuntu.com natty/universe Translation-en
Ign http://us.archive.ubuntu.com natty-updates/main Translation-en
Ign http://us.archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://us.archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://us.archive.ubuntu.com natty-updates/universe Translation-en
Ign http://us.archive.ubuntu.com natty-backports/main Translation-en
Ign http://us.archive.ubuntu.com natty-backports/multiverse Translation-en
Ign http://us.archive.ubuntu.com natty-backports/restricted Translation-en
Ign http://us.archive.ubuntu.com natty-backports/universe Translation-en
Fetched 13.4 MB in 50s (265 kB/s)
Reading package lists... Done
W: Duplicate sources.list entry http://us.archive.ubuntu.com/ubuntu/ natty/restricted amd64 Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_natty_restricted_binary-amd64_Packages)
W: Duplicate sources.list entry http://us.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_natty_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://us.archive.ubuntu.com/ubuntu/ natty/multiverse amd64 Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_natty_multiverse_binary-amd64_Packages)
W: Duplicate sources.list entry http://us.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_natty_universe_binary-amd64_Packages)
W: You may want to run apt-get update to correct these problems
barry@amd64:~$ sudo dpkg --clear-avail
barry@amd64:~$ sudo dpkg --configure -a
barry@amd64:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
barry@amd64:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
barry@amd64:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Ign http://linux.dropbox.com maverick InRelease
Hit http://linux.dropbox.com maverick Release.gpg
Ign http://security.ubuntu.com natty-security InRelease
Ign http://extras.ubuntu.com natty InRelease
Hit http://linux.dropbox.com maverick Release
Ign http://ppa.launchpad.net natty InRelease
Hit http://linux.dropbox.com maverick/main amd64 Packages
Ign http://us.archive.ubuntu.com natty InRelease
Ign http://us.archive.ubuntu.com natty-updates InRelease
Ign http://us.archive.ubuntu.com natty-backports InRelease
Hit http://security.ubuntu.com natty-security Release.gpg
Hit http://extras.ubuntu.com natty Release.gpg
Ign http://linux.dropbox.com maverick/main TranslationIndex
Hit http://ppa.launchpad.net natty Release.gpg
Hit http://us.archive.ubuntu.com natty Release.gpg
Hit http://security.ubuntu.com natty-security Release
Hit http://extras.ubuntu.com natty Release
Hit http://us.archive.ubuntu.com natty-updates Release.gpg
Hit http://ppa.launchpad.net natty Release
Hit http://security.ubuntu.com natty-security/main Sources
Hit http://extras.ubuntu.com natty/main Sources
Ign http://linux.dropbox.com maverick/main Translation-en
Hit http://us.archive.ubuntu.com natty-backports Release.gpg
Hit http://ppa.launchpad.net natty/main Sources
Hit http://security.ubuntu.com natty-security/restricted Sources
Hit http://security.ubuntu.com natty-security/universe Sources
Hit http://security.ubuntu.com natty-security/multiverse Sources
Hit http://security.ubuntu.com natty-security/main amd64 Packages
Hit http://security.ubuntu.com natty-security/restricted amd64 Packages
Hit http://extras.ubuntu.com natty/main amd64 Packages
Ign http://extras.ubuntu.com natty/main TranslationIndex
Hit http://us.archive.ubuntu.com natty Release
Hit http://security.ubuntu.com natty-security/universe amd64 Packages
Hit http://security.ubuntu.com natty-security/multiverse amd64 Packages
Ign http://security.ubuntu.com natty-security/main TranslationIndex
Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex
Hit http://ppa.launchpad.net natty/main amd64 Packages
Ign http://ppa.launchpad.net natty/main TranslationIndex
Ign http://security.ubuntu.com natty-security/universe TranslationIndex
Hit http://us.archive.ubuntu.com natty-updates Release
Hit http://us.archive.ubuntu.com natty-backports Release
Hit http://us.archive.ubuntu.com natty/main Sources
Hit http://us.archive.ubuntu.com natty/restricted Sources
Hit http://us.archive.ubuntu.com natty/universe Sources
Hit http://us.archive.ubuntu.com natty/multiverse Sources
Hit http://us.archive.ubuntu.com natty/main amd64 Packages
Hit http://us.archive.ubuntu.com natty/restricted amd64 Packages
Hit http://us.archive.ubuntu.com natty/universe amd64 Packages
Hit http://us.archive.ubuntu.com natty/multiverse amd64 Packages
Ign http://us.archive.ubuntu.com natty/main TranslationIndex
Ign http://us.archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com natty/restricted TranslationIndex
Ign http://us.archive.ubuntu.com natty/universe TranslationIndex
Hit http://us.archive.ubuntu.com natty-updates/main Sources
Hit http://us.archive.ubuntu.com natty-updates/restricted Sources
Hit http://us.archive.ubuntu.com natty-updates/universe Sources
Ign http://extras.ubuntu.com natty/main Translation-en
Hit http://us.archive.ubuntu.com natty-updates/multiverse Sources
Hit http://us.archive.ubuntu.com natty-updates/main amd64 Packages
Hit http://us.archive.ubuntu.com natty-updates/restricted amd64 Packages
Hit http://us.archive.ubuntu.com natty-updates/universe amd64 Packages
Ign http://ppa.launchpad.net natty/main Translation-en
Hit http://us.archive.ubuntu.com natty-updates/multiverse amd64 Packages
Ign http://us.archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/universe TranslationIndex
Hit http://us.archive.ubuntu.com natty-backports/main amd64 Packages
Hit http://us.archive.ubuntu.com natty-backports/restricted amd64 Packages
Hit http://us.archive.ubuntu.com natty-backports/universe amd64 Packages
Hit http://us.archive.ubuntu.com natty-backports/multiverse amd64 Packages
Ign http://us.archive.ubuntu.com natty-backports/main TranslationIndex
Ign http://us.archive.ubuntu.com natty-backports/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com natty-backports/restricted TranslationIndex
Ign http://us.archive.ubuntu.com natty-backports/universe TranslationIndex
Ign http://security.ubuntu.com natty-security/main Translation-en
Ign http://security.ubuntu.com natty-security/multiverse Translation-en
Ign http://security.ubuntu.com natty-security/restricted Translation-en
Ign http://security.ubuntu.com natty-security/universe Translation-en
Ign http://us.archive.ubuntu.com natty/main Translation-en
Ign http://us.archive.ubuntu.com natty/multiverse Translation-en
Ign http://us.archive.ubuntu.com natty/restricted Translation-en
Ign http://us.archive.ubuntu.com natty/universe Translation-en
Ign http://us.archive.ubuntu.com natty-updates/main Translation-en
Ign http://us.archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://us.archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://us.archive.ubuntu.com natty-updates/universe Translation-en
Ign http://us.archive.ubuntu.com natty-backports/main Translation-en
Ign http://us.archive.ubuntu.com natty-backports/multiverse Translation-en
Ign http://us.archive.ubuntu.com natty-backports/restricted Translation-en
Ign http://us.archive.ubuntu.com natty-backports/universe Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

This is because the Unity desktop does not load, it switches to classic mode, the suggestion was to

f you have Nvidia card and you cannot see any drivers for your card, you can use this PPA to install them right away. (this PPA works on 11.04 also) -

sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-current nvidia-current-modaliases nvidia-settings
*****HERE I ALWAYS GET THE BROKEN PACKAGES MESSAGE***********
and restart the system.

Source: http://www.linoob.com/2011/04/installing-ubuntu-11-04-and-testing-unity/

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xserver-xorg-video-nv Edit question
Assignee:
No assignee Edit question
Solved by:
Barry Dryden
Solved:
Last query:
Last reply:
Revision history for this message
Barry Dryden (brdmann) said :
#1
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Can you give the output of:

gedit /etc/apt/sources.list

Thanks

Revision history for this message
Barry Dryden (brdmann) said :
#3

here the output of gedit /etc/apt/sources.list is:
# deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Beta amd64 (20110416)]/ natty main restricted
# deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Beta amd64 (20110416)]/ natty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ natty main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ natty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ natty-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ natty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ natty universe
deb-src http://us.archive.ubuntu.com/ubuntu/ natty universe
deb http://us.archive.ubuntu.com/ubuntu/ natty-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ natty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ natty multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ natty multiverse
deb http://us.archive.ubuntu.com/ubuntu/ natty-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ natty-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu natty-security main restricted
deb-src http://security.ubuntu.com/ubuntu natty-security main restricted
deb http://security.ubuntu.com/ubuntu natty-security universe
deb-src http://security.ubuntu.com/ubuntu natty-security universe
deb http://security.ubuntu.com/ubuntu natty-security multiverse
deb-src http://security.ubuntu.com/ubuntu natty-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu natty partner
# deb-src http://archive.canonical.com/ubuntu natty partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu natty main
deb-src http://extras.ubuntu.com/ubuntu natty main
deb http://us.archive.ubuntu.com/ubuntu/ natty restricted main multiverse universe

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

## Major bug fix updates produced after the final release of the
## distribution.

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://us.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu natty partner
# deb-src http://archive.canonical.com/ubuntu natty partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.

Revision history for this message
Barry Dryden (brdmann) said :
#4

I've reloaded my release and everything seems to be working fine now.