Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpm --import url shows non-specific error message when curl is not available #2683

Open
andrii-suse opened this issue Sep 29, 2023 · 0 comments
Labels

Comments

@andrii-suse
Copy link

Snippet below first shows that import command works successfully, then it shows generic error message when curl is uninstalled from the system

# rpm --import https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
# echo $?
0
# rpm -e curl
# rpm --import https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
error: https://yum.mariadb.org/RPM-GPG-KEY-MariaDB: import read failed(2).
# rpm -vvv --import https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
ufdio:       1 reads,    19077 total bytes in 0.000005 secs
error: https://yum.mariadb.org/RPM-GPG-KEY-MariaDB: import read failed(2).

rpm should e.g. show exact failing command, at least when verbosity is increased.

@ffesti ffesti added the bug label Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

2 participants