Bug 12496 - drakscanner can't install SANE packages (xsane missing in task-scanning)
Summary: drakscanner can't install SANE packages (xsane missing in task-scanning)
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords: Junior_job
Depends on:
Blocks:
 
Reported: 2014-01-31 22:36 CET by David GEIGER
Modified: 2015-09-27 08:46 CEST (History)
7 users (show)

See Also:
Source RPM: task-scanning
CVE:
Status comment:


Attachments
proper fix (1.03 KB, patch)
2014-04-02 06:27 CEST, Thierry Vignaud
Details | Diff

Description David GEIGER 2014-01-31 22:36:21 CET
Hi,

On a full fresh install of mga4 (for test)(Mageia-4-x86_64-DVD):

When I open drakscanner, he said he must install the SANE packages but it does not install them.

-------------------------------------------------------
SANE packages need to be installed to use scanners.

Do you want to install the SANE packages ?
--------------------------------------------------------

I click on YES, but it failed to installed this one.

Reproducible: 

Steps to Reproduce:
Comment 1 Olivier Delaune 2014-03-06 19:05:29 CET
Same here,on Mga4 64-bits. Moreprecisely, drakscanner installs simple-scan and task-scanning but nothing else.
After that if one closes draksanner and one reopens it, the message saying that SANE packages need to be installed reappear.

CC: (none) => olivier.delaune

Comment 2 Manuel Hiebel 2014-03-23 15:18:35 CET
and if you install xsane ?

Keywords: (none) => Junior_job
Summary: drakscanner can't install SANE packages => drakscanner can't install SANE packages (xsane missing in task-scanning)
Source RPM: (none) => task-scanning

Comment 3 David GEIGER 2014-03-23 15:25:21 CET
If I install the xsane package manually it works.

But it should be installed by MCC, since it was he who proposed.
Comment 5 Thomas Spuhler 2014-04-01 22:43:44 CEST
I fixed this by adding Requires: xsane to this package. It doesn't hurt (we still have simple-scan as a requires and they can coexist.And Gimp likes it too.
The following pacakges are not in updates_testing:
task-scanning-2011.0-5.1.mga4.src.rpm
task-scanning-2011.0-5.1.mga4.noarch.rpm

Status: NEW => ASSIGNED
CC: (none) => thomas
Assignee: bugsquad => qa-bugs

Comment 6 Thierry Vignaud 2014-04-02 06:27:53 CEST
Created attachment 5089 [details]
proper fix

Adding this require wasn't the proper fix.

Droping the dialog is the right fix.
(we only need sane-find-scanner which is already pulled)
Comment 7 Thomas Spuhler 2014-04-02 17:27:07 CEST
(In reply to Thierry Vignaud from comment #6)
> Created attachment 5089 [details]
> proper fix
> 
> Adding this require wasn't the proper fix.
> 
> Droping the dialog is the right fix.
> (we only need sane-find-scanner which is already pulled)

are you going to fix this?
Comment 8 Lewis Smith 2014-04-02 20:32:58 CEST
Wanting to test this, I am unclear whether it is ready for testing.
Should it be greyed on the madb list for the moment?

CC: (none) => lewyssmith

Comment 9 Thierry Vignaud 2014-04-03 03:27:06 CEST
(In reply to Thomas Spuhler from comment #7)
> are you going to fix this?

It worked for me.
If more people test this manually, I'll then commit it in git
& do a proper release (& revert your change)
Comment 10 Thomas Spuhler 2014-04-03 03:38:30 CEST
(In reply to Thierry Vignaud from comment #9)
> (In reply to Thomas Spuhler from comment #7)
> > are you going to fix this?
> 
> It worked for me.
> If more people test this manually, I'll then commit it in git
> & do a proper release (& revert your change)

Why not commit it and submit to updates_testing?
Comment 11 Thierry Vignaud 2014-04-03 03:40:38 CEST
Why cannot I wait for at least one person to confirm it's OK?
Comment 12 William Kenney 2014-04-12 22:01:19 CEST
In VirtualBox, M4, KDE, 32-bit & 64-bit Live-DVD

Package(s) under test:
drakscanner

Given that what is under test here is the fact that the
package drakscanner repeatedly installs "SANE packages"
not any functional problems. Using the M4 Live-DVD
packages I removed the local repo on the disk and used
my local repo. I then confirmed that launching drakscanner
from a terminal repeatedly requests to install the
SANE packages. If I then install xsane then launch
drakscanner from a terminal the request to install
SANE does not occur and drakscanner launches properly.
If I then remove xsane then relaunch drakscanner
from a terminal it reverts back to repeatedly
requesting a SANE install. This process is true
for both the 32-bit and 64-bit Live-DVD's.

Test platform:
Intel Core i7-2600K Sandy Bridge 3.4GHz
GIGABYTE GA-Z68X-UD3-B3 LGA 1155 MoBo
GIGABYTE GV-N440D3-1GI Nvidia GeForce GT 440 (Fermi) 1GB
RTL8111/8168B PCI Express 1Gbit Ethernet
DRAM 16GB (4 x 4GB)
Mageia 4 64-bit, Nvidia driver
VirtualBox 4.3.6-1.mga4.x86_64.rpm

CC: (none) => wilcal.int

Comment 13 Arnaud Vacquier 2014-04-14 17:05:01 CEST
hi,

Real hardware Mageia 4 x86_64

before :
========
#drakscanner

ask every time to install SANE

After update/testing task-scnanning 2011.0-5.1.mga4 :
Ask to install dependency xsane-0.998-5.mga4.x86_64

After install no problem with command :
=======================================
#drakscanner

CC: (none) => aranud
Whiteboard: (none) => mga4-64-ok

Comment 14 Arnaud Vacquier 2014-04-14 17:12:02 CEST
Hi,

In VB Magiea 4 i586 is same.

Whiteboard: mga4-64-ok => mga4-64-ok mga4-32-ok

Comment 15 claire robinson 2014-04-14 17:38:19 CEST
Thanks for testing the update guys. I think what need is needed here though is to manually test the changes from Thierry's attachment in comment 6. I'll remove the OK's for now. It seems there is a package in updates_testing though, which I guess is Thomas's one with the altered requires?

Could you make it easier to check Thierry please, with some instructions?

Thankyou

Whiteboard: mga4-64-ok mga4-32-ok => (none)

Comment 16 Thomas Spuhler 2014-04-14 18:56:24 CEST
(In reply to claire robinson from comment #15)
> Thanks for testing the update guys. I think what need is needed here though
> is to manually test the changes from Thierry's attachment in comment 6. I'll
> remove the OK's for now. It seems there is a package in updates_testing
> though, which I guess is Thomas's one with the altered requires?
> 
> Could you make it easier to check Thierry please, with some instructions?
> 
> Thank you

Correct, what's in updates testing is my changes in the Requires.
Thomas
Comment 17 claire robinson 2014-04-14 19:03:10 CEST
Thanks for confirming Thomas, perhaps you could test the patch Thierry is advocating so this can be moved forward. QA don't usually get involved at this stage but if it's a simple procedure we can do if required.
Comment 18 Thomas Spuhler 2014-04-14 19:07:07 CEST
(In reply to claire robinson from comment #17)
> Thanks for confirming Thomas, perhaps you could test the patch Thierry is
> advocating so this can be moved forward. QA don't usually get involved at
> this stage but if it's a simple procedure we can do if required.

I will try the patch.
Comment 19 Thomas Spuhler 2014-04-15 00:58:47 CEST
(In reply to claire robinson from comment #17)
> Thanks for confirming Thomas, perhaps you could test the patch Thierry is
> advocating so this can be moved forward. QA don't usually get involved at
> this stage but if it's a simple procedure we can do if required.

I patched drakxtools with TV's patch (must not be patched per spec file) and it resolves the bug.
But after pushing the patch, we will not have any gui-scanners installed and somebody new will have an awful time to do any scanning (it needs xsane, but there is no hint to install it). Yes, one could install task-scanning, but one needs to know the name first. libreoffice has it's own scanning interface, but what else needs xsane?
Removing xsane from task-scanning may help the reporter's grandmother to scan pictures using Simple-Scan, but the Gimp user will be out of luck, because he cannot scan.
I would suggest to use the patch, but put task-scanning as a Requires into drakscanner and include xsane as a Suggest in task-scanning

Thomas
Comment 20 claire robinson 2014-04-28 18:16:06 CEST
Assigning back to you for now Thomas.

CC: (none) => qa-bugs
Assignee: qa-bugs => thomas

Comment 21 Thomas Spuhler 2014-06-30 02:17:54 CEST
Is this now dead or for whom is TV waiting?
Florian Hubold 2014-08-17 15:58:50 CEST

CC: (none) => doktor5000

Comment 22 Thomas Spuhler 2014-09-06 00:32:33 CEST
This is getting old very quick. Assigning it Thierry Vignaud
since he made the fix but didn't commit and submit it.

Assignee: thomas => thierry.vignaud

Lewis Smith 2014-09-06 20:58:30 CEST

CC: lewyssmith => (none)

Comment 23 Samuel Verschelde 2015-09-21 13:20:37 CEST
Mageia 4 changed to end-of-life (EOL) status on 2015-09-19. It is is no longer 
maintained, which means that it will not receive any further security or bug 
fix updates.

Package Maintainer: If you wish for this bug to remain open because you plan to 
fix it in a currently maintained version, simply change the 'version' to a later 
Mageia version.

Bug Reporter: Thank you for reporting this issue and we are sorry that we weren't 
able to fix it before Mageia 4's end of life. If you are able to reproduce it 
against a later version of Mageia, you are encouraged to click on "Version" and 
change it against that version of Mageia. If it's valid in several versions, 
select the highest and add MGAxTOO in whiteboard for each other valid release.
Example: it's valid in cauldron and Mageia 5, set to cauldron and add MGA5TOO.

Although we aim to fix as many bugs as possible during every release's lifetime, 
sometimes those efforts are overtaken by events. Often a more recent Mageia 
release includes newer upstream software that fixes bugs or makes them obsolete.

If you would like to help fixing bugs in the future, don't hesitate to join the
packager team via our mentoring program [1] or join the teams that fit you 
most [2].

[1] https://wiki.mageia.org/en/Becoming_a_Mageia_Packager
[2] http://www.mageia.org/contribute/
Comment 24 David GEIGER 2015-09-27 08:46:45 CEST
This bug was fixed on mga5. So closing of this bug as OLD.

Status: ASSIGNED => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.