Install pal calendar

Following instructions on https://snapcraft.io/install/pal-pv/arch.

git clone https://aur.archlinux.org/
snapd.git
cd snapd
makepkg -si

It fails at...

$ snapd.git
bash: snapd.git: command not found

But when I...

$ sudo pacman -S snapd.git
[sudo] password for ion: 
error: target not found: snapd.git

Advice will be appreciated.

should be:

git clone https://aur.archlinux.org/snapd.git

one line, not two.

Is there any special reason for installing the snap version.

pal calendar is already in AUR

Saw that, but wasn’t sure if it was the same program, it’s command line only?

Now that you mention it, I am not sure if it is the same program either :blush: :sweat_smile:

The one in AUR is command line, yes.

Well AUR is active. But when I…

$ sudo pacman -S pal
[sudo] password for ion: 
error: target not found: pal
warning: 'pal' is a file, did you mean -U/--upgrade instead of -S/--sync?
[ion@ion-desk ~]$ 

pacman cannot be used directly to install AUR packages, only official repo packages.

Use the AUR “helper” yay instead:

yay -S pal

@ionmich is it this program?

I ran into this problem when invoking yay -S pal’

[gcc] manage.c
manage.c: In function ‘pal_manage’:
manage.c:406:23: error: assignment to ‘int (*)(void)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types]
  406 |     rl_pre_input_hook = pal_rl_ncurses_hack;
      |                       ^
In file included from manage.c:38:
rl.h:43:6: note: ‘pal_rl_ncurses_hack’ declared here
   43 | void pal_rl_ncurses_hack(void);
      |      ^~~~~~~~~~~~~~~~~~~
make: *** [Makefile:59: tmp.opt/manage.o] Error 1
make: Leaving directory '/home/ion/.cache/yay/pal/src/pal-0.4.3/src'
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: pal-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
pal - exit status 4
[ion@ion-desk ~]$

Yes this is the program. And thanks to all for the help.

If you check the pal package AUR page, the latest comment (which was posted a year ago) reports the exact error that you are getting, and also reports that it occurs with the pal-git package. The package has not been updated since January 2023, so the maintainer may have abandoned it.

I’m not familiar with the error so I can’t really help you fix it.

Thanks for reporting that. I’ve been struggling without results. The problem is that I have a large file in pal’s format with entries that look like this…

00000927 Maria Tzelepaki wedding in Nea Peramos church

Can you think of any way to convert it to something that works. Preferably to something that’s CLI.

No, not off the top of my head. I don’t use command-line calendars.

But:

I am not a fan of Snaps - not at all - but if you still want to try using the Snap version by following the steps in the snapcraft link you referenced in your first post, you could try that again (you had a typo). However, you can do the first part (install snapd) in a more simple manner than is outlined on the snapcraft page by simply using yay (always be sure that you are installing any package(s) to a fully updated system):

yay -S snapd

Then:

systemctl enable --now snapd.socket

IF you are using apparmor, also run the following:

systemctl enable -- now snapd.apparmor.service

Apparently (according to the snapcraft page, anyway) you need to enable classic Snap confinement, so you’ll make a symlink:

sudo ln -s /var/lib/snapd/snap /snap

Reboot, then install the pal-pv snap:

sudo snap install pal-pv

Again, I do not have a favorable opinion of Snaps but if you do, I would think the above procedure will get you the results you were trying to get in your first post, i.e., a working pal calendar via the Snap package.

Problem being that pal-pv is not pal. I think I have to give up on this and convert hundreds of calendar events to some other format. Can you suggest any? In any case many thanks for trying to solve this for me. I am a recent convert from openSUSE, and being 81 years old a little resistant to change.

Ah, sorry. I missed that detail.

I really don’t have any familiarity with calendar events formats. Sorry again. The best I can do is suggest searching the web, and looking at the Arch wiki Applications page, under the Organization section: Personal Information Managers and Time management look like they have a few calendar apps listed.

What I have found so far requires me to enter every single event one at a time. Import functions don’t work. So it looks like I have to write some kind of program to do this for me. The good news is once I have written it, it will survive all OS changes. Thanks again, and I think we can close this project for good.

@ionmich ,
I tested pal on LMDE 7. It starts but search doesn’t work by default.
Perhaps in a virtual machine you can play with it.
On arch I started to test
calcurse # Nice and flexible. Easy to use. Top rated.
khal # Less customizable but effective. Search is good.
Edit: Re calcurse import:

BEGIN:VEVENT
DTSTART;VALUE=DATE:20251219
SUMMARY:Birthday of Balázs
END:VEVENT

Search is like this

grep Balázs .local/share/calcurse/apts
12/19/2025 [1] Birthday of Balázs