I'm getting this error:
A critical error occurred while accessing a file:
I/O error on file /opt/Tibia/partial-package.json: Permission denied
Please reinstall Tibia.
| Git Clone URL: | https://aur.archlinux.org/tibia.git (read-only, click to copy) |
|---|---|
| Package Base: | tibia |
| Description: | Fast-paced free massively multiplayer online role-playing game |
| Upstream URL: | http://www.tibia.com |
| Keywords: | cipsoft mmorpg |
| Licenses: | custom:CipSoft |
| Submitter: | Cameri |
| Maintainer: | seds |
| Last Packager: | seds |
| Votes: | 13 |
| Popularity: | 0.016568 |
| First Submitted: | 2015-11-09 06:01 (UTC) |
| Last Updated: | 2025-08-30 20:31 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 12 Next › Last »
I'm getting this error:
A critical error occurred while accessing a file:
I/O error on file /opt/Tibia/partial-package.json: Permission denied
Please reinstall Tibia.
Looks like Cipsoft is preventing automatic downloads by seemingly looking at things like the User Agent.
Downloading tibia.tar.gz...
curl: (22) The requested URL returned error: 503 Service Temporarily Unavailable
Warning: Transient problem: HTTP error Will retry in 3 seconds. 2 retries
Warning: left.
Weird, from browser I can download.
PS. @TrialnError yes, AurWeb supports markdown code.
Thanks for the note victorperin. Will take a look at it. Would be nice if you could ellaborate why the changes to the default DLAGENTS is needed. Or where you get this specific DLAGENT.
Thank you :)
Edit: Oh and it killed the formatting of your patch. See Markdown notation how to add your patch in the comments without mangling it :) Dunno if the code include is supported on aurweb
Applied the patch from @victorperin. Let me know if it is working.
I fixed it by running this patch:
diff --git a/PKGBUILD b/PKGBUILD
index 9066280..96354c2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,13 +10,16 @@ license=('custom')
depends=('glu' 'libgl' 'libice' 'libxext' 'openssl-1.0' 'pcre' 'qt5-base' 'qt5-declarative')
makedepends=('gendesk' 'python-html2text')
-source=("${pkgname}.tar.gz::http://static.tibia.com/download/tibia.x64.tar.gz" - "${pkgname}-agreement.php::http://www.tibia.com/support/agreement.php" +DLAGENTS=("https::/usr/bin/curl --compressed -fLC - --retry 0 --retry-delay 0 -e %u -o %o %u" + "${DLAGENTS[@]}") + +source=("${pkgname}.tar.gz::https://static.tibia.com/download/tibia.x64.tar.gz" + "${pkgname}-agreement.php::https://www.tibia.com/support/agreement.php" "01_openssl102.patch" "02_freetype.patch")
sha256sums=('SKIP' - '1200d3d5a77c8408a79a92c2fb4bdb5fa123b928aa036a32d2951e2459f0f7d9' + 'SKIP' 'e9e6cdd4e2954ae0838dc427a92871bb9cacdacb0523598c60287a05f8568d1f' '3cdf107369e4366aa5fc6d1b90ba0b41bd3d19abeb418fb85a693d74c3ece736')
@TrialInError: Yes it's something wrong with PKGBUILD and it's not AUR helper's fail - plain makepkg fails on the PKGBUILD too, and the fix is to add: --pkgname=${pkgname} to gendesk invocation (gendesk v.0.7 as upstream).
Sorry for my late answer but I've got no notification of your response.
==> Iniciando prepare()... [tibia] Generating desktop file... ok can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was:
|--- start-tibia.sh |+++ start-tibia.sh
File to patch:
@annisar: Anything wrong with the PKGBUILD or why flagging it out of date? The comment you added wasn't helpful as I don't see a difference.
Yep, working perfectly. I believe you can ignore the "out-of-date" flags from now on.
Pinned Comments
seds commented on 2025-08-30 20:37 (UTC)
I've made some changes to this packages, and hopefully this works for everyone. I've added a few optional dependencies which
namcapraised and changed how we deal with installing the package.