Bug ID 1208265
Summary Automatic transactional-update doesn't agree to the NVIDIA license which leads to the update failing.
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware x86-64
OS openSUSE Tumbleweed
Status NEW
Severity Normal
Priority P5 - None
Component MicroOS
Assignee kubic-bugs@opensuse.org
Reporter touko.alasavikota@gmail.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101
Firefox/110.0
Build Identifier: 

MicroOS snapshot 20230212 with the KDE Plasma desktop. Fail occured when
upgrading to snapshot 20230213.

When running a system with an NVIDIA GPU, one often needs to use the
proprietary drivers which in this case are included in the
https://download.nvidia.com/opensuse/tumbleweed repository.

After installing the drivers, if the next system upgrade contains updates to
the NVIDIA packages, transactional-update won't agree to the license. This
leads to the transactional-update to fail.

Reproducible: Didn't try

Steps to Reproduce:
1. Install proprietary NVIDIA drivers by running the following commands:
# Add the repository containing the proprietary driver packages
sudo zypper addrepo --refresh https://download.nvidia.com/opensuse/tumbleweed
NVIDIA
# Install drivers to the next snapshot (and the user accepts the license
interactively here)
sudo transactional-update pkg install nvidia-video-G06 nvidia-gl-G06
# Boot to the next snapshot
systemctl reboot
2. Run the next transactional update that has upgrades for the NVIDIA packages.
Actual Results:  
Transactional update fails because it answered "no" to the NVIDIA license
agreement. Transactional update is aborted and the snapshot is discarded.

Expected Results:  
Transactional update should agree to the license agreement and continue with
the update.

This might happen because of wrong options supplied to zypper dup. 
transactional-update calls "zypper --no-cd dup -y
--auto-agree-with-product-licenses" while upgrading the next snapshot.
However, I don't see "--auto-agree-with-product-licenses" while using the bash
auto complete to search for options. I only see "--auto-agree-with-licenses".


You are receiving this mail because: