Re: [opensuse] zypper totally non-interactive?
- From: Martin Mielke <m_mlk@xxxxxxxxx>
- Date: Wed, 10 Nov 2010 13:46:41 -0800 (PST)
Hi,
is this what you were looking for?
--non-interactive, -n Do not ask anything, use default answers
automatically.
Cheers,
Martin
----- Original Message ----
From: Roger Oberholtzer <roger@xxxxxx>
To: opensuse@xxxxxxxxxxxx
Sent: Wed, November 10, 2010 4:59:58 PM
Subject: [opensuse] zypper totally non-interactive?
I want to add a call to zypper to a Tcl script. I have no trouble
determining what missing packages I want to install and running the
script. The problem is that zypper insists, it seems, on asking for
confirmation about installing packages. I understand that it is probably
generally bad form to install without getting user ok. In this case, I
am doing a check of a newly installed openSUSE system, and I want to be
sure no required packages are missing. I see how to tell zypper to auto
OK license files. But I see no way to tell it to auto OK installing
packages.
I know I know I know. But is there such an option? (I did not ask if
there SHOULD be an option. I do not want that discussion.)
Not having such an option does not stop a potential hidden package
installation. All I need to do is wrap the script in 'expect'. It is
just that this increases the list of required packages that I need to
run this. And I am trying to minimize that list.
--
Roger Oberholtzer
OPQ Systems / Ramböll RST
Ramböll Sverige AB
Krukmakargatan 21
P.O. Box 17009
SE-104 62 Stockholm, Sweden
Office: Int +46 10-615 60 20
Mobile: Int +46 70-815 1696
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] zypper totally non-interactive?
- From: Roger Oberholtzer
- Re: [opensuse] zypper totally non-interactive?
- References:
- [opensuse] zypper totally non-interactive?
- From: Roger Oberholtzer
- [opensuse] zypper totally non-interactive?
- Prev by Date: [opensuse] Missing SEO Tools
- Next by Date: [opensuse] help building inkscape 0.48 on 11.0 - errno.h has no EINVAL or ERANGE defines?
- Previous by thread: Re: [opensuse] zypper totally non-interactive?
- Next by thread: Re: [opensuse] zypper totally non-interactive?
- Index(es):
Relevant Pages
|