You are not logged in.
In about last February, the Anki package became unusable and was removed from the Arch community repo. When that happened, I downgraded it on my computer to a version that worked and set pacman to ignore both anki and python2-pyqt4, which I think was linked to the problem.
I believe that continually ignoring an upgrade can lead to problems and today I decided to install Anki from the AUR. However, the link on the Arch Anki wiki for the “latest” version is broken (404 page not found). When I tried to install the anki20-binAUR package, this happened:
makepkg -si
==> Making package: anki20-bin 2.0.45-3 (Fri Jul 14 14:06:49 PDT 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found anki
-> Downloading anki-2.0.45-amd64.tar.bz2...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (77) error setting certificate verify locations:
CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
==> ERROR: Failure while downloading https://apps.ankiweb.net/downloads/current/anki-2.0.45-amd64.tar.bz2
Aborting...I don’t want to use the much older version, anki12 1.2.11-1, so I was wondering if anyone here on the forum might have successfully installed Anki lately.
Last edited by WeeDram (2017-07-15 19:03:40)
Offline
I have no problem building anki20-bin here. And to answer the question in your title, I'd gather many people are from the numbers of votes on the various AUR packages that have not been flagged.
Your actual problem seems to be with curl. Can you download other AUR packages from https sources?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
anki is now in community
https://www.archlinux.org/packages/community/any/anki/
Last edited by rdeckard (2017-07-14 23:26:20)
Offline
Trilby: No, it appears I can't download other AUR packages. I only tried one but got the same error message. rdeckard (Thank you very much) points out that anki is now back in community (the Anki wiki doesn't point there yet; I guess that's why I missed it) and I will try that but I obviously need to fix the curl problem.
Should I start a new thread?
Offline
rdeckard, thank you very much for pointing out that anki was once again in community. I successfully upgraded it with no trouble.
Offline
For the curl problem, try to reinstall the ca-certificates package.
Offline
I reinstalled the ca-certificates package (pacman -S ca-certificates). I was warned that the package was up to date but went ahead. Then I tried making the anki20-bin package again but got the same error message as posted above so it appears that the problem is not with ca-certificates.
Going back to Trilby's reply. I'm not sure whether I am actually testing curl and whether or not I can download other AUR packages from https sources. For the first test, I tried downloading a different package using my browser and then using makepkg to see if it worked (that failed with the same error). This last time, I re-tried the same approach with anki20-bin (again with the same error). Is there a better way to check curl?
Offline
What's the output of
ls -l /etc/ssl/certs/ca-certificates.crtOffline
Here is the output:
ls -l /etc/ssl/certs/ca-certificates.crt
ls: cannot access '/etc/ssl/certs/ca-certificates.crt': No such file or directoryOffline
Is the "ca-certificates-utils" package installed (different from the "ca-certificates" one)? You may need to reinstall it. That's the package that owns that missing file.
Last edited by rdeckard (2017-07-15 17:08:27)
Offline
Shouldn't this if its AUR-related go to the section "AUR Issues, Discussion & PKGBUILD Requests" not newbie corner?
Arch + GNOME
------
Please post back your results to help others.
Offline
Newbie Corner covers all subject areas where the poster lacks domain specific knowledge. The underlying issue is also a broken ca-certificates-utils package installation which is arguably not an AUR specific issue.
Offline
I re-installed ca-certificates-utils. There was warning that it was up to date but I proceeded with the installation. During the process I got the following warning:
warning: could not get file information for etc/ssl/certs/ca-certificates.crt
:: Processing package changes...
(1/1) reinstalling ca-certificates-utils [##############################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Rebuilding certificate stores...I tested installing the anki20-bin and that successfully went past the downloading phase. There was a different problem later but I would say that the original problem(s) of this thread have been addressed and solved so I will mark the thread solved. (Though I would like to know what caused the problem.)
The fact the anki package was re-placed into community and the anki archwiki was updated AFTER I started this thread made for a weird situation, for me at any rate.
Thank you all for your help.
Offline
Newbie Corner covers all subject areas where the poster lacks domain specific knowledge. The underlying issue is also a broken ca-certificates-utils package installation which is arguably not an AUR specific issue.
Very well, I now know for the future, however I'm glad its been sorted out any ways.
Arch + GNOME
------
Please post back your results to help others.
Offline
The fact the anki package was re-placed into community and the anki archwiki was updated AFTER I started this thread made for a weird situation, for me at any rate.
Why is that weird? You mentioned the page was out of date since it pointed to the deleted AUR package, so I updated it to point to the community one.
Offline
Yes, and I appreciate your efforts to help me. Doubt that you really want to know why it was weird for me, but part of it was that I suddenly felt I couldn't trust my memory. "Did I really get sent to a 404? or was that just my imagination". Other things contributed, too, but no need to go into them here.
Once again, thanks for your helpful pointers.
Offline