[solved] nvidia drivers have been kept back

Kernels & Hardware, configuring network, installing services

[solved] nvidia drivers have been kept back

Postby obaino » 2018-07-24 06:27

I am using Debian stretch 9.5 xfce / kernel 4.9.0-7-amd64
this is inxi -G
Code: Select all
Graphics:  Card: NVIDIA GP107 [GeForce GTX 1050]
           Display Server: X.Org 1.19.2 driver: nvidia Resolution: 1920x1080@60.00hz
           GLX Renderer: GeForce GTX 1050/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 375.82

on apt upgrade I get this:
Code: Select all
The following packages have been kept back:
  libcuda1 libcuda1:i386 libegl-nvidia0 libegl1-glvnd-nvidia libgl1-nvidia-glx
  libgl1-nvidia-glx:i386 libgles-nvidia1 libgles-nvidia2 libgles1-glvnd-nvidia
  libgles2-glvnd-nvidia libglx-nvidia0 libglx0-glvnd-nvidia libnvidia-cfg1 libnvidia-compiler
  libnvidia-eglcore libnvidia-fatbinaryloader libnvidia-fatbinaryloader:i386 libnvidia-glcore
  libnvidia-glcore:i386 libnvidia-ml1 libopengl0-glvnd-nvidia nvidia-alternative nvidia-driver
  nvidia-driver-bin nvidia-driver-libs nvidia-egl-icd nvidia-kernel-dkms nvidia-kernel-support
  nvidia-opencl-icd nvidia-smi nvidia-vdpau-driver xserver-xorg-video-nvidia
0 upgraded, 0 newly installed, 0 to remove and 32 not upgraded.

I tried to figure out what happens if I proceed with upgrade through synaptic and it looks like it will uninstall many parts of my system so I am really concerned about it.
running
Code: Select all
sudo apt-get --with-new-pkgs upgrade
as is suggested here hasn't installed anything either.
What would you suggest to do? I would like to have the updated nvidia drivers but I don't want to risk breaking my system.

Thank you in advance for any help
Last edited by obaino on 2018-07-30 20:07, edited 1 time in total.
obaino
 
Posts: 17
Joined: 2017-05-13 11:00
Location: Greece

Re: nvidia drivers have been kept back

Postby dilberts_left_nut » 2018-07-24 07:29

Code: Select all
apt-cache policy nvidia-kernel-dkms
?
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4858
Joined: 2009-10-05 07:54
Location: enzed

Re: nvidia drivers have been kept back

Postby obaino » 2018-07-24 17:36

Thank you for your reply.

This is what I get:
Code: Select all
apt-cache policy nvidia-kernel-dkms                                               
nvidia-kernel-dkms:
  Installed: 375.82-1~deb9u1
  Candidate: 384.130-1
  Version table:
     384.130-1 500
        500 http://ftp.gr.debian.org/debian stretch/non-free amd64 Packages
 *** 375.82-1~deb9u1 100
        100 /var/lib/dpkg/status
obaino
 
Posts: 17
Joined: 2017-05-13 11:00
Location: Greece

Re: nvidia drivers have been kept back

Postby obaino » 2018-07-25 20:46

any guidance (i.e. a link to read) would be really appreciated!
obaino
 
Posts: 17
Joined: 2017-05-13 11:00
Location: Greece

Re: nvidia drivers have been kept back

Postby Bulkley » 2018-07-25 21:17

Where did you get the kernel 4.9.0-7-amd64? I'm showing 4.9.0-6-amd64. I don't know whether or not the kernel is an issue but you might try the older one.
Bulkley
 
Posts: 5601
Joined: 2006-02-11 18:35

Re: nvidia drivers have been kept back

Postby milomak » 2018-07-25 21:31

what is your sources.list?

nvidia drivers and kernels are very linked

please also apt-cache policy xserver-xorg-video-nvidia
iMac - MacOS and Windows 10 (Bootcamp)/ Debian Sid (External SSD)
Laptop (64-bit) - Debian Sid, Win10,
Kodi Box - Debian Sid
milomak
 
Posts: 1723
Joined: 2009-06-09 22:20

Re: nvidia drivers have been kept back

Postby ticojohn » 2018-07-26 01:58

Bulkley wrote:Where did you get the kernel 4.9.0-7-amd64? I'm showing 4.9.0-6-amd64. I don't know whether or not the kernel is an issue but you might try the older one.

For info only, my latest update on July 21 installed kernel 4.9.0-7-amd64.
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 801
Joined: 2009-08-29 18:10
Location: Costa Rica

Re: nvidia drivers have been kept back

Postby Bulkley » 2018-07-26 02:11

ticojohn wrote:
Bulkley wrote:For info only, my latest update on July 21 installed kernel 4.9.0-7-amd64.

That's curious. I ran apt update && apt upgrade today and it says 0 upgrades available. I still have 4.9.0-6-amd64.
Bulkley
 
Posts: 5601
Joined: 2006-02-11 18:35

Re: nvidia drivers have been kept back

Postby dilberts_left_nut » 2018-07-26 02:35

Seems 375 was replaced in stable by 384 for spectre/meltdown mitigation reasons.
Given the array of multilib nvidia packages shown in OP’s post, it’s possibly some package depending on a 375 package explicitly - aptitude might be the tool to unravel it.

... assuming it’s a clean Debian system, which i’m not convinced of yet - unadulterated stable tends to work without issue in most cases.
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4858
Joined: 2009-10-05 07:54
Location: enzed

Re: nvidia drivers have been kept back

Postby obaino » 2018-07-26 17:11

here is the requested info

milomak wrote:what is your sources.list?


Code: Select all
# deb cdrom:[Official Debian GNU/Linux Live 9.2.0 xfce 2017-10-07T16:23]/ stretch main
# deb cdrom:[Official Debian GNU/Linux Live 9.2.0 xfce 2017-10-07T16:23]/ stretch main

deb http://ftp.gr.debian.org/debian/ stretch main non-free contrib
# deb-src http://ftp.gr.debian.org/debian/ stretch main non-free contrib

deb http://security.debian.org/debian-security stretch/updates main contrib non-free
# deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free

# stretch-updates, previously known as 'volatile'
deb http://ftp.gr.debian.org/debian/ stretch-updates main contrib non-free
# deb-src http://ftp.gr.debian.org/debian/ stretch-updates main contrib non-free

#stretch-backports
# deb http://ftp.gr.debian.org/debian stretch-backports main contrib non-free



milomak wrote:please also apt-cache policy xserver-xorg-video-nvidia

Code: Select all
xserver-xorg-video-nvidia:
  Installed: 375.82-1~deb9u1
  Candidate: 384.130-1
  Version table:
     384.130-1 500
        500 http://ftp.gr.debian.org/debian stretch/non-free amd64 Packages
 *** 375.82-1~deb9u1 100
        100 /var/lib/dpkg/status


Thank you once again!
obaino
 
Posts: 17
Joined: 2017-05-13 11:00
Location: Greece

Re: nvidia drivers have been kept back

Postby obaino » 2018-07-27 21:36

apt-cache depends nvidia-driver:
Code: Select all
nvidia-driver
  PreDepends: nvidia-installer-cleanup
    nvidia-installer-cleanup:i386
  PreDepends: nvidia-legacy-check
    nvidia-legacy-check:i386
 |Depends: nvidia-driver-libs
  Depends: nvidia-driver-libs-nonglvnd
  Depends: nvidia-driver-bin
  Depends: xserver-xorg-video-nvidia
  Depends: nvidia-vdpau-driver
  Depends: nvidia-alternative
    nvidia-alternative:i386
 |Depends: nvidia-kernel-dkms
    nvidia-kernel-dkms:i386
  Depends: <nvidia-kernel-384.130>
    nvidia-kernel-dkms:i386
    nvidia-kernel-dkms
  Depends: nvidia-support
    nvidia-support:i386
  Breaks: <nvidia-glx>
  Recommends: nvidia-settings
  Recommends: nvidia-persistenced
    nvidia-persistenced:i386
 |Suggests: nvidia-kernel-dkms
    nvidia-kernel-dkms:i386
  Suggests: nvidia-kernel-source
  Replaces: <nvidia-glx>

so this means that if I update the nvidia driver I'll break nvidia-glx?
obaino
 
Posts: 17
Joined: 2017-05-13 11:00
Location: Greece

Re: nvidia drivers have been kept back

Postby obaino » 2018-07-27 21:42

Also, when I'm doing sudo apt upgrade nvidia-driver
i get:
Code: Select all
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nvidia-driver : Depends: nvidia-driver-libs (= 384.130-1) but 375.82-1~deb9u1 is to be installed or
                          nvidia-driver-libs-nonglvnd (= 384.130-1) but it is not going to be installed
                 Depends: nvidia-driver-bin (= 384.130-1) but 375.82-1~deb9u1 is to be installed
                 Depends: xserver-xorg-video-nvidia (= 384.130-1) but 375.82-1~deb9u1 is to be installed
                 Depends: nvidia-vdpau-driver (= 384.130-1) but 375.82-1~deb9u1 is to be installed
                 Depends: nvidia-alternative (= 384.130-1)
E: Broken packages

what would be the recommended course of action?
obaino
 
Posts: 17
Joined: 2017-05-13 11:00
Location: Greece

Re: nvidia drivers have been kept back

Postby dilberts_left_nut » 2018-07-28 03:40

Have you done an ‘apt update’?
The 375 version no longer exists in the stable repo.

As said before, aptitude has a better resolver and the ncurses interface would be my choice to investigate the issue and options.
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4858
Joined: 2009-10-05 07:54
Location: enzed

Re: nvidia drivers have been kept back

Postby sunrat » 2018-07-28 04:03

This -
Have you done an ‘apt update’?
The 375 version no longer exists in the stable repo.


Bulkley wrote:Where did you get the kernel 4.9.0-7-amd64? I'm showing 4.9.0-6-amd64. I don't know whether or not the kernel is an issue but you might try the older one.

4.9.0-7 is the latest Stretch kernel. dist-upgrade may be necessary to get it.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2391
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: nvidia drivers have been kept back

Postby kevinthefixer » 2018-07-29 01:05

sunrat wrote:4.9.0-7 is the latest Stretch kernel. dist-upgrade may be necessary to get it.

Nope, Synaptic upgraded my kernel just using the "reload" and "mark upgrades" buttons. No dist-upgrade needed. Happened July 14 for me.
kevinthefixer
 
Posts: 68
Joined: 2018-05-05 22:30

Next

Return to System configuration

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable