safing / portmaster-packaging

Portmaster packages and installers
GNU General Public License v3.0
49 stars 22 forks source link

AUR PKGBUILD download link provides a 404 #82

Closed kremzli closed 1 year ago

kremzli commented 1 year ago

What happened:

AUR PKGBUILD download link provides a 404

What did you expect to happen?:

Download it

How did you reproduce it?:

Run "yay portmaster-stub-bin" in a Arch distro

Debug Information:

╭─kremzli@archzli in ~ as 🧙 took 1m34s ╰─λ yay portmaster-stub-bin 1 aur/portmaster-stub-bin 0.8.8-2 [+9 ~1.56] [Out-of-date: 2022-11-01] Privacy Suite and Firewall: Installer to download the current binaries :: Packages to install (eg: 1 2 3, 1-3): :: 1 :: Resolving dependencies... :: Calculating conflicts... :: Calculating inner conflicts... :: marked out of date: portmaster-stub-bin

Aur (1) portmaster-stub-bin-0.8.8-2

:: Proceed to review? [Y/n]:

:: Downloading PKGBUILDs... PKGBUILDs up to date nothing new to review fetching devel info... ==> Making package: portmaster-stub-bin 0.8.8-2 (Sat 25 Feb 2023 15:43:28 EET) ==> Retrieving sources... -> Downloading portmaster-start... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 403 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 ==> ERROR: Failure while downloading https://updates.safing.io/linux_amd64/start/portmaster-start_v0-8-8 Aborting... error: failed to download sources for 'portmaster-stub-bin-0.8.8-2': error: packages failed to build: portmaster-stub-bin-0.8.8-2

Yes i updated before trying this

storopoli commented 1 year ago

I can confirm I have the same error.

Sntx626 commented 1 year ago

https://github.com/safing/portmaster-packaging/blob/e262df4261a09372547c1795d9c5bdabafe815c4/linux/templates/PKGBUILD#L21

This line seems to be the culprit.

The next step would either be to update the link to always use the newest version: https://updates.safing.io/latest/linux_amd64/start/portmaster-start OR to update the aur package to reflect a version that can (currently) be downloaded: i.e. https://updates.safing.io/linux_amd64/start/portmaster-start_v1-0-0

Sntx626 commented 1 year ago

Furthermore my recommendation would be to keep a pinned package (second option in my previous post) and update the CI to auto push a new version to the aur, when a new one is marked as released. That would also close https://github.com/safing/portmaster-packaging/issues/80

dhaavi commented 1 year ago

Thanks for raising this with us.

We had to migrate our update server to cope with the load and had a couple issues there. The file in question was not migrated and thus the download started to fail. I now migrated the missing file and installation should succeed.

We already have a CI that pushes new versions, but it failed on the last run for the v1 installer. We are looking into it.

Until then, you can use the current installer, as it will download the newest version anyway on install.

superSTA101 commented 1 year ago

To my experience AUR pkg works now

kremzli commented 1 year ago

It works now, thanks.