Mailinglist Archive: opensuse-buildservice (248 mails)

< Previous Next >
[opensuse-buildservice] In zypper How do I set the value to yes and turn off prompt
  • From: <doiggl@xxxxxxxxxxxxxxxxxx>
  • Date: Thu, 29 Oct 2009 10:56:37 +1100
  • Message-id: <40eec597a0c444eeee0c3d8e029d0301@xxxxxxxxxxxxxxxxxxxxxxx>
Adding repository 'localrepo' [done]
Repository 'localrepo' successfully added
Enabled: Yes
Autorefresh: No
URI: dir:///media/disk/local-rpms

How can I avoid this error when adding repositories in a script file
I want it to automatically choose 'yes' for the next question, I don't need
the prompt.

File 'repomd.xml' is unsigned, continue? [yes/no] (no): no
Error building the cache:
Signature verification failed for repomd.xml
Warning: Disabling repository 'localrepo' because of the above error.
Loading repository data...
Reading installed packages...

the calling command is: zypper ar /media/disk/local-rpms localrepo
Also how do I set Autorefresh: to Yes ?

Thanks Glenn
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups