I use “zypper --non-interactive in python” (under SLES 10.2, bash script) to install python but get:
Entering non-interactive mode.
Restoring system sources…
Do you want to trust key id A84EDAE89C800ACA, SuSE Package Signing Key <build@suse.de>, fingerprint 79C179B2E1C820C1890F9994A84EDAE89C800ACA [y/n]: n
Do you want to trust key id A84EDAE89C800ACA, SuSE Package Signing Key <build@suse.de>, fingerprint 79C179B2E1C820C1890F9994A84EDAE89C800ACA [y/n]: n
Failed to restore sources
I tried the same command four or five months ago, and the default answer was definitely “y” since I completed the installation successfully. Can anyone explain it and tell me how to set(?) the default answer to “yes” to let me install “python” and other packages? Thanks in advance.
sounds like you want a yes-to-everything mode rather than the non-interactive mode you are using; I don’t believe such a mode exists, but you could check:
while all answers you get here may be useful, you need to realize
that many (most?) folks here have never run SLES…
and, afaik there is no such thing as SLES 10.2, there is a SLES SP2,
and there is an openSUSE 10.2, but they are VERY different…and, 10.2
hit end of life a couple of years ago…
i know for certain that the zipper commands that most folks here use
are from the 11.x series and will NOT work on my 10.3, so beware who
and where you ask…the BEST place for all SLEx questions is over in forums.novell.com [well, in my opinion since you pay for the support
it is the only place to ask, but that is your decision.]
you are, however, welcome to hang here, just be carefully (no
disrespect to the previous answerers…yours may be both helpful and
perfect…i do not know a thing about SLES 10, never seen one…ever.)