You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess it is another flavor of #4165
The RPM package .spec file (generated by alien) had entries like
%dir "/"
%dir "/opt/"
%dir "/etc/"
the first one causing issues with rpm-ostree compose tree command shown above,
while the later two were causing issues with rpm-ostree install command
after these lines were removed from the .spec file rpm-ostree works fine.
When I install a package on client side it succeeds:
rpm-ostree install pylon-6.1.1.19861-1.x86_64.rpm
$ rpm-ostree status
State: idle
Deployments:
● testremote:fedora/rawhide/x86_64/silverblue
Version: 38 (2022-11-22T23:02:08Z)
BaseCommit: c0dbc242ae8124af3d8879d2383c9d0350c1283ce151ef864c3d344983036bab
LocalPackages: pylon-6.1.1.19861-1.x86_64
But when I'm trying to add the same package to and image build, the build fails:
sudo rpm-ostree compose tree --repo=repo --cachedir=cache --unified-core fedora-silverblue-extra.yaml
....
Running posttrans scripts... 50 done
Writing rpmdb... done
error: Writing rpmdb: Error running transaction: file / conflicts between attempted installs of pylon-6.1.1.19861-1.x86_64 and filesystem-3.18-2.fc37.x86_64
The text was updated successfully, but these errors were encountered: