Linux Lite Forums

Hardware - Support => Printing and Scanning => Topic started by: lintek on September 05, 2019, 11:53:07 AM

Title: gscan2pdf error message on startup?
Post by: lintek on September 05, 2019, 11:53:07 AM
I get this error (?) message every time I start gscan2pdf scanner program.  Any ideas how to fix it?

(https://lh3.googleusercontent.com/MVe2P34feMYaYJhi2I7uZE_rBdDaUGU-7WsvYc1FtKvSCaDHsOwQsrpqcW0qRIFq8GfXWnsDJDKpB7DYVE1fDUtV_c7Czp-NsUi2Ggjq8ySaPG_ST__Ea3zBrhxXXkV41YBvtZR0S9VvCBpypdg8bnDpxQzr7xDt0y-vEh3ZvXwfCVz1HWafoRxo9_IaFNTxY-fMREuvVG9by6uTJ3nGyoZLh2QBD8Tq9TLsezqd6-9jhcvaiM1smH7zK6eewu6PCR8QsFWQTF76Uhz8c1-iMAsqGL61agQYSLNgLa1T1rsh71sr_5A__x-spKrgI1J9L3UApNk6RP2TWgpvq8YO_Mv15fFIasJylNSJawJ6qBdxZZZ4lFfAmJ3PfS__o_p6Qi8v21Qo0QbJls28_fCvR33tBmjLu_JKmEm3rEE1MzloxbQccSCeoUWIo4YKsbDxPce3hJN0PYxO6VrqUkX7K_yBI_VRDB0mkyU3unm1y8GGv5Vdvmv268Y9n_7Hr8dYiLVmLylTFVd_vY2qkCHgyXiCktYQc0xDDh9HUBXdm51SWhyz3-_xS2hLsmLwtSvwtNn4F5B2Mnccchw-o22xF8cuaAvqwAxWTW_oC92h98nSow-qlEd8KS0vBfcZdUlJqW2uiE1oiNBnBpcM_AzvvCXRF-sBIzotSahi69PZwUcLDfCmwM4KXQ=w608-h229-no)

Is it just a matter of installing something called PDFTK?
Title: Re: gscan2pdf error message on startup?
Post by: Jerry on September 05, 2019, 12:17:15 PM
Code: [Select]
sudo apt-get install pdftk
Title: Re: gscan2pdf error message on startup?
Post by: lintek on September 05, 2019, 12:55:04 PM
tried that - no luck here were the results:

Quote
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package pdftk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'pdftk' has no installation candidate
Title: Re: gscan2pdf error message on startup?
Post by: Jerry on September 05, 2019, 10:49:18 PM
Where did you get gscan2pdf from?
Title: Re: gscan2pdf error message on startup?
Post by: lintek on September 06, 2019, 02:40:47 AM
http://gscan2pdf.sourceforge.net/

Quote
sudo apt-add-repository ppa:jeffreyratcliffe/ppa

sudo apt-get update

sudo apt-get install gscan2pdf
Title: Re: gscan2pdf error message on startup?
Post by: Jerry on September 06, 2019, 03:30:27 AM
You don't need a PPA, gscan2pdf is already available in 4.x

Uninstall the program, remove the PPA as per the Help Manual instructions.

Then:

Code: [Select]
apt policy gscan2pdf
should return something like:

Code: [Select]
gscan2pdf:
  Installed: (none)
  Candidate: 2.1.0-1
  Version table:
     2.1.0-1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu bionic/universe i386 Packages

if the version info is the same as above, then:

Code: [Select]
sudo apt-get install gscan2pdf
and in future, consult the Forums before adding PPA's, they are complicated. Cheers :)
Title: Re: gscan2pdf error message on startup?
Post by: lintek on September 06, 2019, 11:45:52 AM
...and in future, consult the Forums before adding PPA's, they are complicated. Cheers :)

THANKS - FIXED!  Will do.  Just trying to figure out things on my own instead of being so needy.  But you always come through, so THANKS!
Title: Re: gscan2pdf error message on startup?
Post by: Jerry on September 06, 2019, 11:57:05 AM
All good :)

Sent from my Mi Max Prime using Tapatalk