Bug 1219549

Summary: lighttpd: 1.4.73-1.1 -> 1.4.73-1.2 zypper dup: nothing provides 'group(lighttpd)'
Product: [openSUSE] openSUSE Tumbleweed Reporter: David Disseldorp <ddiss>
Component: Upgrade ProblemsAssignee: Andreas Stieger <Andreas.Stieger>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Minor    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Disseldorp 2024-02-05 03:47:51 UTC
When running zypper dup to upgrade tumbleweed from 20240128-0 -> 20240202-0 I run into the following problem, as a result of the lighttpd minor upgrade:

Problem: nothing provides 'group(lighttpd)' needed by the to be installed lighttpd-1.4.73-1.2.x86_64
 Solution 1: deinstallation of lighttpd-1.4.73-1.1.x86_64
 Solution 2: keep obsolete lighttpd-1.4.73-1.1.x86_64
 Solution 3: break lighttpd-1.4.73-1.2.x86_64 by ignoring some of its dependencies

The "lighttpd" user and group already exist:

> id -g lighttpd
468
> id -u lighttpd
106


I was hoping to fix this myself, but the spec file at https://build.opensuse.org/package/view_file/server:http/lighttpd/lighttpd.spec doesn't appear to have *any* "Requires: group(lighttpd)" line - perhaps it's added via some magic macro?
Comment 1 Thorsten Kukuk 2024-02-05 09:45:42 UTC
(In reply to David Disseldorp from comment #0)

> I was hoping to fix this myself, but the spec file at
> https://build.opensuse.org/package/view_file/server:http/lighttpd/lighttpd.
> spec doesn't appear to have *any* "Requires: group(lighttpd)" line - perhaps
> it's added via some magic macro?

Please see the many, many announcements around RPM 4.19, especially from openSUSE, which also contains a link to the openSUSE Packaging guidelines how to fix that.
Since the filelist is using group lighttpd, RPM needs this group created upfront and thus adds automatically a dependency for it.
Comment 2 Andreas Stieger 2024-02-05 10:38:53 UTC
https://build.opensuse.org/request/show/1144182
Comment 3 David Disseldorp 2024-02-05 11:51:40 UTC
(In reply to Thorsten Kukuk from comment #1)
...
> Since the filelist is using group lighttpd, RPM needs this group created
> upfront and thus adds automatically a dependency for it.

Thanks for the background.

(In reply to Andreas Stieger from comment #2)
> https://build.opensuse.org/request/show/1144182

\o/ looks good