coreos / rpm-ostree

⚛📦 Hybrid image/package system with atomic upgrades and package layering
https://coreos.github.io/rpm-ostree
Other
860 stars 195 forks source link

[RFE] improve messaging when using `rpm-ostree install` + SELinux disabled #1879

Open miabbott opened 5 years ago

miabbott commented 5 years ago

The output from rpm-ostree when trying to install a package and SELinux is disabled is cryptic. See #971 and this thread on the Silverblue forums - https://discussion.fedoraproject.org/t/install-a-rpm-package/2163/

%  rpm-ostree install rstudio-1.2.1565-x86_64.rpm 
Checking out tree 26b1f69... done
Enabled rpm-md repositories: updates fedora yarn rpm-fusion
rpm-md repo 'updates' (cached); generated: 2019-08-02T00:53:01Z
rpm-md repo 'fedora' (cached); generated: 2019-04-25T23:49:41Z
rpm-md repo 'yarn' (cached); generated: 2019-07-13T08:35:18Z
rpm-md repo 'rpm-fusion' (cached); generated: 2019-04-16T20:46:20Z
Importing rpm-md... done
Resolving dependencies... done
error: Loading pkgcache branch rpmostree/pkg/rstudio/1.2.1565-1.x86__64: Failed to find metadata key rpmostree.sepolicy (signature s)

Could the error/messaging be improved here?

jlebon commented 5 years ago

this thread on the Silverblue forums - https://bodhi.fedoraproject.org/updates/FEDORA-2019-e9ec1ee945

I'm guessing you meant to paste another link here? :)

jlebon commented 5 years ago

https://discussion.fedoraproject.org/t/install-a-rpm-package/2163/10

miabbott commented 5 years ago

@jlebon thanks for the eyes...updated original comment.

srl295 commented 4 years ago

So I can understand (because I've been bit by this)— would you change the messaging to say "SELinux must be enabled to use rpm-ostree"?