Bug 714611

Summary: zypper --no-gpg-checks update --auto-agree-with-licenses
Product: [openSUSE] openSUSE 11.3 Reporter: Hans-Georg Glöckler <hans-georg.gloeckler>
Component: YaST2Assignee: E-mail List <zypp-maintainers>
Status: RESOLVED INVALID QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: hans-georg.gloeckler
Version: Final   
Target Milestone: ---   
Hardware: i386   
OS: openSUSE 11.4   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Logfile from zypper

Description Hans-Georg Glöckler 2011-08-29 08:41:41 UTC
Created attachment 448112 [details]
Logfile from zypper

User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0

I want to start the update with zypper without any interation by the following command:
zypper --no-gpg-checks update --auto-agree-with-licenses

But I must make an interaction at the following place:
**********************
1 package to upgrade.
Overall download size: 7.0 MiB. After the operation, additional 3.0 KiB will be used.
Continue? [y/n/?] (y): 
**********************

I think this is an error

Reproducible: Always

Steps to Reproduce:
1. Login as root
2. Command: zypper --no-gpg-checks update --auto-agree-with-licenses

Actual Results:  
I must make an interaction
*****************
root@pepsi:~/_install>zypper --no-gpg-checks update --auto-agree-with-licenses
Loading repository data...
Reading installed packages...

The following package updates will NOT be installed:
  clucene-core-devel gstreamer-0_10 gstreamer-0_10-devel gstreamer-0_10-plugin-gnomevfs gstreamer-0_10-plugin-hal gstreamer-0_10-plugins-base gstreamer-0_10-plugins-good 
  gstreamer-0_10-plugins-good-lang gstreamer-0_10-utils gstreamer-utils k3b kaffeine libgstapp-0_10-0 libgstinterfaces-0_10-0 libgstreamer-0_10-0 libgstreamer-0_10-0-32bit 
  libtag-extras1 libvlc5 libwavpack1 libxine-devel libxine1 libxine1-gnome-vfs libxine1-pulse linphone mjpegtools python-numpy taglib 

The following package is going to be upgraded:
  flash-player 

1 package to upgrade.
Overall download size: 7.0 MiB. After the operation, additional 3.0 KiB will be used.                                                                                              
Continue? [y/n/?] (y): 
****************************


Expected Results:  
The software should make the update without any interaction
Comment 1 Marcus Meissner 2011-08-29 09:01:19 UTC
Do not use --no-gpg-checks, as it is the only security measure that ensures you
download from a non-malicious source. All common repos have valid GPG
signatures.

The other part I let the zypp guys answer.
Comment 2 Michael Andres 2011-08-30 10:09:45 UTC
(In reply to comment #0)
> I want to start the update with zypper without any interation by the following
> command:
> zypper --no-gpg-checks update --auto-agree-with-licenses

Also use '--non-interactive'