You are not logged in.

#1 2017-07-02 05:38:50

codeoptima
Member
Registered: 2017-06-26
Posts: 5

[SOLVED] git & ca-certificates error

Hello
I get the following error for git commands as well as installing AUR packages.

for git commands, the error is:
==================
git clone https://aur.archlinux.org/icaclient.git/
Cloning into 'icaclient'...
fatal: unable to access 'https://aur.archlinux.org/icaclient.git/': error setting certificate verify locations:
CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none

for installing AUR packages:
=================
Making package: icaclient 13.5-2 (Sun Jul  2 05:36:26 UTC 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found configmgr.desktop
  -> Found conncenter.desktop
  -> Found selfservice.desktop
  -> Found wfica.desktop
  -> Found wfica.sh
  -> Found wfica_assoc.sh
==> ERROR: icaclient-x64-13.5.tar.gz was not found in the build directory and is not a URL.

I did follow the ca-certificate upgrade instructions on the Archlinux home page. Has anyone had this issue? Thanks

Someone has posted the following solution in another website, but hasn't offered an explanation:
ln -s /etc/ca-certificates/extracted/ca-bundle.trust.crt /etc/ssl/certs/ca-certificates.crt

Last edited by codeoptima (2017-07-06 21:35:18)

Offline

#2 2017-07-02 07:07:10

Odysseus
Member
Registered: 2009-02-15
Posts: 141

Re: [SOLVED] git & ca-certificates error

First, try re-installing ca-certificates-utils to see if that fixes the issue.

If not, can you post the output from the following commands (using code tags):

stat /etc/ssl/certs/ca-certificates.crt
sudo update-ca-trust

I'm the type to fling myself headlong through the magical wardrobe, and then incinerate the ornate mahogany portal behind me with a Molotov cocktail.

Offline

#3 2017-07-02 09:23:11

codeoptima
Member
Registered: 2017-06-26
Posts: 5

Re: [SOLVED] git & ca-certificates error

Sorry, had a number of attempts but couldn't quite figure it out. I'm still learning the ins and out of archlinux. I did a re-install from scratch, and that did fix the issue. Thanks again for your help. Cheers

Last edited by codeoptima (2017-07-06 21:34:23)

Offline

#4 2017-07-02 12:41:04

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,881

Re: [SOLVED] git & ca-certificates error

stat /etc/ca-certificates/extracted/tls-ca-bundle.pem
du -h /etc/ca-certificates/extracted/tls-ca-bundle.pem

Did you run "sudo update-ca-trust" - and watch for error messages?

Offline

#5 2017-07-02 20:19:10

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] git & ca-certificates error

codeoptima, please use code tags for terminal output and logs. It makes it easier to read. Thank you.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB