You are not logged in.

#1 2021-03-02 11:16:03

fistrosan
Member
Registered: 2020-04-01
Posts: 171

installing .deb or .rpm application: update-ca-certificates

Hi all,

I am trying to install a program (provided by the government of my country) to electronically sign documents. They are kind enough to provide also a Linux support. Unfortunately the only provide .deb and .rpm packages. I have used debtap (https://aur.archlinux.org/packages/debtap/) to convert to a .xz file:

debtap -U package.deb

and then

pacman -U package.xz

Everything seems to work fine except towards the end where it get the following message:

/tmp/alpm_Z2HW0W/.INSTALL: line 45: update-ca-certificates: command not found

In my system I have installed ca-certificates, ca-certificates-utils and ca-certificates-mozilla, and only one similar script is available (update-ca-trust) ...

Any ideas as to how to proceed ?

Offline

#2 2021-03-02 11:40:54

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

Re: installing .deb or .rpm application: update-ca-certificates

This Arch ca-certificates update regarding the Arch changes to update-ca-certificates might apply to your issue. I'm not just sure how to incorporate this to the deb package you're trying to build.

Offline

#3 2021-03-02 13:36:15

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,353

Re: installing .deb or .rpm application: update-ca-certificates

Using a PKGBUILD to extract the binary .deb and adjust it to work on archlinux seems best option.

Is the *.deb available for public download ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#4 2021-03-02 15:09:50

fistrosan
Member
Registered: 2020-04-01
Posts: 171

Re: installing .deb or .rpm application: update-ca-certificates

Yes, the source is available here:

http://estaticos.redsara.es/comunes/aut … _Linux.zip

I have noticed that that there already seems to be PKGBUILD available in github:

https://gist.github.com/vk496/1196ec3a1 … 6e4b1f0cca

As well as an AUR package:

https://aur.archlinux.org/packages/autofirma/

Both are authored by migrev. However there seems to be multiple issues with getting the program to launch in firefox. I actually get prompted by the browser to launch the program but it fails without giving a meaningful error message other than it failed.

I guess I will give up on this thing. Hopefully I will get paid for my work even if I did not sign all the documents.

Offline

#5 2021-03-02 15:33:33

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: installing .deb or .rpm application: update-ca-certificates

You could try to use palemoon or basilisk for that. Those are the only actively developed browsers I know of that still support NPAPI plugins like java. (Otherwise there is an very old firefox esr 52 release linked in the aur comments)
If it is only a java web start application you could try to download the jnlp file and run it directly with javaws from the commandline. That won't work if you need to run a java applet instead.

In any case you'll have to install icedtea-web.

Last edited by progandy (2021-03-02 15:41:49)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

Board footer

Powered by FluxBB