Username: Password: Remember me
Search Criteria Advanced
Package Details

tupac 0.5.6.1-1
http://sourceforge.net/projects/tupac
A cached pacman implementation that boosts some pacman operations: faster searches, AND searches, aur support, colored output, system sanity check, frontend friendly and more...

unsupported :: system
Maintainer: pajaro
Votes: 287

License: GPL

Last Updated: Sat, 08 Aug 2009 23:23:24 +0000
First Submitted: Mon, 15 Oct 2007 13:05:02 +0000

Tarball :: Files :: PKGBUILD

Dependencies gcc libxml2 pacman php yaourt
Required by qupac

Sources
http://downloads.sourceforge.net/tupac/tupac-0.5.6.1.tar.gz
Comment by: pajaro on Sat, 08 Aug 2009 23:26:20 +0000
0.5.6.1:
- call pacman through sudo.
- implement aur rpc.
- fix no single aur results bug.

pending: check what why it gets messed when you erase a repo. By now you can run:
rm /var/lib/tupac/*
Comment by: kristi on Sun, 17 May 2009 02:03:44 +0000
I don't see why tupac needs the root password when calling pacman. I don't see any related kernel update bug in the tupac bug tracker which necessitates using su instead of sudo. Using sudo works fine. I replaced line 273 of /usr/lib/tupac/PacmanData.class.php from

call('su -c "'.getSettings('PACMAN_BINARY', 'pacman').' -S '.$packages_to_install.'"');

to

call('sudo '.getSettings('PACMAN_BINARY', 'pacman').' -S '.$packages_to_install);
Comment by: ucf on Tue, 28 Apr 2009 01:28:31 +0000
v. 0.5.5-1 Bug: For AUR packages, if you search for a substring of the package name, you get results. If you search for the exact string, then zero results.
details: http://bbs.archlinux.org/viewtopic.php?pid=537903#p537903
Comment by: zhuqin on Thu, 19 Feb 2009 02:14:20 +0000
And there's one bug: if you run tupac --aur-updates, only those have different versions from local repo, are marked as installed.
and also it will list something in the core repo(with a label _NO_REPO_), such as gcc, gcc-libs, fakeroot, bash, glibc, texinfo, readline, file, etc.
Comment by: zhuqin on Thu, 19 Feb 2009 02:04:59 +0000
Hi, is it possible to check orphaned files as well as orphaned directories (or empty dirs)?
So that I don't have to do sudo find / -type d -empty and pacman -Ql|grep to check which dirs are not needed by any pkgs.
Thank you!
Comment by: ombra09 on Sun, 11 Jan 2009 14:51:05 +0000
I've resolved with tupac --color lightbg.
Now i'm using an alias.
Comment by: ombra09 on Fri, 09 Jan 2009 22:44:34 +0000
Than you for tupac!

I have a question: when i search packets , the name of packets is white but i want it black because i use a white shell.

How can i change color?
Comment by: pajaro on Fri, 02 Jan 2009 13:48:33 +0000
0.5.5:
- Added an option '--aur-updates' that checks the version of installed aur packages. NOTE: it highlights if the version does not match, not if there's an update.
Comment by: pajaro on Fri, 02 Jan 2009 12:05:31 +0000
0.5.4.1 (continues):
- Added settings option called VERBOSITY. If set to 1 it enables the old tupac begavior in which every single package update get listed.
Comment by: pajaro on Fri, 02 Jan 2009 11:03:47 +0000
0.5.4.1:
- Fixed a bug in the html filtering that prevented out of date results from appearing in aur searches
Comment by: zhuqin on Sun, 28 Dec 2008 21:51:31 +0000
Hello, it used to list updated pkgs when any repo was updated, which was nice, but the latest version doesn't, could you please fix it?
Comment by: pajaro on Sun, 28 Dec 2008 12:17:42 +0000
0.5.4 (forgot to mention before)
- fixed to work again with the new aur revision.
- added number of votes to the search results
Comment by: pajaro on Sun, 28 Dec 2008 11:43:53 +0000
0.5.4:
- Fixed german bug
- Fixed bug updating database
- Fixed bug with proxy
- Added the possibility to use an alternate command instead of pacman through custom settings. checkout tupac --help
Comment by: frosthammer on Wed, 17 Dec 2008 14:23:38 +0000
In /usr/lib/tupac/localization/de_DE.php there's missing a semicolon at the ending, so tupac won't start.
Comment by: killajoe on Tue, 18 Nov 2008 10:18:12 +0000
url="http://lapacaloca.com/arch/pajman"

does not exist ...
Comment by: angvp on Fri, 17 Oct 2008 11:29:16 +0000
Oh tupac!, pajaro just yesterday we talking about what's happened you since we don't saw you anymore!. (#archlinux-es of course)

Glad to see you online again!
Comment by: pajaro on Fri, 17 Oct 2008 11:09:13 +0000
PKGBUILD update: Now it is stored on sourceforge. No more server disappearence anymore.
Comment by: zhuqin on Fri, 10 Oct 2008 18:35:26 +0000
http://github.com/Kett/tupac/tree/master
Hey guys, you can get it here.
Comment by: finferflu on Fri, 01 Aug 2008 21:56:18 +0000
The server is still down!
Comment by: nelsonmenon on Sat, 05 Jul 2008 12:55:41 +0000
Server Down !
Comment by: nelsonmenon on Sat, 05 Jul 2008 12:55:40 +0000
Server Down !
Comment by: Federiconet on Fri, 27 Jun 2008 11:48:26 +0000
Server down
Comment by: dejari on Thu, 29 May 2008 07:35:23 +0000
Ah, I see the root issue has been fixed in the latest release :)
Comment by: dejari on Thu, 29 May 2008 07:31:34 +0000
I don't like having it to run as root.

Plus, it just exits without any message when I don't run it as root, which is quite confusing for new users.

Apart from that it's most likely the best package tool out there right now :) Thanks!
Comment by: kalen3285 on Sat, 24 May 2008 15:23:12 +0000
Oh okay, sorry for my ignorance. I haven't written any php for a long time
Comment by: pajaro on Sat, 24 May 2008 14:56:36 +0000
kalen3285, the final ?> is not needed, and modern php styling recomneds not tu use it, because this you don't have to worry about unvoluntary echoes of hidden characters in the end.
Comment by: pajaro on Sat, 24 May 2008 14:54:10 +0000
0.5.3.2:
- Fixes the bug with includes
- Also fixed a bug localization bug that made tupac exit silently if the tupac directory didn't exist.
Comment by: kalen3285 on Sat, 24 May 2008 12:47:27 +0000
I don't know PHP very well, but it looks to me like the file /usr/lib/tupac/localization.inc.php was not closed off with a ?> at the end, which may be causing a problem.

Comment by: carrouf on Sat, 24 May 2008 12:22:46 +0000
Hi,
Since update 5.3.1 I get the following error :

Warning: include(localization/fr_FR.php): failed to open stream: No such file or directory in /usr/lib/tupac/localization.inc.php on line 30

Warning: include(): Failed opening 'localization/fr_FR.php' for inclusion (include_path='.:/usr/share/pear') in /usr/lib/tupac/localization.inc.php on line 30
Comment by: skorpan on Sat, 10 May 2008 17:07:36 +0000
How do I use this? There is no man file and it doesn't seem to matter *what* I give it as arguments, it just terminates immediately.
Comment by: pajaro on Sat, 26 Apr 2008 11:13:18 +0000
--checkdir searches for files that are missing in your system.
--orphans tells you which files in a directory are not owned by any repo
Comment by: pajaro on Sat, 26 Apr 2008 11:08:15 +0000
0.5.2:
* Fixed bug: added '+' character as a valid caracter for versioning numbers.
Comment by: gianvito on Wed, 23 Apr 2008 10:53:01 +0000
:::+++ add aria2-0.13.1+2-1
FATAL: Integrity error! The package is corrupted! Its directory name 'aria2-0.13.1+2-1' doesn't match its description name: aria2
Comment by: evdvelde on Tue, 04 Mar 2008 14:05:28 +0000
Could you please add gcc as dependency? It is not implicitly required yet.
Comment by: evdvelde on Mon, 11 Feb 2008 09:29:26 +0000
Could you please give some more information about what tupac can do? It is very unclear what e.g. the option --checkdir exactly does. How does it check the integrity? What exactly does that mean?
Same for some other options... And what is stored in the cache? Without manpage, broken link to website and such, this is impossible to find out.
The tool looks nice though and with some more information I am very interested in using it :)
Comment by: ibendiben on Mon, 28 Jan 2008 12:04:12 +0000
pajman should be tupac
Comment by: solstice on Mon, 28 Jan 2008 11:49:02 +0000
the url http://lapacaloca.com/arch/pajman gives a 404 error
Comment by: pajaro on Mon, 28 Jan 2008 00:26:17 +0000
0.5.1.2:
- Fix wrong version displaying of _NO_REPO_ results.
Comment by: pajaro on Sun, 27 Jan 2008 23:59:59 +0000
just fix checksums
Comment by: pajaro on Sun, 27 Jan 2008 23:59:35 +0000
0.5.1.1:
- Fix php bug.
Comment by: pajaro on Sun, 27 Jan 2008 23:57:01 +0000
0.5.1.1:
- Fix php bug.
Comment by: pajaro on Sun, 27 Jan 2008 21:14:58 +0000
just fix checksums
Comment by: pajaro on Sun, 27 Jan 2008 21:10:46 +0000
0.5.1:
- Added --console option that transforms tupac into a console application for pipe interaction.
Comment by: pajaro on Sun, 27 Jan 2008 21:05:21 +0000
0.5.1:
- Added --console option that transforms tupac into a console application for pipe interaction.
Comment by: marc[i1] on Tue, 22 Jan 2008 14:54:21 +0000
Hello,
You have a 404 error with your URL :
http://lapacaloca.com/arch/pajman > 404
;)
Comment by: pajaro on Mon, 21 Jan 2008 22:07:03 +0000
0.5:
- Added incremental cache to everything (local and filelist where pending it).
Comment by: pajaro on Sun, 20 Jan 2008 21:47:00 +0000
Simply added checksums
Comment by: pajaro on Sun, 20 Jan 2008 20:54:10 +0000
0.4.1.1:
- German localization added
Comment by: pajaro on Sun, 20 Jan 2008 03:33:10 +0000
0.4.1:
- Proxy error message wasn't localized
- Added independent internal versioning for TUPAC_CACHE (now it won't get updated on every tupac update).
Comment by: pajaro on Sun, 20 Jan 2008 01:03:38 +0000
0.4:
- Improved cache check speed time via new .lastupdate files pacman creates on each repo.
- Added multilanguage suport (it uses LANG variable). Current languages es_ES, es_AR (copy of es_ES), en_US, en_EN (copy of en_EN), ca_ES
- Added gui/cli better wrapping via metalanguage "machine"
- Added "--lang" option to set the language in command line.
Comment by: pajaro on Fri, 18 Jan 2008 14:59:26 +0000
0.3.5:
- Now it returns all aur results (not limited to 200 anymore)
- Added --safe option to search only for safe packages in aur
- Added --set-proxy option to setup an option. See "tupac --help".
Comment by: pajaro on Sun, 13 Jan 2008 13:58:58 +0000
0.3.4.2:
- Updated to work with pacman 3.1
Comment by: zlowly on Wed, 02 Jan 2008 01:15:48 +0000
Can you make it support proxy please?
Comment by: pajaro on Tue, 01 Jan 2008 15:33:31 +0000
0.3.4.1:
- Fixed a bug that prevented installing when there were only search matches in aur
Comment by: pajaro on Tue, 01 Jan 2008 15:12:57 +0000
0.3.4:
- Now yaourt is only used when installing packages from aur.
- You can specify working repos with --repos repo1,repo2,...
Comment by: pajaro on Tue, 01 Jan 2008 15:10:59 +0000
Why do you want to download pajman?
Comment by: pajaro on Sun, 30 Dec 2007 17:23:45 +0000
0.3.3
- Added lightcolor background and no color options
Comment by: cotton on Fri, 07 Dec 2007 15:39:17 +0000
http://lapacaloca.com/arch/pajman fails with 404 error.
Comment by: pajaro on Fri, 07 Dec 2007 13:56:46 +0000
[0.3.2]
- Added incremental cache. Even faster!
Comment by: pajaro on Sat, 20 Oct 2007 12:10:05 +0000
0.2.9.1 UPDATE:
- fix typo errors in child program calling function.
Comment by: pajaro on Sat, 20 Oct 2007 11:58:05 +0000
0.2.9 UPDATE:
- Support for "alias pacman=tupac"
- Show in search results what packages of AUR are SAFE.
- Improved subprocess handling (now control+c actually kills the child process).
- Slightly improved performance.
BUG FIXES:
- Fix filename handling when it contains ? or $ (it treats them properly, but it stills shows strange output when one if this files is to be printed).
- Fix symbolic links recognition when searching for file owner.
Comment by: pajaro on Sat, 20 Oct 2007 11:57:02 +0000
0.2.9 UPDATE:
- Support for "alias pacman=tupac"
- Show in search results what packages of AUR are SAFE.
- Improved subprocess handling (now control+c actually kills the child process).
- Slightly improved performance.
BUG FIXES:
- Fix filename handling when it contains ? or $ (it treats them properly, but it stills shows strange output when one if this files is to be printed).
- Fix symbolic links recognition when searching for file owner.
Comment by: pajaro on Fri, 19 Oct 2007 11:43:14 +0000
UPDATE 0.2.8:
- Fixed external programs behaivour. Now pacman progress bars and vi behave normally.
Comment by: pajaro on Thu, 18 Oct 2007 10:40:05 +0000
0.2.7 UPDATES:
- Added --orphans option that finds files with no owner in a directory.
- Fixed symlinks processing.
Comment by: pajaro on Wed, 17 Oct 2007 09:20:20 +0000
- Added a message recommending you to run tupac --checkdir as root to get real information.
Comment by: pajaro on Wed, 17 Oct 2007 08:28:00 +0000
- Removed unnecessary prompts
- Added --checkdir functionality that checks if any package is missing any file in a directory. Once cached, we get 5.5 seconds for "tupac --checkdir /"
Comment by: pajaro on Tue, 16 Oct 2007 22:21:57 +0000
kumiko,

First, i updated tupac to avoid useing php.ini, so now it works with no problem. All your error messages should have with the new version.

Second, I am gonna do the code cleanup :)

Third, I don't know if the "serialize vs database" information will be useful, since this matter is more of "serialize vs filesystem".

Thank you for your information :)
Comment by: pajaro on Tue, 16 Oct 2007 07:37:45 +0000
- Chaged cache directory from /var/lib/pajman to /var/lib/tupac
- Fixed a bug that omited packages with no repo when you omited aur search.
- Added checking that contents of pacman directories are actually directories.
Comment by: pajaro on Mon, 15 Oct 2007 22:13:39 +0000
Fixed a bug that prevented tupac from finding file owner of packages that weren't in a repo.
Comment by: kumyco on Mon, 15 Oct 2007 22:11:11 +0000
the code needs a lot of fixup ... most if not all your [vars] need to be fixed: ['vars'] .. and Std, methods need to be declared as static if you're going to use then as such,,, and you might wanan let the user know they need to add /var/lib/pa{c,j}man to their open_basedir PATH in php.ini;;;
and after fixing those, i get [code]==> Generating PAJMAN_CACHE

Notice: Undefined offset: 0 in /raed/other/tupac/tupac on line 202

Notice: Undefined index: %DESC% in /raed/other/tupac/tupac on line 202

Warning: fopen(/var/lib/pacman/local/tar-1.19-1/desc): failed to open stream: Not a directory in /raed/other/tupac/tupac on line 363

Warning: fgets(): supplied argument is not a valid stream resource in /raed/other/tupac/tupac on line 365

Warning: fclose(): supplied argument is not a valid stream resource in /raed/other/tupac/tupac on line 374

Notice: Undefined index: %NAME% in /raed/other/tupac/tupac on line 194

Notice: Undefined index: %NAME% in /raed/other/tupac/tupac on line 195
[/code]
if you're interested, i've done a search part using php serialiszed files to test the speed improvements... i can email it to you if you like ... i'm also working this in python(serialization+database comparisions) ...
Comment by: pajaro on Mon, 15 Oct 2007 21:51:23 +0000
People can download it. The 404 may be related to your ISP. Maybe you have a proxy cache.
Comment by: pajaro on Mon, 15 Oct 2007 21:49:11 +0000
I was able to reproduce the problem it had. It was related to the new php.ini configuration.

I fixed that by setting the executable to be:
#!/usr/bin/php -n
Comment by: pajaro on Mon, 15 Oct 2007 19:23:42 +0000
Trying to fix the annoying problem of tupac showing the source code instead of being executed
Comment by: DarkJesus on Mon, 15 Oct 2007 15:23:38 +0000
I get a 404.
Comment by: pajaro on Mon, 15 Oct 2007 13:05:02 +0000
tupac is a cached pacman implementation.

v1.6.0