Bug 406590

Summary: hpijs-standalone was installed by default instead of hplip + hplip-hpijs
Product: [openSUSE] openSUSE 11.0 Reporter: Juergen Weigert <jw>
Component: YaST2Assignee: Johannes Meixner <jsmeix>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2logs

Description Juergen Weigert 2008-07-05 14:55:01 UTC
I connect USB cable. Nothing happens.
I open YaST2 -> scanner.
It correctly detects the HP Photosmart C5200 series USB scanner.
and says 'Driver: Not configured'
I want to configure this scanner, and would expect a button labeled 
'Configure' (to be consistent with yast printer configuration)
so I press 'Edit'.
The yast screen blanks, and is unresponsive for ca 60 seconds, while the
cpu is at full load.

Then I get a long list of printer names '^Hewlett-Packard.*' 
'Hewlett-Packard Photosmart C5200 series' is alresdy highlighted,
I press Next.
A download is started, and a popup requests to install hplip.
I press Install.
An error popup appears: Error Failed to install required package hplip.
The driver hpaio requires the package hplip.

I can manually install hplip via zypper without problems.
Comment 1 Juergen Weigert 2008-07-05 14:58:53 UTC
Created attachment 226114 [details]
y2logs
Comment 2 Juergen Weigert 2008-07-05 15:10:53 UTC
I also tried 'Add' instead of 'Edit'.
This also blanks the yast screen, puts the cpu to full load and becomes unresponsive. I waited ca 10 minutes before killing it.
Comment 4 Johannes Meixner 2008-08-14 12:57:33 UTC
The reason is in Juergen's y2log:
--------------------------------------------------------
SATResolver.cc(problems):990 Encountered problems!
Here are the solutions:
...
hplip-2.8.4-28.1.i586 requires libhpip.so.0,
but this requirement cannot be provided
...
PkgSolve: 1 packages failed
...
Failed to install required package hplip.
--------------------------------------------------------

This is actualy a duplicate of bug 388149.

Because Package::Install(hplip) does not show
a dialog to the user what to do in case of a conflict,
it is - as usual - up to me to deal with it just like in
https://bugzilla.novell.com/show_bug.cgi?id=388149#c3
so that I assign this installer problem to me ;-)
Comment 5 Johannes Meixner 2008-08-14 13:57:16 UTC
Regarding comment #0:
"I press 'Edit'. The yast screen blanks, and is unresponsive
for ca 60 seconds, while the cpu is at full load."

I have no idea what goes on here.

What happens is that after "Edit" and "Add" the list of models
is built from the YaST scanner database but this needs less
than one second on my machine. The YaST scanner database is in
/var/lib/YaST2/scanner_database.ycp
which is about 500K and has about 2000 entries on my machine.
Comment 6 Johannes Meixner 2008-08-15 06:14:42 UTC
Fix for next openSUSE version.