You are not logged in.

#1 2016-11-28 18:24:29

foreverdante
Member
Registered: 2016-11-23
Posts: 25

Searching through the AUR

I installed Arch on my work computer and we have a pretty locked down network. I am able to get to aur.archlinux.org in my browser, I am able to ping aur.archlinux.org; but I cannot, for some reason, do a yaourt, or a pacaur. So I am trying to search through the AUR for anything.. It doesn't matter what. And I keep getting the following error: "curl error: Peer certificate cannot be authenticated with given CA certificates"

Does anybody know how to fix this? It has been driving me crazy for a week now. I have already done a "update-ca-trust", made sure I am synchronized with our NTP server, added a .cer certificate to the /etc/ssl/certs/ directory and none of these steps have fixed the issue.

Last edited by foreverdante (2016-11-28 18:30:48)

Offline

#2 2016-11-29 13:17:47

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,925

Re: Searching through the AUR

Is this with the search on the AUR homepage, on https://aur.archlinux.org/packages/ or on both ?


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


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2016-11-29 16:16:28

philo
Member
Registered: 2015-01-26
Posts: 251

Re: Searching through the AUR

Offline

#4 2016-11-29 19:26:26

foreverdante
Member
Registered: 2016-11-23
Posts: 25

Re: Searching through the AUR

@Lone_Wolf: No, I can search the AUR webpage all day long. I can download packages and install them manually. This only seems to happen when I am trying to search or install from the terminal

Offline

#5 2016-11-29 19:31:42

foreverdante
Member
Registered: 2016-11-23
Posts: 25

Re: Searching through the AUR

@Philo: No, that didn't work :-/

Offline

#6 2016-11-29 20:06:15

philo
Member
Registered: 2015-01-26
Posts: 251

Re: Searching through the AUR

foreverdante wrote:

I cannot, for some reason, do a yaourt, or a pacaur. .

 
Do you have both yaourt and pacaur installed?

Yaourt is not generally recommended.

You are not lost since you can download and install AUR packages manually, which is actually the recommended procedure.

Last edited by philo (2016-12-02 10:36:24)

Offline

#7 2016-11-29 20:08:59

foreverdante
Member
Registered: 2016-11-23
Posts: 25

Re: Searching through the AUR

I have pacaur installed, and I absolutely love it. I use it over yaourt for everything. I haven't run into any compatibility issues with having them both installed.

Offline

#8 2016-11-29 20:14:39

foreverdante
Member
Registered: 2016-11-23
Posts: 25

Re: Searching through the AUR

I am starting to wonder if it is because we have a self-signed CA certificate at work... I can search the AUR just fine in the terminal when I tether my phone to my computer :-/

Offline

#9 2016-11-29 20:17:28

philo
Member
Registered: 2015-01-26
Posts: 251

Re: Searching through the AUR

What command do you type when fetching a package with pacaur?

Offline

#10 2016-11-29 20:22:37

foreverdante
Member
Registered: 2016-11-23
Posts: 25

Re: Searching through the AUR

"pacaur -Ss powerline"

Just going to throw a random package out there.

It will search community and extra just fine, but when it gets to the AUR I get the following message: Peer certificate cannot be authenticated with given CA certificates

Last edited by foreverdante (2016-11-29 20:23:01)

Offline

#11 2016-11-29 20:24:43

foreverdante
Member
Registered: 2016-11-23
Posts: 25

Re: Searching through the AUR

I've also made sure that my system clock and my hardware clock are synced to our NTP server

Offline

#12 2016-11-29 20:45:48

philo
Member
Registered: 2015-01-26
Posts: 251

Re: Searching through the AUR

To retrieve and install, I do:

paraur -S <aurpkgname> 

Last edited by philo (2016-11-30 13:24:48)

Offline

#13 2016-11-30 11:41:57

philo
Member
Registered: 2015-01-26
Posts: 251

Re: Searching through the AUR

archlinuxfr is another well-known source of mischief if listed in  /etc/pacman.conf.

Last edited by philo (2016-12-02 10:37:33)

Offline

#14 2016-11-30 15:04:27

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,412
Website

Re: Searching through the AUR

Not sure how this went from a curl error to some thread on aur helpers. In any case, did you upgrade your system with pacman 4.2 after the 23th of April?


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#15 2016-11-30 16:10:59

foreverdante
Member
Registered: 2016-11-23
Posts: 25

Re: Searching through the AUR

@Alad: I just installed my Arch system later last week

Offline

#16 2016-11-30 16:41:03

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Searching through the AUR

Alad wrote:

Not sure how this went from a curl error to some thread on aur helpers.

Because some community members have a pathological hatred of yaourt, to the point where half the time they are making nonsensical arguments, and the rest of the time they have gotten to the point of being boringly irrelevant?
Occasionally interspersed with actual incidents of people genuinely being clueless about the AUR due to encouragement from archlinuxfr.

...

"yaourt" has become a trigger word for the peanut gallery. Even obliquely mentioning it is enough to potentially derail any thread.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#17 2016-11-30 16:47:46

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,797

Re: Searching through the AUR

Eschwartz wrote:

Because some community members have a pathological hatred of yaourt, ..."yaourt" has become a trigger word for the peanut gallery. Even obliquely mentioning it is enough to potentially derail any thread.

I can state with authority that the moderators hate it because it makes our tasks much harder.  tongue


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#18 2016-11-30 17:18:42

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Searching through the AUR

ewaller wrote:
Eschwartz wrote:

Because some community members have a pathological hatred of yaourt, ..."yaourt" has become a trigger word for the peanut gallery. Even obliquely mentioning it is enough to potentially derail any thread.

I can state with authority that the moderators hate it because it makes our tasks much harder.  tongue

I am sure you would be in a position to know best. Although I would tend to think that clueless help vampires of the incompetent-yaourt-users variety will make your tasks much harder regardless, if not through yaourt then in some other way. At least you can sometimes identify them by their mention of archlinuxfr.

As for this thread, I am not really sure how "because yaourt" would cause that CA certificates error in curl/libcurl.
Since yaourt and pacaur (the sacred cow of yaourt-haters) both just use curl under the hood to download things, and that error message comes from curl.
And the OP was very clear that pacaur suffers the same problem.

Which I assume is the reason actual moderators had the good sense to not instinctively pin this one on yaourt. smile


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#19 2016-11-30 18:22:32

foreverdante
Member
Registered: 2016-11-23
Posts: 25

Re: Searching through the AUR

@Eschwartz: Exactly... And like I said, I am able to tether my phone to my computer and I can pacaur just fine.. So I know it has something to do with our network. Now, I have a self-signed certificate that I am able to install... But everything that I have found online has been inconclusive. I've put the cert in /etc/ssl/certs... Did the trust "update-ca-trust" but to no avail.. I am just completely lost at this point

Offline

#20 2016-11-30 18:33:56

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Searching through the AUR

Does this work?

$ export CURL_CA_BUNDLE=/path/to/certificate
$ pacaur -Ss <package>

No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#21 2016-11-30 18:35:52

foreverdante
Member
Registered: 2016-11-23
Posts: 25

Re: Searching through the AUR

Nope :-/... I am still getting the same error.

Offline

#22 2016-11-30 20:27:57

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: Searching through the AUR

Might be due to some older, alternative curl installed on the system (f.e. by anaconda).

Offline

#23 2016-11-30 20:55:41

foreverdante
Member
Registered: 2016-11-23
Posts: 25

Re: Searching through the AUR

I checked curl and reinstalled it... Still nothing :-/..

This is becoming increasingly irritating lol

Offline

Board footer

Powered by FluxBB