Monday, May 13, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 18475  / 2 Years ago, tue, july 12, 2022, 8:51:23

I'm installing Waydroid on Ubuntu, when running:


export DISTRO="focal" && 
sudo curl -# --proto '=https' --tlsv1.2 -Sf https://repo.waydro.id/waydroid.gpg --output /usr/share/keyrings/waydroid.gpg &&
echo "deb [signed-by=/usr/share/keyrings/waydroid.gpg] https://repo.waydro.id/ $DISTRO main" > ~/waydroid.list &&
sudo mv ~/waydroid.list /etc/apt/sources.list.d/waydroid.list &&
sudo apt update

I get the error:


curl: (77) error setting certificate verify locations:                        
CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs

I'm running Ubuntu 20.04.3 LTS (Focal Fossa) and have fully updated the system.


ca-certificates is already the newest version (20210119~20.04.2).

More From » curl

 Answers
4

I had this same problem. What worked for me was updating the ca-certificates.


I first ran cat /etc/ssl/certs/ca-certificates.crt and got this response:



cat: /etc/ssl/certs/ca-certificats.crt: No such file or directory



Thus, there was no file for curl to use.


According to http://manpages.ubuntu.com/manpages/impish/man8/update-ca-certificates.8.html we can create a new ca-certificate. What I did was run sudo update-ca-certificates and afterward the 77 error went away.


I hope this helps. One note is that I am not very familiar with the update-ca-certificates command, and am unsure if there are some options that can be set to make this fix work better. Also, as is everything with info on the internet, use this at your own risk.


Cheers!


[#825] Thursday, July 14, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rialhirt

Total Points: 422
Total Questions: 113
Total Answers: 120

Location: France
Member since Sun, May 15, 2022
2 Years ago
rialhirt questions
Mon, May 24, 21, 18:24, 3 Years ago
Tue, May 10, 22, 21:43, 2 Years ago
Thu, Feb 16, 23, 16:32, 1 Year ago
Mon, Jun 13, 22, 03:02, 2 Years ago
Tue, Jun 15, 21, 12:40, 3 Years ago
;