I was installing an rpm and satisfied the other needed rpm dependencies but still had a dependencie requiring a user and group entry (name=lp). I already have user and group named 'lp', so why doesn't rpm recognize them? More importantly how can I get rpm to recognize that the user+group dependencies are already satisfied?
If I am creating a spec file for an rpm, how can I specify in a spec file, that installation of said spec file satisfies some user and/or group dependency?
This doesn't seem to be something I would put in a %pre (that used to be how I might do it), but seems to be a dependency that is inserted (or detected) in the rpm database. I don't want to try to create a user/group on the system, only detect (or satisfy the need for such) in the rpm DB.
Here is the output of rpm, showing the "reqs" of the package.
rpm -q --requires cups-config-2.3.3-3.1.x86_64.rpm
config(cups-config) = 2.3.3-3.1
group(lp)
rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsZstd) <=> 5.4.18-1
user(lp)