polo icon indicating copy to clipboard operation
polo copied to clipboard

Unable to install depewndency package for plugins

Open brianread108 opened this issue 6 years ago • 4 comments

Just run the plugin install and got this:

sudo ./polo-donation-plugins-v18.2-amd64.run [sudo] password for brianr: Verifying archive integrity... All good. Uncompressing Polo Donation Plugins (amd64) 100%

============================================================================== Installing files...

/usr /usr/share /usr/share/doc /usr/share/doc/polo-donation-plugins /usr/bin /usr/share/doc/polo-donation-plugins/changelog.gz /usr/share/doc/polo-donation-plugins/copyright /usr/bin/polo-image /usr/bin/polo-yt /usr/bin/polo-iso /usr/bin/polo-pdf

Installing dependency packages...

Distribution Type: Fedora/RedHat/CentOS Package Manager: dnf Checking installed packages... Installed: 2130 Available: 47242 Fedora 27 - x86_64 - Updates 948 kB/s | 19 MB 00:20
Failed to synchronize cache for repo 'eclipseo-exa', disabling. Failed to synchronize cache for repo 'Dropbox', disabling. Last metadata expiration check: 0:00:25 ago on Sun 25 Feb 2018 07:17:28 GMT. Dependencies resolved.

Package Arch Version Repository Size

Installing: pngcrush x86_64 1.8.0-4.fc27 fedora 68 k youtube-dl noarch 2018.02.08-2.fc27 updates 2.5 M

Transaction Summary

Install 2 Packages

Total download size: 2.6 M Installed size: 8.5 M Is this ok [y/N]: y Downloading Packages: (1/2): pngcrush-1.8.0-4.fc27.x86_64.rpm 238 kB/s | 68 kB 00:00
(2/2): youtube-dl-2018.02.08-2.fc27.noarch.rpm 826 kB/s | 2.5 MB 00:03

Total 513 kB/s | 2.6 MB 00:05
Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : youtube-dl-2018.02.08-2.fc27.noarch 1/2 Installing : pngcrush-1.8.0-4.fc27.x86_64 2/2 Running scriptlet: pngcrush-1.8.0-4.fc27.x86_64 2/2 Running as unit: run-r1ce07f9dff8b45abaa4aacbc5e1f4918.service Verifying : pngcrush-1.8.0-4.fc27.x86_64 1/2 Verifying : youtube-dl-2018.02.08-2.fc27.noarch 2/2

Installed: pngcrush.x86_64 1.8.0-4.fc27 youtube-dl.noarch 2018.02.08-2.fc27

Complete! Checking installed packages... Installed: 2132 Available: 47241

============================================================================== Installation completed

Following packages could not be installed. Please install these manually:

pdftk


Start the application using shortcut in Applications Menu Or execute the command: polo-gtk

 brianr  ~  software  Polo  

How do I install pdftk manually?

Googleing found this:

http://linux-unix-open-source.1053819.n5.nabble.com/pdftk-td5839914.html

brianread108 avatar Feb 25 '18 07:02 brianread108

Looks like it's not maintained anymore in Fedora repos. You can try installing it by downloading the RPM packages:

https://www.pdflabs.com/docs/install-pdftk-on-redhat-or-centos/

teejee2008 avatar Feb 26 '18 05:02 teejee2008

Tried that: `sudo dnf install pdftk-2.02-1.el6.x86_64.rpm Last metadata expiration check: 0:03:40 ago on Mon 26 Feb 2018 06:53:30 GMT. Error: Problem: conflicting requests

  • nothing provides libgcj needed by pdftk-2.02-1.el6.x86_64  brianr  ~  Downloads  sudo dnf install libgcj Last metadata expiration check: 0:04:00 ago on Mon 26 Feb 2018 06:53:30 GMT. No match for argument: libgcj Error: Unable to find a match `

brianread108 avatar Feb 26 '18 06:02 brianread108

I'm looking into packaging pdftk for the purposes of this. I cant guarantee anything because gcj is dead, but I'm fairly positive that I can gleam some information from how other distros handle it.

grturner avatar Feb 26 '18 13:02 grturner

https://copr.fedorainfracloud.org/coprs/grturner/Polo/build/721265/

It's lightly tested and appears to work on Fedora 27. Extracted and bundled libgcj.so.* with pdftk from EL6 in rpm format.

grturner avatar Feb 26 '18 19:02 grturner