rpmpack: Unable to install the built rpm (without force)
Ive been trying to build an rpm using pkg_tar2rpm
when i go to install the rpm im seeing the following errors
Error: Transaction check error:
file /opt from install of envoy-0:1.19.0-pre.noarch conflicts with file from package filesystem-3.8-2.el8.x86_64
file /usr from install of envoy-0:1.19.0-pre.noarch conflicts with file from package filesystem-3.8-2.el8.x86_64
file /usr/bin from install of envoy-0:1.19.0-pre.noarch conflicts with file from package filesystem-3.8-2.el8.x86_64
if i use rpm -i --force my.rpm
it works - im wondering what im doing wrong (or not doing right) that is fooing the paths in the package
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15 (4 by maintainers)
Commits related to this issue
- Allowlist dirnames - let's users explicitly tell rpmpack which directories to inlclude. Content is always included. fixes #62 — committed to jarondl/rpmpack by jarondl 3 years ago
- Allowlist dirnames - let's users explicitly tell rpmpack which directories to inlclude. Content is always included. fixes #62 — committed to jarondl/rpmpack by jarondl 3 years ago
I can confirm that when using
3d6252945290ac5a55ebe5bc675ff9d49a4e6226
and settinguse_dir_allowlist = True,
that the RPMs now install without issue 🥳Workspace Diff
I’ve verified the new RPM works in: