Bug 647214

Summary: zypper patch ignores "--skip-interactive"
Product: [openSUSE] openSUSE 11.3 Reporter: Rolf Krahl <rolf>
Component: libzyppAssignee: Jan Kupec <jkupec>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P2 - High CC: rolf
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.3   
Whiteboard: maint:released:11.3:37206
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Rolf Krahl 2010-10-16 12:42:19 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.10) Gecko/20100914 SUSE/3.6.10-0.3.1 Firefox/3.6.10

"zypper patch" installs interactive patches although the "--skip-interactive" command line flag is set.


Reproducible: Always

Steps to Reproduce:
# zypper list-patches
Loading repository data...
Reading installed packages...

Repository            | Name   | Version | Category | Status
----------------------+--------+---------+----------+-------
openSUSE-11.3-Updates | kernel | 3105    | security | needed

# zypper patch --skip-interactive
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW patch is going to be installed:
  kernel 

The following packages are going to be upgraded:
  kernel-desktop preload-kmp-desktop 

2 packages to upgrade.
[...]

Actual Results:  
zypper installs the kernel patch

Expected Results:  
zypper should have skipped the kernel patch, since it was marked as interactive and the -skip-interactive flag was given in the cammand line

# rpm -q zypper
zypper-1.4.5-1.10.x86_64
Comment 1 Jan Kupec 2010-10-18 08:24:41 UTC
Thanx! Fixed; to be in 1.4.8 and 1.5.1.
Comment 2 Rolf Krahl 2010-10-18 16:36:22 UTC
(In reply to comment #1)
> Thanx! Fixed; to be in 1.4.8 and 1.5.1.

Whow, that was quick! :)
Comment 3 Swamp Workflow Management 2010-12-02 09:52:32 UTC
Update released for: libsatsolver, libsatsolver-debugsource, libsatsolver-demo, libsatsolver-demo-debuginfo, libsatsolver-devel, libsatsolver-devel-debuginfo, libzypp, libzypp-bindings, libzypp-debuginfo, libzypp-debugsource, libzypp-devel, perl-satsolver, perl-satsolver-debuginfo, perl-zypp, python-satsolver, python-satsolver-debuginfo, python-zypp, ruby-satsolver, ruby-satsolver-debuginfo, ruby-zypp, satsolver-tools, satsolver-tools-debuginfo, yast2-qt-pkg, yast2-qt-pkg-debuginfo, yast2-qt-pkg-debugsource, zypper, zypper-debuginfo, zypper-debugsource
Products:
openSUSE 11.3 (debug, i586, x86_64)