Bug 236360 - zypper skips upgrade if --skip-interactive is set and package requires license(s) confirmation
Summary: zypper skips upgrade if --skip-interactive is set and package requires licens...
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: libzypp (show other bugs)
Version: Final
Hardware: i586 SUSE Other
: P5 - None : Normal with 2 votes (vote)
Target Milestone: ---
Assignee: Jan Kupec
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-18 18:00 UTC by Lars Vogdt
Modified: 2007-12-12 12:50 UTC (History)
2 users (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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