Error in prepare():
sed: unable to read squashfs-root/outline-manager.desktop: No such file or directory
How fix this?
Git Clone URL: | https://aur.archlinux.org/outline-manager-appimage.git (read-only, click to copy) |
---|---|
Package Base: | outline-manager-appimage |
Description: | Creates and manages Outline servers, powered by Shadowsocks. |
Upstream URL: | https://github.com/Jigsaw-Code/outline-server |
Keywords: | jigsaw-code manager outline proxy shadowsocks |
Licenses: | Apache |
Provides: | outline-manager |
Submitter: | DuckSoft |
Maintainer: | Felixoid |
Last Packager: | Felixoid |
Votes: | 5 |
Popularity: | 0.028838 |
First Submitted: | 2021-01-13 07:13 (UTC) |
Last Updated: | 2025-01-22 11:03 (UTC) |
Error in prepare():
sed: unable to read squashfs-root/outline-manager.desktop: No such file or directory
How fix this?
Thanks to @jetexe I was able to build this with the following patch:
diff --git a/PKGBUILD b/PKGBUILD
index 110b2e1..41a1618 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,17 @@
# Maintainer: DuckSoft <realducksoft at gmail dot com>
-_name=outline-manager
-pkgname=${_name}-appimage
+_name=@outlineserver_manager
+_pkgname=outline-manager
+pkgname=${_pkgname}-appimage
pkgver=1.16.0
-pkgrel=1
+pkgrel=2
pkgdesc="Creates and manages Outline servers, powered by Shadowsocks."
arch=('x86_64')
url="https://github.com/Jigsaw-Code/outline-server"
license=('Apache')
makedepends=('git')
options=(!strip)
-provides=(${_name})
-conficts=(${_name})
+provides=(${_pkgname})
+conficts=(${_pkgname})
# See https://github.com/Jigsaw-Code/outline-releases/blob/master/manager/latest-linux.yml
_app_image="Outline-Manager-v${pkgver}.AppImage"
source=("${_app_image}::https://s3.amazonaws.com/outline-releases/manager/linux/${pkgver}/3/Outline-Manager.AppImage")
'outline-manager.desktop' was renamed to '@outlineserver_manager.desktop'
The package currently doesn't build:
==> Starting prepare()...
sed: can't read squashfs-root/outline-manager.desktop: No such file or directory
==> ERROR: A failure occurred in prepare().
Aborting...
-> error making: outline-manager-appimage-exit status 4
-> Failed to install the following packages. Manual intervention is required:
outline-manager-appimage - exit status 4
If somebody wants to mark a package as outdated, please, bring the link to download a newer version.
Here's a docker command on how to get the fresh version:
docker run -i --entrypoint=python public.ecr.aws/lambda/python:3.12 <<EOF
from pprint import pprint
from boto3 import client
from botocore import UNSIGNED
from botocore.client import Config
s3c = client('s3',config=Config(signature_version=UNSIGNED))
pprint([o['Key'] for o in s3c.list_objects_v2(Bucket='outline-releases', Prefix='manager/linux')['Contents'] if o['Key'].endswith('.AppImage')])
EOF
And the link to download an appimage file?
https://getoutline.org/get-started/#step-1 gives a link to stable
version, without any other hints..
Although, we have some another hint!
In [92]: [o['Key'] for o in client.list_objects_v2(Bucket='outline-releases', Prefix='manager/linux/')['Contents'] if o['Key'].endswith('.AppImage')]
Out[92]:
['manager/linux/1.10.0/1/Outline-Manager.AppImage',
'manager/linux/1.10.1/1/Outline-Manager.AppImage',
'manager/linux/1.11.0/1/Outline-Manager.AppImage',
'manager/linux/1.12.0/1/Outline-Manager.AppImage',
'manager/linux/1.13.0/1/Outline-Manager.AppImage',
'manager/linux/1.14.0/1/Outline-Manager.AppImage',
'manager/linux/1.15.0/1/Outline-Manager.AppImage',
'manager/linux/1.15.1/1/Outline-Manager.AppImage',
'manager/linux/1.15.2/1/Outline-Manager.AppImage',
'manager/linux/stable/Outline-Manager.AppImage']
the release can be found in https://github.com/Jigsaw-Code/outline-apps/tags by manager_linux prefix
Marking the package as outdated without providing a way to download a particular version won't magically make it up to date.
The Jigsaw doesn't have a place to download a particular version. Without it, the package can't be maintained
The https://github.com/Jigsaw-Code/outline-releases is archived and no more
https://github.com/Jigsaw-Code/outline-server/releases has nothing to do with the manager
It's definitely cursed on their side.. it's 1.12.0 in https://github.com/Jigsaw-Code/outline-releases/commit/e184220537413d9da477fe8d5f3498d49d14e373, but there's no such tag in https://github.com/Jigsaw-Code/outline-server. Although, there's 1.13.0, and there's no such file in s3
I'll just use the current one. Thank you for the update. Sorry I've missed it
Pinned Comments
Felixoid commented on 2024-10-17 12:49 (UTC)
If somebody wants to mark a package as outdated, please, bring the link to download a newer version.
Here's a docker command on how to get the fresh version: