FS#62274 - Conflicts with extra/nvidia-340xx-settings

Attached to Project: Arch Linux
Opened by bobpaul (bobpaul) - Monday, 08 April 2019, 01:00 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 06 June 2019, 11:30 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Giancarlo Razzolini (grazzolini)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
extra/nvidia-340xx-settings has nvidia-340xx-utils as a dependency, yet attempting to install nvidia-340xx-setting if nvidia-340xx-utils is already installed produces:

```$ sudo pacman -S nvidia-340xx-settings
resolving dependencies...
looking for conflicting packages...

Packages (2) libxnvctrl-340xx-340.107-1 nvidia-340xx-settings-340.107-1

Total Installed Size: 2.32 MiB

:: Proceed with installation? [Y/n] y
(2/2) checking keys in keyring [-------------------------------------------] 100%
(2/2) checking package integrity [-------------------------------------------] 100%
(2/2) loading package files [-------------------------------------------] 100%
(2/2) checking for file conflicts [-------------------------------------------] 100%
error: failed to commit transaction (conflicting files)
nvidia-340xx-settings: /usr/bin/nvidia-settings exists in filesystem (owned by nvidia-340xx-utils)
nvidia-340xx-settings: /usr/share/applications/nvidia-settings.desktop exists in filesystem (owned by nvidia-340xx-utils)
nvidia-340xx-settings: /usr/share/man/man1/nvidia-settings.1.gz exists in filesystem (owned by nvidia-340xx-utils)
nvidia-340xx-settings: /usr/share/pixmaps/nvidia-settings.png exists in filesystem (owned by nvidia-340xx-utils)
Errors occurred, no packages were upgraded.```

It seems like it's currently not possible to install nvidia-340xx-settings at all. If the packages conflict, they should state that they conflict.

Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
1. sudo pacman -S nvidia-340xx
2. sudo pacman -S nvidia-340xx-settings
This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 06 June 2019, 11:30 GMT
Reason for closing:  None
Additional comments about closing:  Package dropped
Comment by loqs (loqs) - Tuesday, 09 April 2019, 00:16 GMT
@bobpaul if you rebuild nvidia-340xx-utils with lines 115 to 120 of the PKGBUILD [1] removed can you then install nvidia-340xx-settings along with the modified nvidia-340xx-utils?

[1] https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/nvidia-340xx-utils&id=beae3df33f8b794b9a50d1538f7121514830bfb1#n115
Comment by bobpaul (bobpaul) - Thursday, 11 April 2019, 03:15 GMT
Yes, removing those lines allows both packages to install.

Loading...