Bug 10724

Summary: Xsane (64bits) is unable to detect scanner on HP PhotoSmart All-in-One
Product: Mageia Reporter: Fabien Balsacq <balsacq>
Component: New RPM package requestAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: Normal CC: d.stricker, davidwhodgins, jeanyves.le-goff
Version: 3   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Fabien Balsacq 2013-07-07 00:42:46 CEST
Description of problem:
After upgrade to MGA 3, Xsane does not detect anymore the scanner on HP PhotoSmart C7280 All-in-One (connected using Ethernet, not USB).

Reason: dependency problem

The libsane-hpaio1 RPM is not installed anymore on the machine.
Maybe the package has been removed during the upgrade.
Because trying to install the package reveals the dependency problem:

# urpmi libsane-hpaio1-3.12.9-6.mga3
Certains paquetages demandés ne peuvent pas être installés :
[TRANSLATION: some packages can't be installed]
libhpip0-3.12.9-6.mga3.i586 (car libnetsnmp.so.30 est non satisfait)
[TRANSLATION: because libnetsnmp.so.30 is not statisfied]
libnet-snmp30-5.7.2-7.mga3.i586 (car perl-base-5.16.3-1.mga3.i586 est non satisfait)
[TRANSLATION: because perl-base-5.16.3-1.mga3.i586 is not statisfied]

As it's a 64 bits system, a 64 bits version of Perl is indeed installed:
# urpmi perl-base
Le paquetage perl-base-5.16.3-1.mga3.x86_64 est déjà installé
[TRANSLATION: the package perl-base-5.16.3-1.mga3.x86_64 is already installed

Trying to install the 32 bits in parallel fails silently
# urpmi perl-base-5.16.3-1.mga3.i586
#


Version-Release number of selected component (if applicable):
libsane-hpaio1-3.12.9-6.mga3.x86_64 and libnet-snmp30-5.7.2-7.mga3.i586


Workaround:
Force installation without verification of the dependencies:
# urpmi --allow-nodeps libsane-hpaio1-3.12.9-6.mga3


Possible solution:
To fix definitively the issue, providing a 64 bits version of the dependencies would allow the installation withouth problem.
Alternatively, RPM dependencies for libnet-snmp30 should be satisfied with both i586 or x64_86 version of perl-base.

Reproducible: 

Steps to Reproduce:
Comment 1 Dave Hodgins 2013-07-07 03:14:13 CEST
Since it's a 64 bit version of xsane, what happens if you try
to install lib64sane-hpaio1, instead of the 32 bit version of
the library?

$ urpmq --whatrequires lib64sane-hpaio1
lib64sane-hpaio1
task-printing-scanning

Is task-printing-scanning installed?

CC: (none) => davidwhodgins

Comment 2 Fabien Balsacq 2013-07-07 20:39:10 CEST
Yes, this was maybe not wise to use the 32bits version.

Actually, the 64bits version was already installed on the system:
# urpmi lib64sane-hpaio1
Le paquetage lib64sane-hpaio1-3.12.9-6.mga3.x86_64 est déjà installé
[TRANSLATION: the package lib64sane-hpaio1-3.12.9-6.mga3.x86_64 is already installed]

So I removed the 32 bits packages:
# urpme liblm_sensors4-3.3.3-3.mga3.i586 libhpip0-3.12.9-6.mga3.i586 libnet-snmp30-5.7.2-7.mga3.i586 libsane-hpaio1-3.12.9-6.mga3.i586

Regarding task-printing-scanning, it was not installed because it brings tons of dependencies irrelevant for my hardware. I installed it nevertheless with:
# urpmi task-printing-scanning

However, this does not help: xsane does not detect the scanner anymore.
Comment 3 Manuel Hiebel 2013-07-09 08:54:58 CEST
*** Bug 10204 has been marked as a duplicate of this bug. ***

CC: (none) => d.stricker

Comment 4 Manuel Hiebel 2013-07-09 09:06:31 CEST
sorry for comment 3.

does it work with simple-scan ?
Comment 5 Fabien Balsacq 2013-07-10 21:23:38 CEST
I didn't know about simple-scan.
But I installed it and it didn't find the scanner.

I also tried with another tool, no success:

$ scanimage -L
No scanners were identified.
Comment 6 Jean-Yves LE GOFF 2013-09-30 10:29:05 CEST
I solve the problem like this:

1. run hp-plugin -g in a root terminal. It installs the plugin automatically.
2. Install the printer again, using the mcc.


source:
https://forums.mageia.org/en/viewtopic.php?f=24&t=5635

CC: (none) => jeanyves.le-goff

Comment 7 Fabien Balsacq 2013-12-27 20:35:39 CET
Since those last test attempts, there were a few updates, lib64sane-hpaio1 and hplip, namely.
They probably brought the necessary modifications to leave the system in a clean state afterwards, because I finally did not need to re-install or re-configure the printer. And it works correctly now:

$ scanimage -L
device `hpaio:/net/Photosmart_C7200_series?zc=HPPC7280' is a Hewlett-Packard Photosmart_C7200_series all-in-one
                          
As I do not see the problem anymore, I take for granted that it has been solved automatically through those regular system updates.

Therefore, I see no reasons to keep this bug open, I suggest to close it.

Status: NEW => RESOLVED
Resolution: (none) => FIXED