Transitioning between nvidia drivers (updates, 304, 310) results in install failure due to conflicting nvidia-settings

Bug #1076414 reported by michaelcochez
612
This bug affects 142 people
Affects Status Importance Assigned to Milestone
nvidia-settings (Ubuntu)
Invalid
High
Unassigned
Precise
Invalid
Undecided
Unassigned
nvidia-settings-experimental-304 (Ubuntu)
Invalid
High
Unassigned
Precise
Invalid
Undecided
Unassigned
nvidia-settings-experimental-310 (Ubuntu)
Invalid
High
Unassigned
Precise
Invalid
Undecided
Unassigned
nvidia-settings-updates (Ubuntu)
Invalid
High
Unassigned
Precise
Invalid
Undecided
Unassigned

Bug Description

package nvidia-settings was installed. Seemed to conflict somehow.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: nvidia-settings-experimental-310 (not installed)
ProcVersionSignature: Ubuntu 3.2.0-32.51-generic 3.2.30
Uname: Linux 3.2.0-32-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu14
AptOrdering:
 nvidia-settings-experimental-310: Install
 nvidia-settings-experimental-310: Configure
Architecture: amd64
Date: Thu Nov 8 17:00:14 2012
DpkgTerminalLog:
 Unpacking nvidia-settings-experimental-310 (from .../nvidia-settings-experimental-310_310.14-0ubuntu0.1_amd64.deb) ...
 dpkg: error processing /var/cache/apt/archives/nvidia-settings-experimental-310_310.14-0ubuntu0.1_amd64.deb (--unpack):
  trying to overwrite '/usr/bin/nvidia-settings', which is also in package nvidia-settings-updates 304.43-0ubuntu0.2
DuplicateSignature:
 Unpacking nvidia-settings-experimental-310 (from .../nvidia-settings-experimental-310_310.14-0ubuntu0.1_amd64.deb) ...
 dpkg: error processing /var/cache/apt/archives/nvidia-settings-experimental-310_310.14-0ubuntu0.1_amd64.deb (--unpack):
  trying to overwrite '/usr/bin/nvidia-settings', which is also in package nvidia-settings-updates 304.43-0ubuntu0.2
ErrorMessage: trying to overwrite '/usr/bin/nvidia-settings', which is also in package nvidia-settings-updates 304.43-0ubuntu0.2
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: nvidia-settings-experimental-310
Title: package nvidia-settings-experimental-310 (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/nvidia-settings', which is also in package nvidia-settings-updates 304.43-0ubuntu0.2
UpgradeStatus: Upgraded to precise on 2012-05-16 (176 days ago)

Revision history for this message
michaelcochez (michaelcochez) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-settings-experimental-310 (Ubuntu):
status: New → Confirmed
Revision history for this message
Craig Dean (quaeritate) wrote :

I managed to work around this by switching back to nvidia-current, uninstalling nvidia-current-updates, then installing nvidia-experimental-310.

Revision history for this message
Craig Dean (quaeritate) wrote :

When changing from nvidia-current to nvidia-experimental-310 for some reson nvidia-current is not disabled and upon rebooting X does not start. The solution is to use jockey-text to disable nvidia-current.

$ sudo jockey-text -d xorg:nvidia_current

The same procedure needs to be done when moving from nvidia-experimental-310 back to nvidia-current.
$ sudo jockey-test -d kmod:nvidia_experimental_310

Strangely Jockey does not see the 310 driver as being in use, even though the nVidia settings application does. Well it is experimental...

Revision history for this message
Sod75 (launchpad-net-vernaillen) wrote :

Craig's workaround worked indeed for me too,

i used sudo jockey-text -d xorg:nvidia_experimental_304 to disable 304 which was active for me
then I also uninstalled nvidia-settings-experimental-304 as it complains that a file of this is in use
and sudo apt-get install nvidia-settings-experimental-310 ran fine afterwards

Jockey does show 310 as in use for me

sudo jockey-text --list
ERROR:root:Could not find any typelib for AppIndicator3
xorg:nvidia_current - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use)
xorg:nvidia_current_updates - NVIDIA accelerated graphics driver (post-release updates) (Proprietary, Disabled, Not in use)
xorg:nvidia_experimental_304 - NVIDIA accelerated graphics driver (**experimental** beta) (Proprietary, Disabled, Not in use)
xorg:nvidia_experimental_310 - NVIDIA accelerated graphics driver (**experimental** beta) (Proprietary, Enabled, In use)

Revision history for this message
Scott Ritchie (scottritchie) wrote : Re: Transitioning from nvidia driver 304 to 310 results in install failure due to conflicting nvidia-settings

The issue is that nvidia-settings-experimental-310 and nvidia-settings-experimental-304 both provide the nvidia-settings program, however they do not conflict with one another so dpkg tries to install them concurrently.

As a workaround, you can remove one of these packages, then the install of the other should complete.

The proper fix is for nvidia-settings-experimental-310 to conflict/replace nvidia-settings-experimental-304, or perhaps do something more generic using a conflicts/replaces/provides with a virtual package.

summary: - package nvidia-settings-experimental-310 (not installed) failed to
- install/upgrade: trying to overwrite '/usr/bin/nvidia-settings', which
- is also in package nvidia-settings-updates 304.43-0ubuntu0.2
+ Transitioning from nvidia driver 304 to 310 results in install failure
+ due to conflicting nvidia-settings
Revision history for this message
Scott Ritchie (scottritchie) wrote :

This bug can also occur when transitioning from the nvidia-settings-updates to nvidia-settings-experimental-304

summary: - Transitioning from nvidia driver 304 to 310 results in install failure
- due to conflicting nvidia-settings
+ Transitioning between nvidia drivers (updates, 304, 310) results in
+ install failure due to conflicting nvidia-settings
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-settings-experimental-304 (Ubuntu):
status: New → Confirmed
Changed in nvidia-settings-updates (Ubuntu):
status: New → Confirmed
Revision history for this message
Scott Ritchie (scottritchie) wrote :

Triaging as high as this can result in very broken systems if a new kernel is installed at the same time as no video driver will get built due to the package install failure. Also it seems to affect MANY users.

Changed in nvidia-settings-experimental-304 (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → High
Changed in nvidia-settings-experimental-310 (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → High
Changed in nvidia-settings-updates (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → High
Changed in nvidia-settings (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Scott Ritchie (scottritchie) wrote :

This does seem to be fixed in Raring, albeit by an exhaustive list of conflicts/replaces.

Revision history for this message
Alberto Milone (albertomilone) wrote :

There is a bug in both experimental-310 and experimental-304 (fixed in raring) which makes them install a binary in /usr/bin instead of using the alternatives system.

I'll work on a fix.

Changed in nvidia-settings (Ubuntu):
status: Triaged → Invalid
Changed in nvidia-settings-updates (Ubuntu):
status: Triaged → Invalid
Changed in nvidia-settings-experimental-304 (Ubuntu):
status: Triaged → In Progress
Changed in nvidia-settings-experimental-310 (Ubuntu):
status: Triaged → In Progress
Changed in nvidia-settings-experimental-304 (Ubuntu):
assignee: nobody → Alberto Milone (albertomilone)
Changed in nvidia-settings-experimental-310 (Ubuntu):
assignee: nobody → Alberto Milone (albertomilone)
Revision history for this message
Alberto Milone (albertomilone) wrote :

SRU request:

Please accept nvidia-settings-experimental-304 and nvidia-settings-experimental-310 into precise-proposed. It's a one line change that fixes the issue and that is already being used in Raring and Saucy with no problems whatsoever.

Changed in nvidia-settings-experimental-304 (Ubuntu):
status: In Progress → Fix Committed
Changed in nvidia-settings-experimental-310 (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Flames_in_Paradise (ellisistfroh-deactivatedaccount) wrote :

hi!

both files seem to be stuck in "proposed"

Since these version-numbers (exakt-hit) are not listed any longer fro Nvidia ->

https://devtalk.nvidia.com/default/topic/533434/linux/current-graphics-driver-releases/

This has good potential to confuse non-experts. Think they could get cleaned up. Thanks in advance.

Revision history for this message
Graham Inggs (ginggs) wrote :

Someone needs to test the version in precise-proposed and then tag this bug 'verification-done' or 'verification-failed' as appropriate.

Revision history for this message
Alberto Milone (albertomilone) wrote :

Is this really still an issue?

We have 304 and 319 in precise now, so we don't need obsolete experimental drivers (and settings panels) any more.

Revision history for this message
kucova (fladorik) wrote : Re: [Bug 1076414] Re: Transitioning between nvidia drivers (updates, 304, 310) results in install failure due to conflicting nvidia-settings

It is all set.

> On Sep 28, 2013, at 7:01 AM, Alberto Milone <email address hidden> wrote:
>
> Is this really still an issue?
>
> We have 304 and 319 in precise now, so we don't need obsolete
> experimental drivers (and settings panels) any more.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1076414
>
> Title:
> Transitioning between nvidia drivers (updates, 304, 310) results in
> install failure due to conflicting nvidia-settings
>
> Status in “nvidia-settings” package in Ubuntu:
> Invalid
> Status in “nvidia-settings-experimental-304” package in Ubuntu:
> Fix Committed
> Status in “nvidia-settings-experimental-310” package in Ubuntu:
> Fix Committed
> Status in “nvidia-settings-updates” package in Ubuntu:
> Invalid
> Status in “nvidia-settings” source package in Precise:
> New
> Status in “nvidia-settings-experimental-304” source package in Precise:
> New
> Status in “nvidia-settings-experimental-310” source package in Precise:
> New
> Status in “nvidia-settings-updates” source package in Precise:
> New
>
> Bug description:
> package nvidia-settings was installed. Seemed to conflict somehow.
>
> ProblemType: Package
> DistroRelease: Ubuntu 12.04
> Package: nvidia-settings-experimental-310 (not installed)
> ProcVersionSignature: Ubuntu 3.2.0-32.51-generic 3.2.30
> Uname: Linux 3.2.0-32-generic x86_64
> NonfreeKernelModules: nvidia
> ApportVersion: 2.0.1-0ubuntu14
> AptOrdering:
> nvidia-settings-experimental-310: Install
> nvidia-settings-experimental-310: Configure
> Architecture: amd64
> Date: Thu Nov 8 17:00:14 2012
> DpkgTerminalLog:
> Unpacking nvidia-settings-experimental-310 (from .../nvidia-settings-experimental-310_310.14-0ubuntu0.1_amd64.deb) ...
> dpkg: error processing /var/cache/apt/archives/nvidia-settings-experimental-310_310.14-0ubuntu0.1_amd64.deb (--unpack):
> trying to overwrite '/usr/bin/nvidia-settings', which is also in package nvidia-settings-updates 304.43-0ubuntu0.2
> DuplicateSignature:
> Unpacking nvidia-settings-experimental-310 (from .../nvidia-settings-experimental-310_310.14-0ubuntu0.1_amd64.deb) ...
> dpkg: error processing /var/cache/apt/archives/nvidia-settings-experimental-310_310.14-0ubuntu0.1_amd64.deb (--unpack):
> trying to overwrite '/usr/bin/nvidia-settings', which is also in package nvidia-settings-updates 304.43-0ubuntu0.2
> ErrorMessage: trying to overwrite '/usr/bin/nvidia-settings', which is also in package nvidia-settings-updates 304.43-0ubuntu0.2
> InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
> SourcePackage: nvidia-settings-experimental-310
> Title: package nvidia-settings-experimental-310 (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/nvidia-settings', which is also in package nvidia-settings-updates 304.43-0ubuntu0.2
> UpgradeStatus: Upgraded to precise on 2012-05-16 (176 days ago)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/nvidia-settings/+bug/1076414/+subscriptions

Changed in nvidia-settings (Ubuntu Precise):
status: New → Invalid
Changed in nvidia-settings-experimental-304 (Ubuntu):
status: Fix Committed → Invalid
Changed in nvidia-settings-experimental-310 (Ubuntu):
status: Fix Committed → Invalid
Changed in nvidia-settings-experimental-310 (Ubuntu Precise):
status: New → Invalid
Changed in nvidia-settings-updates (Ubuntu Precise):
status: New → Invalid
Changed in nvidia-settings-experimental-304 (Ubuntu Precise):
status: New → Invalid
Changed in nvidia-settings-experimental-304 (Ubuntu):
assignee: Alberto Milone (albertomilone) → nobody
Changed in nvidia-settings-experimental-310 (Ubuntu):
assignee: Alberto Milone (albertomilone) → nobody
Revision history for this message
Graham Inggs (ginggs) wrote :

Tagging verification-failed so these packages can be removed.

tags: added: verification-failed
tags: added: removal-candidate
Revision history for this message
Martin Pitt (pitti) wrote : Proposed package removed from archive

The version of nvidia-settings-experimental-310 in the proposed pocket of Precise that was purported to fix this bug report has been removed because the bugs that were to be fixed by the upload were not verified in a timely (105 days) fashion.

Revision history for this message
Martin Pitt (pitti) wrote :

The version of nvidia-settings-experimental-304 in the proposed pocket of Precise that was purported to fix this bug report has been removed because the bugs that were to be fixed by the upload were not verified in a timely (105 days) fashion.

To post a comment you must log in.