Depdency issue with gscan2pdf on Tumbleweed

I am trying to install gscan2pdf on Tumbleweed, from the Gnome apps repo). I get the following dependency error:


nothing provides perl(:MODULE_COMPAT_5.18.2) needed by perl-set-int-span

As far as I can tell the problem is that I have perl 5.24 installed, and I need 5.18. Is that right? If so, what can I do since 5.18 is not available for Tumbleweed.

I guess more generally I would like to ask if anyone has successfully installed gscan2pdf on Tumbleweed? How did you do it?

This dependency issue has been around as long as I can remember and when I last found the necessary library it failed to work for some reason. Perhaps others have had better luck.

Don’t use Tumbleweed, but the package for Tumbleweed from “devel:languages[noparse]:p[/noparse]erl” repo says:


rpm -qp --requires perl-Set-IntSpan-1.19-1.9.noarch.rpm 
warning: perl-Set-IntSpan-1.19-1.9.noarch.rpm: Header V3 DSA/SHA1 Signature, key ID dcef338c: NOKEY
**perl(:MODULE_COMPAT_5.24.0)**
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsLzma) <= 4.4.6-1

AK

This dependency issue has been around as long as I can remember and when I last found the necessary library it failed to work for some reason. Perhaps others have had better luck.

Yes, I have had trouble installing gscan2pdf since 12.2 (when I first heard about it). Somehow I have managed to get it to work before now.

This worked, thanks! It launches now, but does not seem to work well. I tried importing a large document (approx 400 pages) and it stalled after about 30 pages, but that’s progress :).

I managed to eliminate a lot of dependencies, but these two stay…

perl >= 0:5.008005 is needed by gscan2pdf-1.8.0-0.Suse.noarch
perl(Gtk2::Entry) is needed by gscan2pdf-1.8.0-0.Suse.noarch

When I search Yast for “Gtk2::Entry”, I get perl-Gtk2 (found in /usr/share/man/man3/Gtk2::Entry.3pm.gz).
Pearl is also installed with version 5.24.0-137.69.

When I install gscan2pdf version 1.5.1-3.1 over Yast, it works. But I would like to use the latest version.

Any ideas?

Hi and welcome to the Forum :slight_smile:
Don’t install third party rpms, looks like it’s packaged wrong for Tumbleweed, grab the 1.7.2 version from the Publishing repo, will look at updating to the 1.8.0 version later today.http://software.opensuse.org/package/gscan2pdf?search_term=gscan2pdf

Thank you for the friendly welcome! :slight_smile:

I tried as you suggested and chose the first entry at: “Publishing 1.7.2” for Tumbleweed. There are two issues:

  1. http://download.opensuse.org/repositories/openSUSE:/Factory:/ARM/standard/ does not exist. Only a folder called images is available.
  2. When deselecting the above repo, the installation starts. Yast wants to install all packages of texlive-*, which is over 1GB. Is this really necessary? See here.

PS: I’m a linux rookie, finally leaving the .exe world. :slight_smile:

Hi
So your on a Raspberry Pi or similar Aarch64 system?

Please post the out put from;


uname -r

uname -r gives me: 4.10.9-1-default.

No, I’m on a T540p Thinkpad. Was also wondering, why ARM was chosen, when I clicked “1 Click Install”. When I try another linkin the 1.7.2 line, there is no error message when adding the repos.
Are all the texlive-* packages needed?

This is my repo list:

#  | Alias                               | Name                 | Aktiviert | GPG-Überpr
üfung | Aktualisierung
---+-------------------------------------+----------------------+-----------+-----------
------+---------------
 1 | http-download.opensuse.org-125d4507 | home:okurz:gscan2pdf | Nein      | ----
      | ----
 2 | http-download.opensuse.org-2b8f5813 | devel:languages:perl | Ja        | (r ) Ja   
      | Ja             
 3 | http-download.opensuse.org-75e83086 | openSUSE:Factory     | Ja        | (r ) Ja   
      | Ja             
 4 | http-download.opensuse.org-850afcf3 | home:okurz:gscan2pdf | Nein      | ----
      | ----
 5 | http-download.opensuse.org-8d8062d9 | Publishing           | Ja        | (r ) Ja   
      | Ja             
 6 | http-download.opensuse.org-9c719178 | devel:languages:perl | Ja        | (r ) Ja   
      | Ja             
 7 | packman                             | packman              | Ja        | (r ) Ja   
      | Ja             
 8 | repo-debug                          | repo-debug           | Ja        | (r ) Ja   
      | Ja             
 9 | repo-non-oss                        | repo-non-oss         | Ja        | (r ) Ja   
      | Ja             
10 | repo-oss                            | repo-oss             | Ja        | (r ) Ja   
      | Ja             
11 | repo-update                         | repo-update          | Nein      | ----
      | ----


On Mon 24 Apr 2017 09:26:02 AM CDT, HuibobMaduro wrote:

uname -r gives me: 4.10.9-1-default.

No, I’m on a T540p Thinkpad. Was also wondering, why ARM was chosen,
when I clicked “1 Click Install”. When I try 'another link ’
(http://tinyurl.com/lqfhjvu)in the 1.7.2 line, there is no error message
when adding the repos.

Hi
I don’t use the 1 click… :wink:

If you run;


zypper lr -d

The factory one should be removed and the oss-update one enabled.

Download the Publishing gscan2pdf rpm and install with zypper (as root
user) with;


zypper in --no-recommends gscan2pdf-1.7.2-1.2.noarch.rpm


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.2|GNOME 3.22.2|4.4.57-18.3-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

On Mon 24 Apr 2017 11:36:14 AM CDT, malcolmlewis wrote:

[QUOTE]
On Mon 24 Apr 2017 09:26:02 AM CDT, HuibobMaduro wrote:

uname -r gives me: 4.10.9-1-default.

No, I’m on a T540p Thinkpad. Was also wondering, why ARM was chosen,
when I clicked “1 Click Install”. When I try 'another link ’
(http://tinyurl.com/lqfhjvu)in the 1.7.2 line, there is no error message
when adding the repos.

Hi
I don’t use the 1 click… :wink:

If you run;


zypper lr -d

The factory one should be removed and the oss-update one enabled.

Download the Publishing gscan2pdf rpm and install with zypper (as root
user) with;


zypper in --no-recommends gscan2pdf-1.7.2-1.2.noarch.rpm

[/QUOTE]
Hi
FYI, I’ve updated gscan2pdf to version 1.8.0 and this is accepted into
the Publishing repo, so download and install that one :wink:


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.2|GNOME 3.22.2|4.4.57-18.3-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Thank you very much! It works and the results are good.

I just did not find out, why a single page B/W 300 dpi takes up over 100KB, in contrast to 17KB with the PaperPort software under Windows, but that’s another story…