September 19, 2009
Announcement: Paktahn, a successor to yaourt
[This post is geared towards ArchLinux users. It might confuse you if you're not part of that audience.]
yaourt, the popular Pacman wrapper, doesn’t seem to be maintained anymore and has quite some problems (e.g. UI nits, security issues, huge shell codebase). And people are starting to get tired of it because basic things stop working.
But since yaourt’s interface is so great I have decided to code up an alternative called Paktahn (after a ship type from Wing Commander).
But what can it do?
For now it supports yaourt’s two most helpful (IMHO) operation modes:
- pak query
- Search AUR and repositories for QUERY in packages names and descriptions and display the results. Ask for one or more packages to be installed.
- pak -S package
- Install PACKAGE from repositories or AUR.
Paktahn comes with a highly efficient caching system resulting in a speed that will blow your mind if you’re used to Pacman or yaourt.
I’ve been using the current version of Paktahn for weeks now and it has never failed me.
How to get it
Add one of the following sections to your pacman.conf:
# i686 [paktahn] Server = http://viridian-project.de/~sky/paktahn/repo # x86_64, package contributed by Gour [paktahn] Server = http://viridian-project.de/~sky/paktahn/repo/x86_64
There’s no x86_64 package yet since I cannot build them and no one else has contributed one yet. However you can build it from source: Paktahn on AUR. You need to install a patched version of SBCL before attempting to do so.
Development happens here: http://developer.berlios.de/projects/paktahn/
Discussion thread: http://bbs.archlinux.org/viewtopic.php?id=77674
Contributions, bug reports, comments and praise are all welcome, as are donations since I’m an independent software developer.

Comments(28)
yaourt is still maintened by wain ;)
your package ->
download : 12,64 Mo
installed : 42,39 Mo
o_O, damned
I’ve been told before that yaourt is still maintained, but the facts make it seem otherwise.
In any case it’s not secure, slow and hard to extend. :(
I agree that Paktahn’s binary is quite large. You can use Exepak to bring it down to 11M: http://aur.archlinux.org/packages.php?ID=30286
How about upgrading? Especially, the packages installed from AUR.
Upgrade and removal will be part of the next release.
> Paktahn comes with a highly efficient caching system resulting in a speed that will blow your mind if you’re used to Pacman or yaourt.
Any more words on this?
What’s better/faster?
Would it be feasible to port this back to C and include it in Pacman?
Mike,
Pacman uses a database consisting of a lot of files. This is good from a human perspective (debugging, fixing, manipulating) but bad for performance.
With Paktahn I have decided to keep that advantage but add a binary caching layer. The cache is updated whenever it is stale, i.e. when the Pacman db is newer than the cache.
This could be integrated into Pacman as well, but someone would have to do it of course. :)
So pacman -Sy would still take as long as before, right?
This database update takes far to long imho.
Yes. The only way to work around that is frobbing the package database directly. You can use `pacman-cage’ to speed up all db operations by putting the dbs into their own file system.
I’m not bothered by speed really, pacman and yaourt are pretty fast as far as I’m concerned but I was blissfully unaware that yaourt was unmaintained so I’d better switch. Thanks for the work and the heads-up.
The main thing is reliability. Broken packaging is bad.
Does pak not yet support removing packages?
maninalift,
do note that others claim that yaourt is still maintained, so make an informed decision on your own. :)
Paktahn will support package removal very soon. It’s simple to add and important to have.
Can’t you just uninstall everything via pacman?
That should be fast.
Yes, that’s the way I planned it. Will be a snap, probably part of 0.8.1 even.
Should packages installed though yaourt be removed though the same?
You can always remove Arch packages with Pacman, no matter how you installed them.
Cool that it’s comming along so nicely. A replacement to yaourt is long over-due in my mind :-)
Unfortunately I can’t make much use of pakthan until it supports ‘provides’. I noticed that was the first bug raised, so hopefully that won’t take too long.
Yes, I’m in the midst of working on support for provides; basic -R support is already finished so I expect 0.8.1 will be done by the weekend.
Great to hear. Any chance of also getting updates to work properly?
Currently on my system yaourt tells me the following:
While paktahn won’t let me upgrade:
The cause for this is two-fold; the main missing feature is support for versioning, which will be part of the next major release (i.e. not 0.8.1). The situation in your example can be fixed temporarily by asking the user whether he wishes to reinstall the packages he explicitly requested to install. This temporary workaround is already filed here:
http://developer.berlios.de/feature/?func=detailfeature&feature_id=4785&group_id=11152
hello i get this error when I install a package
==> ERROR: Ejecutar makepkg como root es una MALA idea y puede causar
Daño catastrófico permanente a tu sistema. Si tú
quieres ejecutarlo como root, por favor, usa la opción –asroot.
==> Makepkg failed (status 1)
Please choose how you want to proceed:
0: [SKIP-PACKAGE] Skip package “opera” and continue
1: [QUIT ] Quit Paktahn
[0-1] ==>
Any idea how to fix it?
thanks
Have you started Paktahn as root?
Makepkg refuses to build packages when you’re root, which is a good thing.
You should use Paktahn as a normal user; it will invoke sudo as needed.
Maybe a bug:
I installed paktahn on my X86-64 system.When I install a package from aur,after building,an error occurs: XXXXX-i686.pkg.tar.gz could not open.
Why it is searching for an i686 package on my 64 system??
Hamo,
thanks for your report.
This bug has been fixed in Paktahn 0.8.1 which will be released soon.
I just installed paktahn and I seem to be getting an error. I searched for a program and it displayed the results, after that I tried to install the program it paktahn returned this:
==> System call error 2 (No such file or directory)
I’ve removed paktahn and then reinstalled it and then it returned this:
==> Cache “local” is out of date, refreshing.
==> System call error 2 (No such file or directory)
Am I doing something wrong?
Hi Clifford,
does it help to remove $HOME/.paktahn ?
If not then create a file $HOME/.paktahn/config.lisp with the following contents:
(setf pak::*on-error* :backtrace)
Then run Paktahn again and send me the output.
Is there a way to update all packages downloaded from AUR with paktahn with one command?
Transmutated,
this is blocked by versioning support but will be possible soon (I guess in a few weeks).
Thats what it sounded like from the comments above, but I just wanted to make sure. Thanks for the great little app.
This is very nice, but I wish it had more of yaourt’s features, like checking for updates for AUR packages.