cannot install on ubuntu 18.04 with pdftk installed

Asked by Robin

I have pdftk running at the command line... per Ubuntuask site

... and then installed PDFchain PPA from the pdfchain-team repository using commands on the website :

sudo add-apt-repository ppa:pdfchain-team/ppa
on reading package lists I had various 404 errors at:
 http://ppa.launchpad.net/pdfchain-team/ppa/ubuntu bionic Release
  404 Not Found [IP: 91.189.95.83 80]
ALSO for "xenial Release"
ALSO "public key not available" on ".... chrome /deb stable InRelease" & "... earth/deb stable Release.gpg"
THEN quite a few 404s on "http://download.virtualbox.org/virtualbox/debian <18.04.01> Release " links

that resulted in a number of 'no Release file' messages
and led to probably (my guess) the main issue a GPG Error:

 GPG error: http://dl.google.com/linux/chrome/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 78BD65473CB3BD13
E: The repository 'http://dl.google.com/linux/chrome/deb stable InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com/linux/earth/deb stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 78BD65473CB3BD13

THESE errors all flowed through to the "apt-get update"

ULTIMATELY on the "install":

rob@ubuntudesk:/$ sudo apt-get install pdfchain
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pdfchain

indicating the pdfchain package hadn't been successfully installed.?

pdftdk runs OK:

rob@ubuntudesk:/$ pdftk
SYNOPSIS
       pdftk <input PDF files | - | PROMPT>
      [ input_pw <input PDF owner passwords | PROMPT> ]
      [ <operation> <operation arguments> ]
      [ outpu

For getting pdftk onto 18.04 specifically, I've found that this works:

    get 18.10 version of the deb for pdftk-java
    install dependencies from normal 18.04 repos
    dpkg install pdftk-java package downloaded from 18.10

IE:

$ wget wget http://launchpadlibrarian.net/383018194/pdftk-java_0.0.0+20180723.1-1_all.deb
$ sudo apt install default-jre-headless libcommons-lang3-java libbcprov-java
$ sudo dpkg -i pdftk-java_0.0.0+20180723.1-1_all.deb

share improve this answer
answered Jun 12 at 13:34
Joel Kleier
1,09144 silver badges3

Question information

Language:
English Edit question
Status:
Answered
For:
PDF Chain Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

The PPA
https://launchpad.net/~pdfchain-team/+archive/ubuntu/ppa
does not contain software for any Ubuntu release newer than saucy and leads to error messages, both for xenial and bionic.
You have to disable that PPA.

The pdfchain package is contained in the standard Ubuntu Releases for xenial (no PPA needed).

For bionic it is not available in the standard repositories (see bug #1757314 ), but you can try https://launchpad.net/~wdaniau/+archive/ubuntu/custom

For the other problems (e.g. NO_PUBKEY) I suggest that you create a separate question in the Ubuntu area, showing the output of "sudo apt update".

Can you help with this problem?

Provide an answer of your own, or ask Robin for more information if necessary.

To post a message you must log in.