You are not logged in.

#1 2022-11-24 12:34:00

archveragejoe
Member
Registered: 2022-11-24
Posts: 3

[SOLVED] error with makepkg - requested url returned error: 404

Hello,

I'm having trouble installing any aur packages.
I was attempting to install tor-browser. From here: https://aur.archlinux.org/packages/tor-browser

Attempting to use makepkg inside the directory yields this error:

[archveragejoe@archveragejoe tor-browser]$ makepkg -si
==> Making package: tor-browser 11.5.7-1 (Thu 24 Nov 2022 12:27:44 PM GMT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found tor-browser.desktop.in
  -> Found tor-browser.in
  -> Found tor-browser.png
  -> Found tor-browser.svg
  -> Downloading tor-browser-linux64-11.5.7_en-US.tar.xz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   266    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading https://dist.torproject.org/torbrowser/ … -US.tar.xz
    Aborting...

Attempting to install any other aur such as spotify (https://aur.archlinux.org/packages/spotify) , again, produces the same error message:
[archveragejoe@archveragejoe spotify]$ makepkg -si
==> Making package: spotify 1:1.1.84.716-2 (Thu 24 Nov 2022 12:30:35 PM GMT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found spotify.protocol
  -> Found LICENSE
  -> Downloading spotify-1.1.84.716-x86_64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   162    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading http://repository.spotify.com/pool/non- … _amd64.deb
    Aborting...

I am unsure what the issue is. Any help is greatly appreciated.

P.s. I do not know how to embed the code. Apologies in advance.

Last edited by archveragejoe (2022-11-24 13:24:20)

Offline

#3 2022-11-24 13:02:44

archveragejoe
Member
Registered: 2022-11-24
Posts: 3

Re: [SOLVED] error with makepkg - requested url returned error: 404

Thank you for the links.

I see from the comments from the aur, that some of the files cannot be located resulting in the package failing to install.
I assume given the last link, it will direct me to the relevant files to download.

Are you aware of how to fix the spotify issue?

Offline

#4 2022-11-24 13:09:40

loqs
Member
Registered: 2014-03-06
Posts: 15,504

Re: [SOLVED] error with makepkg - requested url returned error: 404

archveragejoe wrote:

Are you aware of how to fix the spotify issue?

Have you looked in http://repository.spotify.com/pool/non- … fy-client/ for the updated url?

Offline

#5 2022-11-24 13:11:19

seth
Member
Registered: 2012-09-03
Posts: 33,633

Re: [SOLVED] error with makepkg - requested url returned error: 404

Same thing, http://repository.spotify.com/pool/non- … fy-client/
https://aur.archlinux.org/packages/spot … ent-890908

You can edit the PKGBUILDs and fix urls and checksums (or skip them, since your only way to figure them is to download the files anyway) - or wait until the AUR maintainer fixed the package.

Offline

#6 2022-11-24 13:19:29

archveragejoe
Member
Registered: 2022-11-24
Posts: 3

Re: [SOLVED] error with makepkg - requested url returned error: 404

Following the aur comments, I came to a similar conclusion.

Thank you seth and loqs

Offline

Board footer

Powered by FluxBB