Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#61216 - [nvidia-390xx] Update failed: unable to satisfy dependency 'linux<4.20' required by nvidia-390xx

Attached to Project: Arch Linux
Opened by pascal (yaute) - Sunday, 30 December 2018, 22:02 GMT
Last edited by Christian Hesse (eworm) - Tuesday, 01 January 2019, 21:19 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Christian Hesse (eworm)
Felix Yan (felixonmars)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 18
Private No

Details

Description:

Cannot update due to nvidia-390xx depency:

error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'linux<4.20' required by nvidia-390xx
Error installing repo packages

This task depends upon

Closed by  Christian Hesse (eworm)
Tuesday, 01 January 2019, 21:19 GMT
Reason for closing:  Fixed
Additional comments about closing:  nvidia-390xx 390.87-25
Comment by PilzAdam (PilzAdam) - Sunday, 30 December 2018, 22:21 GMT
The update for linux 4.20 seems to have forgotten to update the dependencies. See attached patch for a simple fix.
Comment by Alireza Ayinmehr (DarkSun) - Monday, 31 December 2018, 09:53 GMT
This patch doesnt work for me @PlizAdam

I tried to run `patch -Npl -i ./fix.patch`
Comment by Anarconda (Anarconda) - Monday, 31 December 2018, 10:08 GMT
@Alireza Ayinmehr (DarkSun)

The patch is working but you need to install linux 4.20 first.
Comment by Alireza Ayinmehr (DarkSun) - Monday, 31 December 2018, 11:03 GMT
@Anarconda I try to but I'll get related errors

```
error: failed to prepare transaction (could not satisfy dependencies)
:: installing linux (4.20.arch1-1) breaks dependency 'linux<4.20' required by bbswitch
:: installing linux (4.20.arch1-1) breaks dependency 'linux<4.20' required by nvidia-390xx
:: installing linux (4.20.arch1-1) breaks dependency 'linux<4.20' required by virtualbox-guest-modules-arch
:: installing linux (4.20.arch1-1) breaks dependency 'linux<4.20' required by virtualbox-host-modules-arch
```
Comment by Anarconda (Anarconda) - Monday, 31 December 2018, 11:09 GMT
In that case, maybe, is better to wait until the bug is solved.

In my case the only dependency was nvidia-390xx then I removed nvidia package, installed linux 4.20, compiled with patch, install nvidia and restart. No big deal.
Comment by Alireza Ayinmehr (DarkSun) - Tuesday, 01 January 2019, 11:20 GMT
I tried to update only `nvidia-390xx`, it updated the package but now it doesn't recognize my graphic card, please fix this bug so I can update kernel as well
Comment by Varper (Varper) - Tuesday, 01 January 2019, 18:03 GMT
@Alireza Ayinmehr (DarkSun)

As a temporary solution, you can recompile nvidia-390xx manually with asp and @PilzAdam PKGBUILD patch.
Comment by Christian Hesse (eworm) - Tuesday, 01 January 2019, 21:19 GMT
I did not notice the package function has its own dependencies... Sorry.
Just building...

Loading...