You are not logged in.

#1 2021-03-07 21:30:31

sphere101
Member
Registered: 2017-08-04
Posts: 37

Issue installing coursera-dl AUR package

Hello, Im getting a bunch of errors while trying to install this AUR package. Is there a repository that i need to add? Or can anyone assist? Thanks.

error: failed retrieving file 'haskell-xml-conduit-1.9.0.0-119-x86_64.pkg.tar.zst' from mirror.gnomus.de : The requested URL returned error: 404 error: failed retrieving file 'haskell-xml-conduit-1.9.0.0-119-x86_64.pkg.tar.zst' from mirrors.standaloneinstaller.com : The requested URL returned error: 404 error: failed retrieving file 'haskell-xml-conduit-1.9.0.0-119-x86_64.pkg.tar.zst' from [url=ftp://ftp.halifax.rwth-aachen.de]ftp.halifax.rwth-aachen.de[/url] : The requested URL returned error: 404 error: failed retrieving file 'haskell-xml-conduit-1.9.0.0-119-x86_64.pkg.tar.zst' from archlinux.mirror.colo-serv.net : The requested URL returned error: 404 error: failed retrieving file 'pandoc-2.11.3-66-x86_64.pkg.tar.zst' from mirror.devilzc0de.org : The requested URL returned error: 404 error: failed retrieving file 'pandoc-2.11.3-66-x86_64.pkg.tar.zst' from archlinux.mirror.kangaroot.net : The requested URL returned error: 404 error: failed retrieving file 'pandoc-2.11.3-66-x86_64.pkg.tar.zst' from [url=ftp://ftp.gwdg.de]ftp.gwdg.de[/url] : The requested URL returned error: 404 error: failed retrieving file 'pandoc-2.11.3-66-x86_64.pkg.tar.zst' from [url=ftp://ftp.kaist.ac.kr]ftp.kaist.ac.kr[/url] : The requested URL returned error: 404 error: failed retrieving file 'pandoc-2.11.3-66-x86_64.pkg.tar.zst' from mirror.upb.edu.co : Failed to connect to mirror.upb.edu.co port 80: Connection timed out error: failed retrieving file 'pandoc-2.11.3-66-x86_64.pkg.tar.zst' from [url=ftp://ftp.byfly.by]ftp.byfly.by[/url] : The requested URL returned error: 404 error: failed retrieving file 'pandoc-2.11.3-66-x86_64.pkg.tar.zst' from archlinux.vi-di.fr : SSL certificate problem: certificate has expired

error: haskell-xml-conduit: signature from "Felix Yan felixonmars@archlinux.org" is invalid :: File /var/cache/pacman/pkg/haskell-xml-conduit-1.9.0.0-119-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] Y error: pandoc: signature from "Felix Yan felixonmars@archlinux.org" is invalid :: File /var/cache/pacman/pkg/pandoc-2.11.3-66-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] Y error: failed to commit transaction (invalid or corrupted package (PGP signature)) Errors occurred, no packages were upgraded. [sudo] password for andy: error: target not found: ghc-libs error: target not found: haskell-network error: target not found: haskell-th-compat error: target not found: haskell-network-uri error: target not found: haskell-http error: target not found: haskell-primitive error: target not found: haskell-vector error: target not found: haskell-zlib error: target not found: haskell-juicypixels error: target not found: haskell-sha

Last edited by sphere101 (2021-03-07 22:15:36)

Offline

#2 2021-03-07 21:43:40

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: Issue installing coursera-dl AUR package

You need to update your system with a pacman -Syu before attempting to install packages that have dependencies on in repo packages.

Also please wrap shell output in

[code]code tags[/code]

Offline

#3 2021-03-07 22:19:47

sphere101
Member
Registered: 2017-08-04
Posts: 37

Re: Issue installing coursera-dl AUR package

Thank you,
Resolved installation, however failure at authentication. I'm sure i typed in the password correctly...

[andy@thor coursera]$ coursera-dl -u XXXXXXX@gmail.com melodic-forms-simple-harmony
Coursera password for XXXXXXXX: 
coursera_dl version 0.11.5
Traceback (most recent call last):
  File "/home/andy/.local/lib/python3.9/site-packages/coursera/cookies.py", line 148, in login
    r.raise_for_status()
  File "/usr/lib/python3.9/site-packages/requests/models.py", line 943, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://api.coursera.org/api/login/v3

During handling of the above exception, another exception occurred:



During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/bin/coursera-dl", line 6, in <module>
    coursera_dl.main()
  File "/home/andy/.local/lib/python3.9/site-packages/coursera/coursera_dl.py", line 239, in main
    login(session, args.username, args.password)
  File "/home/andy/.local/lib/python3.9/site-packages/coursera/cookies.py", line 155, in login
    raise AuthenticationFailed('Cannot login on coursera.org: %s' % e)
coursera.cookies.AuthenticationFailed: Cannot login on coursera.org: 400 Client Error: Bad Request for url: https://api.coursera.org/api/login/v3

Last edited by sphere101 (2021-03-07 22:20:55)

Offline

#4 2021-03-08 00:01:43

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: Issue installing coursera-dl AUR package

Apparently a known and widespread issue fixable by grabbing CAUTH from a cookie and a browser login: https://github.com/coursera-dl/coursera-dl/issues/702

Offline

Board footer

Powered by FluxBB