Bug 1224037

Summary: transactional-update autoupdate service stops when needing to update proprietary NVIDIA drivers
Product: [openSUSE] openSUSE Aeon Reporter: Gordon Leung <pirateclip>
Component: Transactional UpdateAssignee: Richard Brown <rbrown>
Status: RESOLVED UPSTREAM QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: journalctl logs

Description Gordon Leung 2024-05-08 08:00:27 UTC
Created attachment 874757 [details]
journalctl logs

When a user has proprietary NVIDIA drivers installed, because zypper asks the user to read and accept the license every time they update the transactional-update service keeps silently failing.

In the journalctl logs I pasted you can even see the line where the service is forced to say no:

> May 06 00:58:25 localhost.localdomain transactional-update[32537]: Do you agree with the terms of the license? [yes/no] (no): no

Is there a way to make zypper only ask the user to agree to the license once when they install the drivers rather than also ask whenever the user updates them?
Comment 1 Richard Brown 2024-05-15 07:38:57 UTC
An issue for NVIDIA with their license

Aeon does automated updates, NVIDIA's license requires human interaction.
Comment 2 Gordon Leung 2024-05-15 08:56:41 UTC
For anyone just trying to look for a quick and dirty fix you can get Zypper to autoaccept proprietary licenses by going to `/etc/zypp/zypper.conf`, setting
autoAgreeWithLicense = yes

and then running `sudo dracut -f`.