























Hi! Version 1.1.2-1 fails to build if the $pkgdir isn't clean because the ln -s commands encounter existing symlinks from previous attempts, causing the build to crash during the package() function.
The fix is to add the -f (force) flag to both symlink commands to allow overwriting. Please consider updating the link section to:
```bash # Link to binary install -dm755 "$pkgdir/usr/bin" ln -sf "/usr/bin/electroncastlab" "$pkgdir/opt/$_pkgname/electron" ln -sf "/opt/$_pkgname/$pkgname" "$pkgdir/usr/bin/$pkgname"
Thanks for maintaining the package!
Hey @lebotdufutur thank you for looking out for my package and the flag but that update is a refresher update that updates the binaries with newer dependencies, this isn't a main update the AUR package will use. :)
I will remove the flag.
@gameslayer, it is working now and all is good thx.
Hey @TwistedXenos the latest update will fix this :)
After the update I am getting /usr/bin/netflix: line 4: electron: command not found,
tried reinstalling also and same thing.
I think I tried removing the cache previously and it didn't work, anyway thanks to your comment about yay I installed paru and tried with that and it worked, thanks
Hey that looks like yay is trying to do some unusual stuff haha
try and remove electron-castlab-bin-debug and libelectron-debug because they're not needed, clear your pacman cache and try again
I have some issues with this package. yay started notifying me that my version was newer than the one in aur (I think it was 1.1.0 against the version before 1.0.15-1), so I uninstalled it and now I can't install it anymore. The error I get is
Package (4) New Version Net Change
electron-castlab-bin v34.4.1+wvcus-2 260,22 MiB
electron-castlab-bin-debug v34.4.1+wvcus-2 1,30 MiB
libelectron 2025.3-1 268,56 MiB
libelectron-debug 2025.3-1 1,30 MiB
Total Installed Size: 531,39 MiB
:: Proceed with installation? [Y/n]
(4/4) checking keys in keyring
(4/4) checking package integrity
(4/4) loading package files
(4/4) checking for file conflicts
error: failed to commit transaction (conflicting files)
/usr/lib/debug/.build-id/1d/4717bfe3ba08b63b34b37fb7e4c5204a4309fa exists in both 'electron-castlab-bin-debug' and 'libelectron-debug'
/usr/lib/debug/.build-id/1d/4717bfe3ba08b63b34b37fb7e4c5204a4309fa.debug exists in both 'electron-castlab-bin-debug' and 'libelectron-debug'
/usr/lib/debug/.build-id/41/ae3e7b7c4233123dbce4263cef4c51a89cdc6e exists in both 'electron-castlab-bin-debug' and 'libelectron-debug'
/usr/lib/debug/.build-id/41/ae3e7b7c4233123dbce4263cef4c51a89cdc6e.debug exists in both 'electron-castlab-bin-debug' and 'libelectron-debug'
/usr/lib/debug/.build-id/8f/cb438e6014a01ae0fc8f0254f498354b4271da exists in both 'electron-castlab-bin-debug' and 'libelectron-debug'
/usr/lib/debug/.build-id/8f/cb438e6014a01ae0fc8f0254f498354b4271da.debug exists in both 'electron-castlab-bin-debug' and 'libelectron-debug'
/usr/lib/debug/.build-id/95/7129eb765fce63e47fe7f4c09d65ee5ba3b65b exists in both 'electron-castlab-bin-debug' and 'libelectron-debug'
/usr/lib/debug/.build-id/95/7129eb765fce63e47fe7f4c09d65ee5ba3b65b.debug exists in both 'electron-castlab-bin-debug' and 'libelectron-debug'
/usr/lib/debug/.build-id/9a/efb104a509a010477b08cc78fd67b0b701d51d exists in both 'electron-castlab-bin-debug' and 'libelectron-debug'
/usr/lib/debug/.build-id/9a/efb104a509a010477b08cc78fd67b0b701d51d.debug exists in both 'electron-castlab-bin-debug' and 'libelectron-debug'
/usr/lib/debug/.build-id/a1/94c68c1961b5fa43bc1a2e528b5bc8a6464c7f exists in both 'electron-castlab-bin-debug' and 'libelectron-debug'
/usr/lib/debug/.build-id/a1/94c68c1961b5fa43bc1a2e528b5bc8a6464c7f.debug exists in both 'electron-castlab-bin-debug' and 'libelectron-debug'
/usr/lib/debug/.build-id/d4/19d436a76ba1d6c1303c4718f6ea2c1bc20333 exists in both 'electron-castlab-bin-debug' and 'libelectron-debug'
/usr/lib/debug/.build-id/d4/19d436a76ba1d6c1303c4718f6ea2c1bc20333.debug exists in both 'electron-castlab-bin-debug' and 'libelectron-debug'
/usr/lib/debug/.build-id/d8/a4ec7cb2be423f92b70901b0b561f0cd90d841 exists in both 'electron-castlab-bin-debug' and 'libelectron-debug'
/usr/lib/debug/.build-id/d8/a4ec7cb2be423f92b70901b0b561f0cd90d841.debug exists in both 'electron-castlab-bin-debug' and 'libelectron-debug'
Errors occurred, no packages were upgraded.
-> Failed to install layer, rolling up to next layer.error:error installing: [/home/user/.cache/yay/electron-castlab-bin/electron-castlab-bin-v34.4.1+wvcus-2-x86_64.pkg.tar.zst /home/user/.cache/yay/electron-castlab-bin/electron-castlab-bin-debug-v34.4.1+wvcus-2-x86_64.pkg.tar.zst /home/user/.cache/yay/libelectron/libelectron-2025.3-1-x86_64.pkg.tar.zst /home/user/.cache/yay/libelectron/libelectron-debug-2025.3-1-x86_64.pkg.tar.zst] - exit status 1
I tried doing a clean build, removing the folders under debug from the message, installing electron-castlab-bin first, removing netflix folders under ~.local and ~.config to no avail
Thank you, it is working now. Life is good.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
Hey mate thanks for letting me know an I appreciate it!
2:08 am here but I thought fuck it I might as well fix it now, better late then never os I'll just do it now haha