Skip to content

Instantly share code, notes, and snippets.

@aabele
Last active July 24, 2025 12:46
Show Gist options
  • Select an option

  • Save aabele/762bfd965df92b6d8d95a5a7c7195780 to your computer and use it in GitHub Desktop.

Select an option

Save aabele/762bfd965df92b6d8d95a5a7c7195780 to your computer and use it in GitHub Desktop.
Instalēt Latvijas digitālo parakstu uz Ubuntu linux 20.10
sudo wget -qO - https://www.eparaksts.lv/files/ep3updates/debian/public.key | sudo apt-key add -
sudo apt-add-repository "deb https://www.eparaksts.lv/files/ep3updates/debian focal eparaksts"
sudo apt-get install eparakstitajs3
sudo apt-get install awp
sudo apt-get install latvia-eid-middleware
sudo apt-get install eparaksts-token-signing
@Salms-main
Copy link

Salms-main commented Jul 22, 2025

Mēģināju dabūt e-parakstu uz Linux Mint 22.1, bet neveiksmīgi. Mēģināju ofciālo instrukciju un arī padomus no šejienes.

Err:4 https://www.eparaksts.lv/files/ep3updates/debian noble InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A153D8513B3F37CB
Reading package lists... Done
W: GPG error: https://www.eparaksts.lv/files/ep3updates/debian noble InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A153D8513B3F37CB
E: The repository 'https://www.eparaksts.lv/files/ep3updates/debian noble InRelease' is not 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.

Mēģināju arī dabūt to pie dzīvības uz Ubuntu 22.04.2. Arī neveiksmīgi.

Err:5 https://www.eparaksts.lv/files/e3updates/debian noble InRelease
  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Reading package lists... Done        
E: Failed to fetch https://www.eparaksts.lv/files/e3updates/debian/dists/noble/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'https://www.eparaksts.lv/files/e3updates/debian noble InRelease' is not 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.

@Salms-main
Copy link

Salms-main commented Jul 23, 2025

Sazinājos ar e-paraksta atbalsta centru [email protected]. Atbildi saņēmu ļoti operatīvi - 24h laikā. Viņi ieteica pārliecināties, ka instrukcijā norādītās komandas tiek izpildītas vienā rindā terminālī. Tas nostrādāja. Pirmo reizi neizdevās tikai manu līko roku dēļ. :)

Tātad šīs komandas secīgi izpildot uz Linux Mint 22.1 viss strādās (kopija no eparaksts instrukcijas ar labojumu no jammy uz noble):

wget -qO- https://www.eparaksts.lv/files/ep3updates/debian/public.key | sudo gpg --dearmor -o /usr/share/keyrings/eparaksts-keyring.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/eparaksts-keyring.gpg] https://www.eparaksts.lv/files/ep3updates/debian noble eparaksts" | sudo tee /etc/apt/sources.list.d/eparaksts.list > /dev/null
sudo apt-get update
sudo apt-cache search eparakstitajs3
sudo apt-get install eparakstitajs3
sudo apt-get install awp
sudo apt-get install latvia-eid-middleware
sudo apt-get install eparaksts-token-signing

@krotow
Copy link

krotow commented Jul 23, 2025

Sazinājos ar e-paraksta atbalsta centru [email protected]. Atbildi saņēmu ļoti operatīvi - 24h laikā. Viņi ieteica pārliecināties, ka instrukcijā norādītās komandas tiek izpildītas vienā rindā terminālī. Tas nostrādāja.

Tas ir klasisks gļuks :) PGP atslēgas ielādes komandu kā likums cenšas ievietot vienā rindā lai pēc komandas izpildes atsevišķi nav jāmet laukā lokāli saglabātais atslēgas fails. Un tad vai nu lietotājs nenokopē visu garo komandu vai arī CMS vai forumu dzinēji "apēd" slīpās svītras. Pēdējais uzstādīšanas variants jau ir reāli lietojams. Ja vēl dabūtu to iekšā PPA lai nav visas komandas jāraksta ar rokām, būtu pavisam ideāli.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment