Bug 465194

Summary: installing net-snmp-devel drags all sort of other stuff in
Product: [openSUSE] openSUSE 11.1 Reporter: Per Jessen <per>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P3 - Medium CC: dmacvicar, forgotten_h13THG8RK1, jsuchome, lslezak, michael.meeks, schubi
Version: RC 2   
Target Milestone: ---   
Hardware: i686   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2log gzipped
solver testcase generated via yast
solver testcase generated via yast

Description Per Jessen 2009-01-11 15:29:07 UTC
Created attachment 264352 [details]
y2log gzipped

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.8.1.6) Gecko/20070730 SUSE/2.0.0.6-25 Firefox/2.0.0.6
Build Identifier: 

I used YaST to install 'net-snmp-devel' - for some reason this dragged another few packages along:

gnome-icon-theme
popt-devel
sane-backends
python-qt4
audiofile
python-qt
python-sip
rpm-devel
esound-daemon
libQtWebKit4
libesd0
libsensors3-devel
hplip
tcpd-devel
libieee1284
python-ReportLab
sane-backends-autoconfig
graphviz-gnome
libbonobo
libbonoboui
libgnome
libgnomecanvas
libgnomeui
mozilla-xulrunner190-gnomevfs

I think I saw a total size of 98Mb being reported - why on earth is net-snmp-devel dragging all this stuff along??

Reproducible: Didn't try

Steps to Reproduce:
1.
2.
3.
Comment 1 Stephan Kulow 2009-01-14 11:20:03 UTC
it's not doing that. Did you ever install anything with yast before? Yast installs recommended packages the first time. But without solver test case there is nothing to fix.
Comment 2 Per Jessen 2009-01-14 11:55:42 UTC
No, this was the first additional package I installed after a clean 11.1 install.  Wrt a test case, how about we identify the problem first, then create the test case?
Comment 3 Stephan Kulow 2009-01-14 11:59:39 UTC
ok, yast installs recommended packages the first time you start the software manager. This has nothing to do with patterns.
Comment 4 Ladislav Slezák 2009-01-16 13:20:56 UTC
The question is should yast select the recommended packages by default?
Comment 5 Stanislav Visnovsky 2009-01-16 13:33:26 UTC
Yes, this is expected behavior.

However, explanation for user what is happening might be a worthy enhancement.
Comment 6 Per Jessen 2009-01-16 13:53:19 UTC
Just for my understanding then - why are 'esound-daemon', 'hplip' and 'sane-backends*' recommended?
Comment 7 Ladislav Slezák 2009-01-16 15:09:03 UTC
I think the packager widget should display the "Automatic Changes" popup at start up if there was no transaction at the beginning and there is at least one transaction after the initial solver run.
Comment 8 Stefan Hundhammer 2009-01-20 10:56:23 UTC
No. There is such a thing as overwhelming the user with useless popups. This is clearly such a case.

The very last thing you want as a user is to enter a dialog just to find you can't use it because some annoying pop-up pops right into your face.

If it is desired to show changes upon package selector start-up, it should be started with the "installation summary" dialog - which in this case would do the same thing, just in a much more user friendly way.
Comment 9 Duncan Mac-Vicar 2009-01-27 11:05:26 UTC
Comment #6, they are recommended because you have packages installed that recommended them. That is the behavior of YaST package selector.

We can't investigate more until you provide a solver testcase like it is mentioned in the openSUSE bug reporting page.

I would close this as INVALID or rename it as an enhancement to improve telling the user what is happening.
Comment 10 Per Jessen 2009-01-27 11:42:30 UTC
Created attachment 267870 [details]
solver testcase generated via yast

Okay, I've tried creating a solver testcase - I have no idea if I've done it right, so please let me know if this is useful.
Comment 11 Ladislav Slezák 2009-01-27 12:28:39 UTC
Stefan, could you check the dependencies in the attached test case?
Comment 12 Duncan Mac-Vicar 2009-01-27 14:16:11 UTC
>!> Solution :
>!> install intel-iamt-heci-kmp-pae-3.1.0.31_2.6.27.7_9.1-2.39.i586[repo-oss]
- - - - - - - - - -

Thats what the testcase install.

The test case has no operation at all.
Comment 13 Per Jessen 2009-01-27 14:54:04 UTC
I have no idea about how/when to create such a testcase - it sounds like I need to go back to the point just before I installed 'net-snmp-devel', and create the testcase then?  If not, please describe in detail how I should proceed.
Comment 14 Stefan Schubert 2009-01-31 17:57:18 UTC
comment #13 Yes, thats exactly the way :-)
You can also use the new widget in the single package selection in order to get information "why" something will be installed:
http://lizards.opensuse.org/author/schubi2/
If you still cannot find out the "why" set needinfo again.
Comment 15 Per Jessen 2009-02-02 10:15:53 UTC
Created attachment 269190 [details]
solver testcase generated via yast

I hope I got it right this time.  This is generated just before installing 'net-snmp', but I'm assuming the dependencies don't differ a lot from 'net-snmp-devel'.
Comment 16 Ladislav Slezák 2009-03-30 13:02:46 UTC
It seems that only recommended/suggested packages are selected, you can check that in GUI, see http://lizards.opensuse.org/2008/06/27/showing-package-dependencies/

E.g. ghostscript-library suggests hplip-hpijs package.

This is intended behavior.

However, it should be clear that yast has already preselected some packages when user starts the SW management.

Fixed in yast SVN (rev. 56460, will be in yast2-packager-2.18.4) - the summary view is used when there is something to install/remove at start. The automatic changes should be more visible now.

I guess YOU could be modified in the same way... Jiri?
Comment 17 Jiří Suchomel 2009-03-30 14:00:43 UTC
YOU shows the youMode, where the selected patches are visible on start, I think it is understandable enough.

-> nothing to be done here, closing as fixed due to previous comment