Bug 382013

Summary: Possible solver bug: Overall download size: 47.7 M. After the operation, 4.3 G will be freed.
Product: [openSUSE] openSUSE 11.0 Reporter: Jan Blunck <jblunck>
Component: libzyppAssignee: E-mail List <zypp-maintainers>
Status: RESOLVED INVALID QA Contact: Duncan Mac-Vicar <dmacvicar>
Severity: Normal    
Priority: P5 - None CC: matz, mls
Version: Factory   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: zypper.solverTestCase

Description Jan Blunck 2008-04-21 16:19:10 UTC
I'm trying to install acroread with the following repositories enabled:

1  | Yes     | Yes     | rpm-md | KDE:KDE4:STABLE:Extra-Apps  | KDE:KDE4:STABLE:Extra-Apps 
2  | Yes     | Yes     | rpm-md | home:janblunck              | home:janblunck             
3  | Yes     | Yes     | rpm-md | KDE:KDE4:STABLE:Community   | KDE:KDE4:STABLE:Community  
4  | Yes     | Yes     | yast2  | openSUSE-FACTORY_10.3.1     | openSUSE-FACTORY           
5  | No      | No      | yast2  | stable-x86                  | stable-x86                 
6  | Yes     | Yes     | rpm-md | KDE:KDE4:STABLE:Desktop     | KDE:KDE4:STABLE:Desktop    
7  | Yes     | Yes     | yast2  | openSUSE-debuginfo-FTP_11.0 | openSUSE-debuginfo-FTP 11.0
8  | Yes     | Yes     | rpm-md | Base:install                | Base:install               
9  | Yes     | Yes     | yast2  | openSUSE-FACTORY-non-oss    | openSUSE-FACTORY-non-oss   
10 | Yes     | Yes     | rpm-md | GNOME:Community             | GNOME:Community            

# zypper install acroread 
Reading installed packages...

The following packages are going to be upgraded:
  iwl4965-ucode pango-32bit pam_thinkfinger openSUSE-release libthinkfinger 
libgnomecanvas-32bit libgnome-32bit libglade2-32bit libbonoboui-32bit hwinfo 
gtk2-32bit gnome-vfs2-32bit gnome-keyring-32bit gconf2-32bit gail-32bit cairo-32bit 
aaa_base PolicyKit-doc glib2-branding-openSUSE 


The following NEW packages are going to be installed:
  acroread mozilla-xulrunner181-32bit libcurl4-32bit compat-openssl097g-32bit 
bundle-lang-common-ar 


The following packages are going to be re-installed:
  mingetty libcares2 

The following packages are going to be REMOVED:

...

Overall download size: 47.7 M. After the operation, 4.3 G will be freed.
Continue? [YES/no]: no

Zypper tries to deinstall everything except a few packages. I think this is a solver bug.
Comment 1 Jan Blunck 2008-04-21 16:21:06 UTC
Created attachment 209377 [details]
zypper.solverTestCase
Comment 2 Stephan Kulow 2008-04-21 19:25:29 UTC
No, it's the price to install acroread with that repos :)

The zypper maintainer decided that --force-resolution is a good default, so you always see the direct consequences of your action. If you had used --no-force-resolution, you would have seen something along this:

package acroread-8.1.2-22.i586 requires libcurl.so.4, but none of the providers can be installed
Comment 3 Michael Schröder 2008-04-22 07:20:02 UTC
(Btw, the real problem is the missing libcares2-32bit, which makes it impossible to install libcurl4-32bit)
Comment 4 Michael Matz 2008-04-22 13:53:27 UTC
It would probably be nice of zypper, that, if the solution involves removing
more than (say) 50% of the packages, that it reruns the solver with
forceresolution being off.
Comment 5 Jan Kupec 2008-04-22 22:38:20 UTC
I agree :O)