[SOLVED] yaourt question

is there a way to grab all the packages wherein the name contains a certain string? e.g. there are numerous fortune packages, it would be cool to do something like
yaourt -S fortune-*
possible?
thx in advance.
Last edited by wootsgoinon (2014-12-30 23:57:32)

You can use the output of one command as the input for another. I use cower as my AUR helper, so e.g.
$ cower -d $(cower -sq fortune-)
:: fortune-mod-arresteddevelopment downloaded to /home/karol/00
:: fortune-emma downloaded to /home/karol/00
:: fortune-mod-2brokegirls downloaded to /home/karol/00
:: fortune-classe-americaine-fr downloaded to /home/karol/00
:: fortune-mod-3rfts downloaded to /home/karol/00
:: fortune-hook downloaded to /home/karol/00
:: fortune-mod-all-en downloaded to /home/karol/00
:: fortune-mod-americandad downloaded to /home/karol/00
:: fortune-mod-archlinux downloaded to /home/karol/00
:: fortune-mod-betteroffted downloaded to /home/karol/00
$ cower -sq fortune- | wc -l
140
Last edited by karol (2014-12-30 21:20:27)

Similar Messages

  • How to undo "This solved my question" on this Using iPhone forum?

    How to undo "This solved my question" on this "Using iPhone" forum?
    new to this forum... how do you undo this?

    **** lol, In that case they should give a warning or some type of "You sure?" yes/no. I clicked completely by mistake. anyways...

  • Can't mark reply "This solved my question"

    In the email I received that notified me of a reply to my question, when I click on the link for either "This solved my question" or "This helped me", it takes me to Safari, but gives me the following:
    Apple Support Communities
    Unauthorized
    It appears you're not allowed to view what you requested. You might contact your administrator if you think this is a mistake.
    If I sign in to the Discussions, and go to Your Stuff and choose the question, I see the Legend, but there are no buttons for me to mark a reply as "This solved my question" or "This helped me". 
    Any idea why I can't do this?  I'm running Mac OS 10.8.5, and Safari 6.0.5.  Could there be something in my Safari settings that is blocking this?
    Thanks,
    Marcia Bolsinga

    There have also been intermittent problems with the forum software lately and this might be causing this problem.
    Try going to your thread again and see if the symptoms change any,

  • Help me for solve this Question this is my problem

    help me for solve this Question this is my problem
    i installed EBS 11i fresh not vision
    i did cart of account and did set of book
    then assigned it with profile option gl set of books name
    and when enter to make ajournal appeare this messege
    [http://www9.0zz0.com/2009/10/06/03/232202588.jpg]
    [http://www9.0zz0.com/2009/10/06/03/634050066.jpg]

    Hi,
    Not sure why are you getting this kind of error (which is pointing to a URL with Jpg file) while creating a journal.
    Could you please bounce your server once and try..
    Please let us know if the error/warning stopping you to enter a journal in GL??
    We don't think profile option is a show stopper here.... We assume that you have assigned Sets of Books, MO: Operating unit & HR USer Profile option at Responsibility level correctly....
    Regards,
    S.P DASH

  • I am trying to use the "This solved my question - 10 points" and the "This helped me - 5 points" but they are NOT doing anything. How do I award the points ?

    I am trying to use the "This solved my question - 10 points" an the "This helped me - 5 points" but they are NOT doing anything. How do I award the points ?

    Are you talking about the "Legend" panel at the right of the window?
    Those text are just help texts explaining the reputation points. You can only award points, if you are the original poster of a question. Then you will see active buttons to award points below the answers you receive. See here for more information: https://discussions.apple.com/static/apple/tutorial/reputation.html
    Regards
    Léonie

  • How do I uncheck "This solved my question" on the Apple Support Communities forum?

    I checked an answer as "this solved my problem" when it actually did not, and I don't want anyone to be mislead.
    How do I uncheck "This solved my question" on the Apple Support Communities forum?

    You can't uncheck it. You'll need to post the question again.
    You could also just add the comment that it was not actually answered.

  • [Solved] Quick question about yaourt

    I was just wondering if it is save to update my regular packages with yaourt using 'yaourt -Syu --devel --aur' or 'yaourt Syua'. I've heard about problems with having to have root access to update regular programs and it's a very bad thing to build AUR packages while root. I want to be able to update my AUR packages like I can with 'pacman -Syu' and if I could do them all at the same time, well that would be even better.
    Last edited by slughappy1 (2011-10-27 16:46:44)

    Parmazae wrote:
    slughappy1 wrote:Ok, thanks for the replies. So as I understand it Yaourt will build the AUR packages as me (non root when called) and then will only ask for root access when installing/updating packages using pacman?
    Correct .
    Sweet, thanks.

  • [SOLVED] yaourt how to update aur packages

    Hi!
    I got a quick question. I thought that yaourt is able to update old packages installed from Aur automatically.
    So for example I type as usually yaourt -Syu --aur but I noticed it doesn't show AUR packages I can update. Only from core/extra/community
    For example I just typed:
    yaourt yaourt
    1 aur/yaourt 0.9.2.6-1 [0.9.2.5-1 installed] (2406)
    and see that I can update yaourt. I have other packages installed from AUR, how do I know that a newer version is available without checking it manually?
    edit:
    so I am happy to mark it as solved. It wasn't a bug, but it is a way how yaourt works.
    yaourt -Syu --aur shows packages from core/extra/community.
    If I press Y (to install them). It shows a list again with the information how much to download and install and then after pressing "No" to install them, yaourt continues to check AUR packages in this case.
    Julien MISCHKOWITZ, the developer said he could change the behavior
    Thanks everyone for the attention!
    Last edited by ngsupb (2009-08-21 13:15:09)

    shining wrote:yaourt has a bug tracker : http://bugs.archlinux.fr/index/proj3?or … &sort=desc
    Thank you shining. I have opened a ticket there. Lets wait, I hope they can help!

  • [SOLVED] Yaourt search on AUR stopped working

    hi all :>
    yaourt's search engine was working quite nice until i booted up my computer this morning -.-
    does anyone have an idea to solve this problem!? downloading + building from aur works great with yaourt just the search thingy is kinda broken -.-
    can it be possible that it has to do something with my changes in sysctl.conf? i added several rules:
    # Disable packet forwarding
    net.ipv4.ip_forward=0
    # Disable the magic-sysrq key
    kernel.sysrq = 0
    # Enable TCP SYN Cookie Protection
    net.ipv4.tcp_syncookies = 1
    # Source Address verification
    net.ipv4.conf.all.rp_filter = 1
    # Block Ping
    net.ipv4.icmp_echo_ignore_all = 1
    net.ipv4.tcp_timestamps = 0
    net.ipv4.conf.all.accept_source_route=0
    net.ipv4.icmp_echo_ignore_broadcasts=1
    net.ipv4.icmp_ignore_bogus_error_responses=1
    best regards :>
    Last edited by arch0r (2008-12-29 19:37:54)

    I've come up with a workaround. It's quick and probably dirty, but it enables me to search the packages and view the descriptions.
    --- yaourt.orig    2008-12-26 13:12:42.000000000 +0100
    +++ /usr/bin/yaourt    2008-12-26 13:23:45.000000000 +0100
    @@ -1253,9 +1253,9 @@
        _pkg=`echo $1 | sed 's/ AND / /'`
        title $(eval_gettext 'searching for $_pkg on AUR')
        [ "$MAJOR" = "interactivesearch" ] && i=$(($(wc -l $searchfile | awk '{print $1}')+1))
    -    wget -q "${AUR_URL}${1}" -O - | grep -A 2 "<a href='/packages.php?ID=" \
    +    wget -q "${AUR_URL}${1}" -O - | grep -A 3 "<a href='packages.php?ID=" \
        | sed -e "s/<\/span>.*$//" -e "s/^.*packages.php?ID=.*span class.*'>/aur\//" -e "s/^.*span class.*'>//" \
    -    | grep -v " " | grep -v "^--" |
    +    | grep -v " " | grep -v "^--" | grep -v "^$" |
        while read line; do
            if [ "${line%\/*}" = "aur" ]; then
                package=$(echo $line | awk '{ print $1}' | sed 's/^.*\///')

  • [SOLVED Noob question about web server permissions

    Hi I have setup up succesfully my web server. Now I am having some permission's questions/problems.
    First of all, I want the /home/httpd/home folder not to be show to the other machine users and only to root.
    I have created a user www-data and I have conf the apache file.
    This is my settings:
    My server directory is: /home/httpd and the permissions I have set:
    home dir:
    ~edited because solved~
    I have set .htaccess to some folders. I don't know If the permissions are safe or not. Can you help me?
    I think that I have different permissions to files and different to the folders...
    Thank you!
    Edited:
    And an example of my permission (phpMyAdmin):
    ~edited because solved~
    Last edited by k3rn31 (2008-02-28 22:26:09)

    This is more of a chat item for me, if you feel like it you can find me most of the time here at http://zaxter.org/xmpp.html if you have flash you can join via a simple click on connect.
    Sorry I've not been of much help to you.

  • [SOLVED] Weird question: pacman -Syu nothing to do for quite a while

    Hi,
    Perhaps this an odd question but I feel like for the past 2-3 weeks on two different computers "pacman -Syu" returns "x up to date" for all repos and "nothing to do" as the result. Could nothing really be upgradeable for this long? Can anyone else confirm this or has something gotten goofed? Is there a way to check actual versions with what I have to make sure things really are working properly? Even if nothing was upgradeable I can't remember the last time I saw core, extra, or community actually download without doing "pacman -Syyu". They alway say up to date and I'm thinking this just can't be correct...
    What might help for me to post? I haven't changed anything in pacman.conf or pacman.d/mirrorlist...
    Thanks,
    John
    Last edited by jwhendy (2010-09-02 14:20:53)

    x33a wrote:
    In the future, take a look here:
    https://www.archlinux.de/?page=MirrorStatus
    That's the link I keep losing. Bookmarking now...
    @jwhendy can you change the subject to include the word [SOLVED], please?

  • [Solved] Yaourt not searching AUR

    My recent upgrade seems to have broken Yaourt. It does not search for packages in AUR anymore. I have tried searching the forum, but cannot figure out what's wrong. This is what my /etc/yaourtrc looks like:
    # a
    # a
    # ~/yaourtrc - Configuration for yaourt
    # See yaourt(8) for more information
    # AlwaysUpgradeDevel no
    # AlwaysUpgradeAur no
    # AlwaysForce no
    AurVoteSupport yes
    # ColorMod Normal
    # ColorMod LightBackGround
    # ColorMod NoColor
    # ColorMod TextOnly
    # DontNeedToPressEnter yes
    # EditPkgbuild yes
    # ExportToLocalRepository /where/you/want
    # LastCommentsNumber 5
    # LastCommentsOrder asc
    # NoConfirm no
    # PacmanBin /usr/bin/pacman-color
    PkgbuildEditor gvim
    SearchInAurUnsupported yes
    ShowAurComment yes
    # TmpDirectory /where/you/want
    # UpdateTerminalTitle yes
    # Define here your prefered Sourceforge mirror: (none surfnet ufpr heanet easynews umn switch belnet kent mesh optusnet jaist puzzle superb-east nchc superb-west)
    # SourceforgeMirror heanet
    Any ideas?
    Last edited by paramthegreat (2009-05-16 21:46:08)

    ok, so i seem to have solved the issue. i found a changelog for yaourt 0.9.2 that mentioned "fixing aur search". that prompted me to check the yaourt version on my machine and it was still at 0.9.0
    upgrading to the latest version seems to have fixed the problem.

  • [Solved]Yaourt sync issue

    I installed yaourt according to the instruction here http://archlinux.fr/yaourt-en
    But when I run yaourt -Syu --devel --aur , I get an error: problem setting dbpath '//usr/local/var/lib/pacman/' (could not find or read directory)
    The directory doesn't exist and pacman -v shows nothing related to that directory. What should I do?[]
    Last edited by codetrick (2011-03-04 14:28:03)

    I have the same problem. I get it when try to install 'package-query' and 'yaourt' from AUR, but i install it manually.
    In INSTALL file of package-query I found interesting thing:
    By default, `make install' installs the package's commands under
    `/usr/local/bin', include files under `/usr/local/include', etc. You
    can specify an installation prefix other than `/usr/local' by giving
    `configure' the option `--prefix=PREFIX', where PREFIX must be an
    absolute file name.
    I uninstall yaourt and package-query using pacman and delete /usr/local directory (the system is fresh and this directory is not important)
    Then i do
    ./configure --prefix=''
    sudo make install
    With yaourt i have more problems... Iven if you delete "/usr/local" from Makefile you don't solve the problem.
    I find all "/usr/local" substrings in files from yaourt.x.x.x.tar.gz with commands:
    tar -xzvf yaourt.x.x.x.tar.gz
    cd yaourt.x.x.x
    grep -RiHn 'usr/local/' *
    and manually delete them.
    Then i make and install my yaourt. It worked.
    Oh, i know that it is unnormal, but i can't find anything in internet and write it to others.
    P.S. I may install yaourt with this instruction^ http://archlinux.fr/yaourt-en  (with pacman)
    Last edited by Grandma (2011-12-18 00:06:52)

  • I have solved some questions, please check if my answers are correct

    Hi every Java aces,
    I have solved some programming questions, please check if my answers are correct. Thanks
    Here are the questions and the answers to each question
    (a) Write a method called add that takes three integers as parameters and returns an
    integer that is the sum of the three parameters.
    (b) Write a method called max that takes three integers as parameters and returns the
    largest of the three integers.
    (c) Write a method called printMax that takes three integers as parameters and prints
    the maximum value to the screen. The method should return nothing. The method
    should print the words \The maximum value is " followed by the maximum value,
    followed by a new-line character. You should try to use the max method that you
    wrote earlier.
    (d) Write a method called min that takes three integers as parameters and returns the
    smallest of the three integers.
    (f) Write a method called ticketPrice that takes one integer parameter representing
    the age of a person, and returns the price of a movie ticket in dollars (as a
    oating
    point value). Children under 6 get in for free (0.00), people that are 18 or under
    pay 8.50, senior citizens (65 or older) pay 6.50, and all other people pay 10.00.
    (g) Write a method called isDivisor that takes two integers as parameters and returns
    true if the rst parameter is a divisor of the second parameter or false otherwise.
    We say that m is a divisor of n, or that m divides n, if there is an integer k such
    that n = k m. Note that 1 divides every integer, and every integer divides i
    itself .
    here are my codes
    public class Methods
    // This is method (a)
    public static int add (int a, int b, int c)
    int sum = a + b + c;
    return sum;
    // This is method (b)
    public static int max (int a, int b, int c)
    int largest;
    if (a > b)
    if (a > c)
    { largest = a; }
    else
    { largest = c;}
    else
    if (b < c)
    { largest = c; }
    else
    { largest = b;}
    return largest;
    // This is method (c)
    public static void printMax (int d, int e, int f)
    int maxValue;
    maxValue = max (d, e, f);
    System.out.println ("The maximum value is " + maxValue);
    // This is method (d)
    public static int min (int a, int b, int c)
    int smallest;
    if ( a < b )
    if ( a < c )
    { smallest = a; }
    else
    { smallest = c; }
    else
    if ( b > c )
    { smallest = c; }
    else
    { smallest = b; }
    return smallest;
    // This is method (f)
    public static double ticketPrice (int age)
    double price;
    if ( age < 6 )
    { price = 0.00; }
    else
    if ( age <= 18 )
    { price = 8.50; }
    else
    if ( age < 65 )
    { price = 10.00; }
    else
    { price = 6.50; }
    return price;
    // This is method (g)
    public static boolean isDivisor ( int m, int n )
    boolean result;
    int check1;
    double check2;
    check1 = n / m;
    check2 = (double)n / m;
    if ( check2 == check1 )
    { result = true; }
    else
    { result = false; }
    return result;
    }

    Here are my codes
    // This is method (a)
      public static int add (int a, int b, int c)
        int sum = a + b + c;
        return sum;
      // This is method (b)
      public static int max (int a, int b, int c)
        int largest;
        if (a > b)
          if (a > c)
          { largest = a; }
          else
          { largest = c;}
        else
          if (b < c)
          { largest = c; }
          else
          { largest = b;}
        return largest;   
      // This is method (c) ?
      public static void printMax (int d, int e, int f)
        int maxValue;
        maxValue = max (d, e, f);
        System.out.println ("The maximum value is " + maxValue);
      // This is method (d)
      public static int min (int a, int b, int c)
        int smallest;
        if ( a < b )
           if ( a < c )
           { smallest = a; }
           else
           { smallest = c; }
        else
          if ( b > c )
          { smallest = c; }
          else
          { smallest = b; }
        return smallest;
    // This is method (f)
      public static double ticketPrice (int age)
        double price;
        if ( age < 6 )
        { price = 0.00; }
        else
          if ( age <= 18 )
          { price = 8.50; }
          else
            if ( age < 65 )
            { price = 10.00; }
            else
            { price = 6.50; }
        return price;
      // This is method (g)
      public static boolean isDivisor ( int m, int n )
        boolean result;
        int check1;
        double check2;
        check1 = n / m;
        check2 = (double)n / m;
        if ( check2 == check1 )
        { result = true; }
        else
        { result = false; }
        return result;
       // This is method (h)
      public static boolean isProduct ( double a, double b, double c )
        boolean result;
        if ( a == b*c )
        { result = true;}
        else
        { result = false;}
        return result;
         

  • [SOLVED] yaourt and "wrong hashes"

    I've just had some troubles updating several packages from AUR with yaourt.
    The issues where concentrating on seemingly "wrong hashes".
    Today I looked a little deeper and found out, that for some reason (maybe canceled upgrade or similar) yaourt was placing a symlink in the
    /tmp/yaourt-tmp-user/package-name/
    that refers to a (possibly) broken file in
    /var/cache/yaourt/build/
    Yaourt seems not to be able to delete it, so when trying to update (again) it will break operation on validating hashes.
    Not sure if that's just a system quirk introduced by a crash or a yaourt specific problem (as it's unable to delete the broken file from its build directory on its own).
    Anyhow: For me deleting the contents of the yaourt's build directory and the package build directories in /tmp solved this issue and I was able to update without any troubles!
    Happy times! Though I think it's sufficient to only delete the files specific to the package that fails to upgrade.
    Hope this could be of any use to someone.

    Can you add a Troubleshooting section to https://wiki.archlinux.org/index.php/Yaourt ?

Maybe you are looking for