You are not logged in.

#126 2009-07-06 07:47:44

metapy
Member
Registered: 2009-05-18
Posts: 4

Re: tupac (TUrbo PACman) - a cached pacman implementation. UPDATED 0.5.6.1

I am no longer getting search results from aur with tupac as well. Tried updating tupac, updating the cache of tupac. I am getting result from AUR with yaourt, but not tupac.

tupac: A cached pacman implementatioin. Version: 0.5.5
tupac seek
1 extra/nicotine 1.2.12-2
    Soulseek music-sharing client, written in python
2 extra/xbill 2.1-6
    Xbill is a game that tests you reflexes as you seek and destroy all forms of Bill
==> Enter the package numbers you want to install. Separate choices with a space. Example: 1 2 5 14
==:



yaourt seek
1 extra/nicotine 1.2.12-2
     Soulseek music-sharing client, written in python
2 extra/xbill 2.1-6
     Xbill is a game that tests you reflexes as you seek and destroy all forms of
     Bill
3 aur/dupseek 1.3-2 (11)
    A utility to find file duplicates
4 aur/gnome-hideseek 0.6.0-1 (18)
    This utility finds GNOME hidden preferences stored in GConf and groups all together in a better user interface.
5 aur/gqradio 1.9.2-1 (14)
    GQradio interfaces with radio cards through the video4linux. Stations can be tuned manually, set to presets, or auto seek can fi
6 aur/imgseek 0.8.6-3 (22)
    a photo collection manager and viewer with content-based search and many other features
7 aur/murmur-svn 925-1 (1)
    A GTK2 interface to the museekd daemon.
8 aur/museekbindings-svn 925-1 (0)
    Python bindings for Museek clients.
9 aur/museekd-svn 925-3 (6)
    Museek+'s daemon. Museek+ is a fork of Hyriand's C++ daemon/client Soulseek P2P client, with many enhancements.
10 aur/museek-plus 0.1.13-1 (Out of Date) (16)
    Museek+ is a C++ daemon/client Soulseek P2P client, that includes QT, PyGTK, and Curses UIs and a PyGTK config tool.
11 aur/museekplus-svn 920-1 (18)
    Museek+ is a fork of Hyriand's C++ daemon/client Soulseek P2P client, with many enhancements.
12 aur/museeq-svn 925-1 (6)
    A Qt4 interface to the museekd daemon.
13 aur/nethack-qt 3.4.3-2 (2)
    The classic Unix role-playing game - fight monsters and seek the Amulet of Yendor for your god!
14 aur/nicotine-plus-svn 824-1 (46)
    A fork of nicotine, a Soulseek music-sharing client written in python. SVN version.
==>  Enter n° (separated by blanks, or a range) of packages to be installed

Offline

#127 2009-07-19 11:47:20

Pajaro
Member
Registered: 2004-04-21
Posts: 878

Re: tupac (TUrbo PACman) - a cached pacman implementation. UPDATED 0.5.6.1

I will be fixing aur searches in short. Sorry for any inconvenience.

Offline

#128 2009-08-08 23:24:22

Pajaro
Member
Registered: 2004-04-21
Posts: 878

Re: tupac (TUrbo PACman) - a cached pacman implementation. UPDATED 0.5.6.1

Finally, the work is done. tupac is back.

0.5.6.1:
- call pacman through sudo.
- implement aur rpc.
- fix no single aur results bug.
** pending: check why it gets messed when you erase a repo. By now you can run:

rm /var/lib/tupac/*

Offline

#129 2009-08-09 22:09:04

ap0
Member
Registered: 2009-01-31
Posts: 6

Re: tupac (TUrbo PACman) - a cached pacman implementation. UPDATED 0.5.6.1

thanks! works again! very fast. very nice.

I found a bug:
- option -Qo does not provide a correct result:

/ % tupac -Qo vi
//vi has no owner but, anyway, it doesn't exist

small things:

- show if AUR package is "Out of Date"
- show if package belongs to a package group like "(base)"

Offline

#130 2009-08-10 09:34:02

Pajaro
Member
Registered: 2004-04-21
Posts: 878

Re: tupac (TUrbo PACman) - a cached pacman implementation. UPDATED 0.5.6.1

ap0 wrote:

thanks! works again! very fast. very nice.

you are welcome!

ap0 wrote:

I found a bug:
- option -Qo does not provide a correct result:

/ % tupac -Qo vi
//vi has no owner but, anyway, it doesn't exist

i never thought of doing that', i always did tupac -Qo /usr/bin/vi. Gonna see what i can do about it.

ap0 wrote:

small things:

- show if AUR package is "Out of Date"
- show if package belongs to a package group like "(base)"

Good points, implementing soon.

Offline

#131 2009-08-11 15:25:10

bluesheep
Member
Registered: 2009-08-11
Posts: 1

Re: tupac (TUrbo PACman) - a cached pacman implementation. UPDATED 0.5.6.1

Hi, i now get this error when running tupac

FATAL: Integrity error! The package is corrupted! Its directory name 'chromium-browser-3.0.194.0~svn20090711r20455-1' doesn't match its description name: chromium-browser

I assume this is similar to the earlier '+' issue.

Thanks.

Offline

#132 2009-08-11 16:47:53

Pajaro
Member
Registered: 2004-04-21
Posts: 878

Re: tupac (TUrbo PACman) - a cached pacman implementation. UPDATED 0.5.6.1

yes, apparently it is the same issue.

I am busy at work now, so i can't commit a new version of tupac, but if you want you can try replacing line 25 of /usr/lib/tupac/PacmanData.class.php with this one:

$packageName=preg_replace('/\-[^\-]*\-[^\-]*$/','',$package);

I am far from being a gurú in regular expressions, but i think that this should solve the + situation forever.

Offline

#133 2009-08-12 21:10:47

warnec
Member
From: Poland
Registered: 2009-06-22
Posts: 166

Re: tupac (TUrbo PACman) - a cached pacman implementation. UPDATED 0.5.6.1

Hi. Funny bug aroused today when I used tupac. (newest version). All works fine, but when I try to search for 'winrar':

[warnec@chakra ~]$ tupac winrar

Warning: Invalid argument supplied for foreach() in /usr/lib/tupac/PacmanData.class.php on line 477
==> Nothing to install
[warnec@chakra ~]$

It works without any problem when I try to search for any other package. Only winrar gives this error. Wierd.

Offline

#134 2009-09-19 20:45:36

SIGTERM
Member
Registered: 2009-09-19
Posts: 67
Website

Re: tupac (TUrbo PACman) - a cached pacman implementation. UPDATED 0.5.6.1

warnec wrote:

Hi. Funny bug aroused today when I used tupac. (newest version). All works fine, but when I try to search for 'winrar':

[warnec@chakra ~]$ tupac winrar

Warning: Invalid argument supplied for foreach() in /usr/lib/tupac/PacmanData.class.php on line 477
==> Nothing to install
[warnec@chakra ~]$

It works without any problem when I try to search for any other package. Only winrar gives this error. Wierd.

Basically, tupac checks if the program can be found and then provides the results in a foreach loop, that will print the results nicely (or something like that).
If it can't find anything, the foreach loop lacks an argument and therefore gives an error.
I don't know exactly how to solve this, because I don't know any php.

Offline

#135 2011-04-05 07:21:38

Pajaro
Member
Registered: 2004-04-21
Posts: 878

Re: tupac (TUrbo PACman) - a cached pacman implementation. UPDATED 0.5.6.1

yaourt is not slow anymore, so tupac lost its meaning. Unless someone reports the need for any of the extra functionalities in tupac I will discontinue the project.

The extra functionalities in tupac are:

--checkdir: Checks if files supposed to be installed in a given directory are missing (i used to do "tupac --checkdir /", but I haven't found any issues in so much time...)
--orphans: Tells you wich files in a given directory are not owned by any package (I never really used it for anything else than curiosity).
--aur-updates: Shows you what packages in aur have updates and asks you which ones to update (updating from aur is tiring, so I just prefer to update what I really need to update)
--noaur: Skip aur. I didn't find this option in yaourt.
--console: starts a shell intended for piped communication with other applications (lets say a GUI) that keeps a copy of the pacman database in ram.

Offline

Board footer

Powered by FluxBB