@begin-theadventu thank you so much for sticking with me through this and fixing the issue! In thinking about it, I wonder if this has to do with the fact that my default shell is zsh instead of bash, but I didn't dig that far into it honestly. Regardless, thanks again!
Search Criteria
Package Details: notesnook-bin 2.6.5-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/notesnook-bin.git (read-only, click to copy) |
---|---|
Package Base: | notesnook-bin |
Description: | A fully open source & end-to-end encrypted note taking alternative to Evernote (binary release) |
Upstream URL: | https://github.com/streetwriters/notesnook |
Keywords: | bin binary electron encrypted notes |
Licenses: | GPL3 |
Conflicts: | notesnook |
Provides: | notesnook |
Submitter: | qustavo |
Maintainer: | begin-theadventu |
Last Packager: | begin-theadventu |
Votes: | 5 |
Popularity: | 0.26 |
First Submitted: | 2022-09-05 10:12 (UTC) |
Last Updated: | 2023-09-16 01:14 (UTC) |
Dependencies (6)
Required by (0)
Sources (2)
ajgraves commented on 2023-09-07 15:39 (UTC)
begin-theadventu commented on 2023-09-05 14:51 (UTC)
@ajgraves Thank you very much! I appreciate it.
ajgraves commented on 2023-09-04 21:31 (UTC) (edited on 2023-09-04 21:34 (UTC) by ajgraves)
@begin-theadventu the error is on rm, not mv, so changing that line wouldn't do much for me.
I was able to fix the error I'm getting by changing line 62 (the rm command) from:
rm -dr usr & rm AppRun $_pkgname.desktop $_pkgname.png .DirIcon
To:
rm -dr usr AppRun $_pkgname.desktop $_pkgname.png .DirIcon
To summarize, I removed the & rm
from the command, which not only is unnecessary to include, it's incorrect syntax (it should be && instead of a single &).
begin-theadventu commented on 2023-08-31 19:43 (UTC) (edited on 2023-09-01 09:52 (UTC) by begin-theadventu)
Can you try replacing the mv line (64) with:
mv "$srcdir"/squashfs-root/* "$pkgdir/opt/$_pkgname"
or 64-enter 65-mv, and let me know if it fixes the problem?
ajgraves commented on 2023-08-31 19:21 (UTC)
@begin-theadventu I completely removed the directory from cache (I use yay for reference) and started over, and I'm still getting the error.
It's erroring out on line 62, where you remove several items from the squashfs-root directory, which is what you get from extracting the appimage file.
Honestly it's not even yay's fault, I can't even use makepkg using your PKGBUILD file, it still errors out in the same spot:
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package()...
mv: cannot stat 'usr': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
That is output directly from makepkg, so that removes any aur helper from the equation. If I comment out line 62 in your PKGBUILD and run makepkg, it works perfectly.
Am I really the only one having this issue? I'm not trying to be accusatory, just trying to understand. I maintain tutanota-desktop-bin and do similar things with the extracted appimage, however I haven't run in to any issues with removing things from the extracted image. My PKGBUILD file: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=tutanota-desktop-bin
begin-theadventu commented on 2023-08-30 21:04 (UTC) (edited on 2023-08-30 21:08 (UTC) by begin-theadventu)
@ajgraves I just tried again making it and I didn't have any problem, neither did the Chaotic-AUR, log.
Maybe try deleting the notesnook-bin
folder in your AUR helper cache.
ajgraves commented on 2023-08-30 18:14 (UTC)
Notesnook-bin is not able to update, erroring out:
mv: cannot stat 'usr': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
-> error making: notesnook-bin-exit status 4
-> Failed to install the following packages. Manual intervention is required:
notesnook-bin - exit status 4
begin-theadventu commented on 2023-06-21 08:17 (UTC) (edited on 2023-06-21 08:22 (UTC) by begin-theadventu)
sha256sum check for arm64 is now skipped, as I don't use this arch and I don't want to download the file with each release.
If you use it, feel free to provide me with the sums.
begin-theadventu commented on 2023-06-10 17:52 (UTC) (edited on 2023-06-10 20:12 (UTC) by begin-theadventu)
@ajgraves Yes. I previously linked my PKGBUILD that repackages it.
I'll move it here as I just adopted the package.
Honestly, the moderation should add a new rule that all packages that install only the AppImage must have the suffix -appimage
.
For example, upscayl-bin
installs only the AppImage even though .rpm.
and .deb
are available.
ajgraves commented on 2023-06-10 17:40 (UTC)
Honest question here, what is the difference between this package and the package notesnook-appimage? Both seem to do the same thing, installing the appimage.
Pinned Comments
begin-theadventu commented on 2023-06-21 08:17 (UTC) (edited on 2023-06-21 08:22 (UTC) by begin-theadventu)
sha256sum check for arm64 is now skipped, as I don't use this arch and I don't want to download the file with each release.
If you use it, feel free to provide me with the sums.