Bug 857498

Summary: openSUSE:12.3/zypper: Bug
Product: [openSUSE] openSUSE.org Reporter: Forgotten User 0wt-W6srW9 <forgotten_0wt-W6srW9>
Component: 3rd party softwareAssignee: Michael Andres <ma>
Status: RESOLVED INVALID QA Contact: E-mail List <opensuse-communityscreening>
Severity: Major    
Priority: P5 - None CC: forgotten__lyEjnLCxo
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: openSUSE 12.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User 0wt-W6srW9 2014-01-06 09:22:00 UTC
zypper ignores --skip-interactive

According to man-page skip-interactive should:

This will skip interactive patches, that  is,  those  that  need
reboot,  contain  a  message,  or update a package whose license
needs to be confirmed.

but on a 12.3 system zypper will install kernel-packages and ask for licence agreements despite the option.

Example from today will install a kernel and upgrade flash-player despite --skip-interactive:

~> zypper -q up --skip-interactive

The following package updates will NOT be installed:
[..]

The following NEW packages are going to be installed:
  gstreamer-0_10-plugins-ffmpeg kernel-desktop-3.7.10-1.24.1 libavcodec52 
  libavfilter1 libavformat52 libavutil50 libdirac_encoder0 libpostproc50 
  libswscale0 

The following packages are going to be upgraded:
  MPlayer MozillaFirefox MozillaFirefox-translations-common MozillaThunderbird 
  MozillaThunderbird-translations-common TIVsm-API64 TIVsm-BA acroread ffmpeg 
  flash-player flash-player-kde4 gdk-pixbuf-loader-rsvg gtk3-data 
  gtk3-immodule-amharic gtk3-immodule-inuktitut gtk3-immodule-thai 
  gtk3-immodule-vietnamese gtk3-tools libSDL-1_2-0 libavdevice55 libavfilter3 
  libavformat55 libavresample1 libavutil52 libgdal1 libgtk-3-0 libhdf5-8 
  libopenjp2-6 libopenssl-devel libopenssl1_0_0 libopenssl1_0_0-32bit 
  libpixman-1-0 libpixman-1-0-32bit libpixman-1-0-devel libpostproc52 
  librsvg-2-2 libswresample0 libswscale2 libxine2 libxine2-codecs openssl 
  python-gdal typelib-1_0-Gtk-3_0 xorg-x11-server xorg-x11-server-extra 

45 packages to upgrade, 9 new.
Overall download size: 286.8 MiB. After the operation, additional 163.7 MiB 
will be used.
Continue? [y/n/? shows all options] (y): 
Do you agree with the terms of the license? [yes/no] (no):



Yes, this is a duplicate of bnc #730959 but as this has effectively been ignored for 2 years, I'm bumping this with a new ticket.
Comment 1 Michael Andres 2014-01-07 10:06:38 UTC
*** Bug 730959 has been marked as a duplicate of this bug. ***
Comment 2 Michael Andres 2014-01-07 10:26:12 UTC
As the man page says, the option works on _patches_ ('zypper patch --skip-interactive' or 'zypper up -t patch --skip-interactive'); but not on plain packages.

Package metadata do not contain hints whether e.g. a reboot is suggested or for displaying additional messages. Only patches do.
Comment 3 Forgotten User 0wt-W6srW9 2014-01-07 13:44:53 UTC
Please excuse me for overlooking this.