SUSE 12 zypper can't install unsigned package non interactively
1
vote
2
answers
1861
views
I have a problem with SUSE 12
zypper
.
I need to install an unsigned package with zypper in non-interactive mode from script. Unfortunately, zypper
version is 1.13 and there is no option for flag --allow-unsigned-rpm
. So I've been trying to "pipe" output of the printf
command into zypper
, but having no luck so far.
Here is an example of what I am doing:
printf "y\ni\n" | sudo zypper install UNSIGNED_RPM_PATH_HERE
What am I doing wrong? This pipe works for every other script I tried to write myself.
Asked by Evgeniy Zinchenko
(21 rep)
May 10, 2022, 07:04 AM
Last activity: Oct 18, 2023, 02:16 AM
Last activity: Oct 18, 2023, 02:16 AM