Unbootable system after package update: nvidia gets installed together with kernel & stucks

I’ve got an effekt multiple types. Each time I’ve installed package update with the newer kernel version via SoftwareUpdater I’ve got unbootable system: black screen and no reaction to keyboard/mouse (no Ctrl+Shift+F1, nothing).

Booting in secure mode and booting using earlier kernel version all lead to the same result => unbootable system.

The only thing that works - booting readonly snapshot (previous one), reactivating it and installing packages via YAST, manually turning off update for nvidia-packages (nvidia-gfxG04-kmp-default and nvidia-glG04).

No idea why those packages get proposed.

Output of zypper update-command (before having installed kernal update):

# zypper update
Loading repository data...
Reading installed packages...

The following 24 package updates will NOT be installed:
  autofs btrfsmaintenance btrfsprogs btrfsprogs-udev-rules e2fsprogs e2fsprogs-devel fuse gptfdisk libbtrfs0 libcom_err-devel
  libcom_err2 libext2fs-devel libext2fs2 libfuse2 libgphoto2-6 libgphoto2-6-lang libparted0 libreiserfscore0 ntfs-3g ntfsprogs parted
  parted-lang sshfs unetbootin

The following 7 NEW packages are going to be installed:
  Mesa-libGLESv1_CM1 kernel-default-4.12.14-lp150.12.25.1 kernel-default-devel-4.12.14-lp150.12.25.1
  kernel-devel-4.12.14-lp150.12.25.1 kernel-source-4.12.14-lp150.12.25.1 nvidia-gfxG04-kmp-default nvidia-glG04

The following 7 packages are going to be upgraded:
  kernel-macros kodi libxvidcore4 libxvidcore4-32bit xine-ui xvidcore youtube-dl               

It could be caused by my issues with nvidia driver some time ago (it was opensuse 42 or so):

  1. I’ve installed nvidia driver from script (it was very complex case - was hard to disable niveau)
  2. than unfortunately updated it using yast (installed nvidia binary package)
  3. than didn’t know how to clean it up.
  4. after some time I’ve uninstalled nvidia and reactivated niveau. NVidia driver hasn’t helped with closed video formats, but caused longer booting times and poor console.

Now I’ve added nvidia packages to the black list and hope it is “solved” for me. But the question is: why nvidia is proposed during installation of newer kernel version? (Why I had to suffer so long? or Could it be prevented somehow?)

These packages get installled only if the nvidia repo is active. So please show


zypper lr -d

between CODE tags ( the # in the editor layout buttons )

This is the output of the command:

# zypper lr -d                                                                                                          
Repository priorities in effect:                                                                                                                                                                                                      (See 'zypper lr -P' for details)
      20 (raised priority)  :  2 repositories                                                                                        
      99 (default priority) : 16 repositories                                                                                        
                                                                                                                                     
#  | Alias                               | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                | Service
---+-------------------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+------------------------------------------------------------------------------------+--------
 1 | adobe                               | adobe                                   | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | http://linuxdownload.adobe.com/linux/x86_64/                                       |        
 2 | download.nvidia.com-leap            | nVidia Graphics Drivers                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.nvidia.com/opensuse/leap/15.0                                      |        
 3 | dvd                                 | dvd                                     | Yes     | (r ) Yes  | Yes     |   20     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_15.0/                                 |        
 4 | http-download.opensuse.org-6e910648 | LibreOffice:Factory                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/LibreOffice:/Factory/openSUSE_Leap_15.0/ |        
 5 | http-download.opensuse.org-84f9dffb | openSUSE:Leap:42.3:Update               | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Leap:/42.3:/Update/standard/   |        
 6 | http-download.opensuse.org-87d346a1 | filesystems                             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/filesystems/openSUSE_Leap_15.0/          |        
 7 | http-download.opensuse.org-b6a2b884 | Virtualization                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Virtualization/openSUSE_Leap_15.0/       |        
 8 | http-packman.inode.at-cd1bb496      | Packman Repository                      | Yes     | (r ) Yes  | Yes     |   20     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_15.0/                                   |        
 9 | opensuse-guide.org-repo             | Libdvdcss Repository                    | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_15.0/                                 |        
10 | repo-15.0-non-oss                   | openSUSE-15.0 Non-OSS                   | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.0/repo/non-oss/                  |        
11 | repo-15.0-oss                       | openSUSE-15.0 OSS                       | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.0/repo/oss/                      |        
12 | repo-15.0-update-non-oss            | openSUSE-15.0 Updates Non-OSS           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.0/non-oss/                             |        
13 | repo-15.0-update-oss                | openSUSE-15.0 Updates OSS               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.0/oss/                                 |        
14 | repo-debug                          | openSUSE-Leap-15.0-Debug                | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://download.opensuse.org/debug/distribution/leap/15.0/repo/oss/                |        
15 | repo-debug-non-oss                  | openSUSE-Leap-15.0-Debug-Non-Oss        | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://download.opensuse.org/debug/distribution/leap/15.0/repo/non-oss/            |        
16 | repo-debug-update                   | openSUSE-Leap-15.0-Update-Debug         | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/15.0/oss/                           |        
17 | repo-debug-update-non-oss           | openSUSE-Leap-15.0-Update-Debug-Non-Oss | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/15.0/non-oss/                       |        
18 | repo-source                         | openSUSE-Leap-15.0-Source               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/source/distribution/leap/15.0/repo/oss/               |        
19 | repo-source-non-oss                 | openSUSE-Leap-15.5-Source-Non-Oss       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/source/distribution/leap/15.0/repo/non-oss/           |        


Remove the nvidia repo and this shouldn’t happen anymore.

Another thing: you have Factory repos active, which don’t match your Leap 15 install.

Thank you for advice. I’ll remove the nvidia repo.

But what do you mean with repos from Factory? The only repo not for Leap15 (except the one from adobe) is for Leap42.3 and is not activate.
The term “Factory” isn’t clear for me.
The LibreOffice Factory version is for Leap 15 (or am I confused somehow?).

Factory means a repo that is for development and more or less untested. You can break the system if you play around in factory repos without understanding the possible consequences