Bug 236360

Summary: zypper skips upgrade if --skip-interactive is set and package requires license(s) confirmation
Product: [openSUSE] openSUSE 10.2 Reporter: Lars Vogdt <lars.vogdt>
Component: libzyppAssignee: Jan Kupec <jkupec>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Normal    
Priority: P5 - None CC: asnd, mvidner
Version: Final   
Target Milestone: ---   
Hardware: i586   
OS: SUSE Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Lars Vogdt 2007-01-18 18:00:36 UTC
Running:
  /usr/bin/zypper update -t package --skip-interactive -y 
on the commandline and having an updated package for AdobeICCProfiles (containing a licence to confirm) results in a non updated system. 

zypper (zypper-0.6.13-6) displays the license and aborts the complete transaction. zypper.log shows no interesting parts for me, but the konsole output:

"[...]
<uninstall> [S0:0][package]xorg-x11-server-7.2-30.4.i586
Continue? [y/n] y
AdobeICCProfiles package license: <!-- DT:Rich -->
<p></p><p>
ADOBE SYSTEMS INCORPORATED
</p><p>
COLOR PROFILE LICENSE AGREEMENT
[...]
In order to install this package, you must agree to terms of the above licencse. Continue? [y/n] n

Aborting installation due to the need of license(s) confirmation. Please, restart the operation in interactive mode and confirm agreement with required license(s)."

output of zypper sl:
1 | Yes     | No      | YUM  | SUSE-Linux-10.2-Updates | http://ftp.tu-chemnitz.de/pub/linux/suse/ftp.suse.com/suse/update/10.2
2 | Yes     | No      | YaST | 20061129-182420         | dir:///mounts/dist/full/full-10.2-i386/
3 | Yes     | No      | YUM  | 20061130-175731         | http://repos.opensuse.org/FATE/SUSE_Factory/

I expect zypper to skip the package and continue with the rest of packages, when "--skip-interactive" is set.
Comment 1 Martin Vidner 2007-02-27 13:32:57 UTC
Jano is taking over as the primary maintainer of zypper, I am a co-maintainer.
Comment 2 Donald Arseneau 2007-10-26 06:41:25 UTC
I came to complain about this too.  

Even if some (third party) update is mis-cataloged as non-interactive, and
Even if the answer is "no" to the license agreement for the package,
Why is the whole update aborted!??


Comment 3 Jan Kupec 2007-10-26 12:07:09 UTC
I agree. Fixed in svn. Will be out in zypper 0.9.1 for factory/openSUSE 11.0.
Comment 4 Jan Kupec 2007-10-26 15:44:52 UTC
submitted