[SOLVED] search just package name (not description) with yaourt

Is there a way to search just package names (not package descriptions) with yaourt or pacman?  I'm imagining something like this:
$ yaourt  -Ss  --pkgname-only  xterm
Thanks!
Last edited by partner55083777 (2010-02-03 16:30:43)

My question still stands as to how I can search just package names.  If it is using another program other than yaourt or pacman, that is okay.
"yaourt -Ss SEARCH_STRING" has been working as stated in the documentation for me (with yaourt-0.9.2.6).  It will return all packages that have SEARCH_STRING in either the package name or package description.
Here are the first three results when running this command:
$ yaourt -Ss emacs
extra/emacs 23.1-3 [installed]
     The Emacs Editor
extra/snd 10.1-1
     Snd is the emacs of sound editor
extra/texmacs 1.0.7-3
     GNU TeXmacs is a free scientific text editor, which was both inspired by TeX
     and GNU Emacs. WYSIWYG editor TeX-fonts and CAS-interface (Giac, GTybalt,
     Macaulay 2, Maxima, Octave, Pari, Qcl, R and Yacas) in one.
$
It looks like it works as specified in the man pages:
-s, --search <'regexp'>
           This will search each package in the sync databases for names or descriptions that match regexp.
           When you include multiple search terms, only packages with descriptions matching ALL of those terms will be returned.
Last edited by partner55083777 (2010-02-02 22:10:24)

Similar Messages

  • I just purchased a camera packaged with Adobe photoshop Elements 11. I have a mac book air- which does not have a cd drive. The package did not come with a code or anything that would provide me with another way to install photoshop that came with my came

    I just purchased a camera packaged with Adobe photoshop Elements 11. I have a mac book air- which does not have a cd drive. The package did not come with a code or anything that would provide me with another way to install photoshop that came with my camera. Is there any other way i can install this on my camera without using the provided cd or buying the software again?

    That doesn't help the user with the serial code though.
    There has to be some kind of code somewhere within the package. The disk itself does not contain one. You can look here for help with finding your serial number:
    Find your serial number quickly

  • Bought IMAC sept2012 after updates gray screen shows up with logo at start up. Please help! I don't know the system as I just start using it and the package did not come with CD to reinstall system. I tried to reboot holding shift but it does not work.

    Please help.
    I bought the IMAC 21.5" /2.5QC /2X2GB /500GB /6750M sept2012. After the automatic update run when restart computer the screen is on the gray screen with the logo and wont' do anything else. I tried to reboot holding the shift key without success. The package did not come with a CD so I can not reinstall the previous system. I even don't know what is the system that came with the computer because I just start using it. I bought in the US but am in Brazil. HELP PLEASE, how can I get the previous system so I can reinstall it? I do not mind loosing data but I need to work on it. PLEASE HELP! Thanks!

    Try booting into the Recovery HD which is on the HD. Restart holding down Command+r and at the screen with four choices select Disk Utility>Macintosh HD and click on 'repair disk'. If any changes are made click on repair disk again until you get a clear pass. Restart as normal from the Apple menu.
    More about the Recovery HD:
    http://support.apple.com/kb/HT4718

  • [SOLVED]How to search package name only when using yaourt

    I often install a AUR package by yaourt term, but it does not only search terms in package name but also package description, since there are so much packages in AUR, it produce many pages of items, and it can not support more to page one screenful at a time, It
    become difficult to get the right choice,
    Thank you in advance!
    Last edited by netawater (2013-06-14 00:47:06)

    Hey, that's one thing I actually know how to do with regexes! All package descriptions have some spaces at their beginning, the package names themselves have not, so you can just use inverted grepping like so:
    $ pacman -Ss test | grep -v '^ '
    core/perl 5.10.1-5 (base)
    extra/fprint_demo 0.4-2 (fprint)
    extra/ghc 6.12.1-2
    extra/haskell-hunit 1.2.2.1-1
    extra/haskell-quickcheck 2.1.0.3-1
    extra/junit 4.7-1
    extra/kdesdk-kpartloader 4.4.0-1 (kde kdesdk)
    extra/libxtst 1.1.0-1
    extra/memtest86+ 4.00-1
    extra/mono-tools 2.6.1-1
    extra/openoffice-base 3.2.0-1
    extra/openoffice-base-beta 3.2.0_ooo320_m12-1
    extra/perl-test-pod 1.41-1
    extra/python-nose 0.11.1-1
    extra/qemu-kvm 0.12.2-1
    extra/testdisk 6.11.3-2
    extra/unarj 2.63a-2
    extra/xbill 2.1-6
    xyne-any/reflector 5.0-2
    community/buildbot 0.7.11p3-1
    community/cppunit 1.12.1-1
    community/cxxtest 3.10.1-3
    community/dsniff 2.4b1-15
    community/gtk-aurora-engine 1.5.1-1
    community/gtkperf 0.40-3
    community/java-jdom 1.1.1-1
    community/lib32-libxtst 1.1.0-1 (lib32)
    community/perl-test-base 0.59-1
    community/perl-test-deep 0.106-1
    community/perl-test-differences 0.500-1
    community/perl-test-exception 0.29-1
    community/perl-test-manifest 1.23-1
    community/perl-test-mockobject 1.09-1
    community/perl-test-nowarnings 1.01-1
    community/perl-test-tester 0.107-1
    community/perl-test-warn 0.21-2
    community/phoronix-test-suite 2.4.0-1
    community/pmtools 20100123-1
    community/reflector 5.0-2
    community/stress 1.0.0-2
    community/typespeed 0.6.5-2
    arch-games/mangler-snapshot 1.1.20100116-3
    arch-games/ultimatestunts 0.7.5.1-1
    This still shows the repos and the versions (nothing cut wouldn't be able to handle though). It works fine with pacman as you just saw, I can't guarantee for yaourt as I don't have it installed.
    Edit: Hm… I just realized that this still displays the results where 'test' only occured in the package description. Give me some time to figure this out.
    Edit 2: Another grep for 'test' would solve it:
    $ pacman -Ss test | grep -v '^ ' | grep test
    extra/memtest86+ 4.00-1
    extra/perl-test-pod 1.41-1
    extra/testdisk 6.11.3-2
    community/cxxtest 3.10.1-3
    community/perl-test-base 0.59-1
    community/perl-test-deep 0.106-1
    community/perl-test-differences 0.500-1
    community/perl-test-exception 0.29-1
    community/perl-test-manifest 1.23-1
    community/perl-test-mockobject 1.09-1
    community/perl-test-nowarnings 1.01-1
    community/perl-test-tester 0.107-1
    community/perl-test-warn 0.21-2
    community/phoronix-test-suite 2.4.0-1
    arch-games/ultimatestunts 0.7.5.1-1
    Still, it's not that pretty to write the same thing twice. If you really want to do it like this, I suggest you make it a function in your ~/.${SHELL}rc.
    Last edited by Runiq (2010-02-27 08:36:11)

  • How to search ONLY in package names, without descriptions?

    Hello!
    I would like to know how I can search with pacman only in the package names, without searching descriptions?
    For example, searching for the rar package (pacman -Ss rar) gives me tons of results with hundreds of packages, where "library" occurs in the description.
    I have already read the pacman manual page, but I couldn't find anything suitable.
    Greets, Horst

    perl -e '$search = "rar";$output=`pacman -Ss $search`;while($output=~/^(\S.*?\Q$search\E.*?\n(?:\s.*\n)*)/mgi){print $1}'
    This does the normal "pacman -Ss whatever" search, but then it checks that the search term is in the package name. Just replace "rar" in "$search = "rar" with whatever you want to search for.
    I tried to make it work with grep using -P, but I still don't know how to make it case-insensitive then ("-i" doesn't seem to work with perl regexes). Here it is anyway though:
    pacman -Ss rar | grep -P "^\S.*?rar(?:.*|\n)*?(?=\n\S)"
    Aside from being case-sensitive, you also have to replace both instances of "rar" with your search term.
    Here's a script version that you can run from the command line:
    #!/usr/bin/perl
    use strict;
    use warnings;
    my $search = "@ARGV";
    my $output = '';
    open(my $pipe,'-|',"pacman -Ss $search") or die "Unable to create pipe to pacman: $!\n";
    while (defined(my $line=<$pipe>)){$output.=$line;}
    close $pipe;
    while($output=~/^(\S.*?\Q$search\E.*?\n(?:\s.*\n)*)/mgi){print $1};
    Save it as "search_pkgnames", make it executable, then invoke it with your search term: search_pkgnames rar
    Hope this helps.

  • [SOLVED] searching a package with pacman/yaourt

    Sometimes i encounter a crash of kmix application on OS bootup. When i try submitting a bug report, it says that "The generated crash information is probably not useful'. The needed packages say i should be having, among others, 'libQtGui.so.4'
    How do i search which package provides this file? I have tried a few options with -Q and -S, but that doesn't seem to work. Any pointers?
    Last edited by njathan (2012-03-17 10:13:03)

    njathan wrote:
    Thanks much!
    [edit] BTW i could not find pkgutils, but pkgtools
    Sorry, pkgtools is the one

  • Contact names not showing with incoming calls!!!

    Hi all,
    I just got my E71-1 yesterday and upgraded from a very effiecient E61i....everything was going smooth until all of a sudden, contact names stopped appearing with incoming calls and SMS's.
    I went through the forums searching for a solutions and apparently alot of people experienced the same thing.....except in my case, I do not have any duplicate names or numbers!!!!
    Any ideas what could solve this???

    There is a fix for it but you won't like it. I have tried it a few times and it always works but it involves a lot of work. This is what you do.
    1. Make a backup of nothing else but your contacts only.
    2. Delete all your contacts from both phone and sim card.
    3. Start by entering the troublesome contacts from scratch making sure not to duplicate any numbers.
    4. Now get those people to ring you to make sure that your CLI is working fine.
    5. If it works then start entering the rest of the numbers, once again making sure there is no duplication whatsoever.
    6. If it doesn't work, just restore the backup you made of your contacts.
    I am fairly sure it will work, but just in case it doesn't you can always restore your backup and you are back to square one. 

  • Photos album names not syncing with iPhone

    I'm having trouble with the new Photos application.  I've renamed several of my album names on the app, but in iTunes the changes are not being recognized and thus not syncing to my iPhone either.
    Separately, several albums have "x" number of photos in them, but when I sync that album to my phone less than "x" photos actually flow into the album.  It's frustrating.
    I have rebooted everything (phone, computer, etc.) and I'm running the latest version of all software, so those basic fixes will not work here.  Any ideas?!?  Thanks in advance for your help...

    Solved here...
    Photos app not syncing with iTunes

  • BOXIR2: Object name not prefixed with class

    While creating Webintelligence report from a universe having more than one Dimension object with same name in different classes, the Object name is not prefixed with Class Name.
    1. The issue occurs after migration to XIR2 Webintelligence.
    2. 6.5 version of WebIntelligence and XI Desktop intelligence is prefixing class name in above scenario.
    REPRODUCTION STEPS:
    Create a universe with 2 classes (C1 & C2), Create a dimension object D1, D2 under class C1 and D2 & D3 under class C2. Export the universe.
    Create a webi report from the published universe, In Java Query panel , Drag all 4 Dimension Objects to Query Filter Section.
    Perform the above in Webintelligence of BO 6.5 & BO XI. Note that in BOXI Class name is not prefixed.
    Please let me know weather its change in the product or bug.

    Yes this is a bug...

  • [SOLVED] haskell - citeproc-hs was not compiled with bibutils support

    Hi all,
    since I have not yet been able to get help in arch-haskell's IRC channel, I am posting here, maybe someone has an idea:
    I am using pandoc which I have retrieved along with all its dependencies from the haskell binary repository. But when I try to process a bibliography, I get an error message from citeproc-hs:
    pandoc: citeproc: Bibliography format not supported.
    citeproc-hs was not compiled with bibutils support.
    Supposing that the error message is not misleading, I wonder how do I recompile with bibutils support then?
    Googling gave some results concerned with haskell-hs-bibutils, which seems to have been on the haskell repo earlier but is there no longer, so I installed it from AUR (modifying the PKGBUILD to accept haskell-syb>=0.3 instead of =0.3).
    Reinstalling haskell-citeproc-hs did not help.
    Next I tried with cloning habs the haskell repo (as is described here). Since I could not find any switch in haskell-citeproc-hs's PKGBUILD that would disable bibutils support I directly issued
    ./makeahpkg -- haskell-citeproc-hs
    but the resulting package gives the same error as the one from the repo.
    Should I have taken extra steps to build/install haskell-hs-bibutils also in the habs chroot? Or anything else?
    TIA,
    Andreas
    Last edited by awagner (2012-08-01 08:36:06)

    awagner wrote:Should I have taken extra steps to build/install haskell-hs-bibutils also in the habs chroot? Or anything else?
    Yes, it seems this was the problem. Besides cloning habs, I now went on to manually copy the necessary files of bibutils-dynamic and haskell-hs-bibutils from AUR into the local HABS tree, modify dependencies in haskell-hs-bibutils, haskell-citeproc-hs and haskell-pandoc (an additional dependency on haskell-hs-bibutils in haskell-citeproc-hs, in the other cases only change of version numbers).
    Then
    ./makeahpkg -c -- bibutils-dynamic haskell-hs-bibutils haskell-citeproc-hs haskell-pandoc
    produced four packages which I could install and now the error is gone and I can turn to debugging my document and bibliography files

  • My iPod Classic says to Use iTunes to Restore but whenever I plug in my iPod into my computer, iTunes doesn't detect it and while it's plugged in and not connecting, it just says "Do not Disconnect" with a 'no' sign blinking. PLEASE HELP!!

    I've already tried putting it into Disk Mode but nothing happens. Tried restarting computer and a new USB cord but still not working!
    PLEASE HELP!

    Already tried another USB port, still nothing.
    I don't have another PC to check, I only have one which is the one not working with my iPod.
    It appears under my Computer, just not under iTunes. Plus, the iPod classic troubleshooting assistant doesn't work because I can't restore since it can't come up onto my iTunes! Even my iPod says "Use iTunes to Restore" once in a while, but I plug it in & I'm not able to restore it since it won't come up under iTunes.
    Please help

  • The HP Deskjet 3050A All-In-One J611 series printer I just bought is not compatible with my Mac Book Pro.  What do I need to do?

    I recently purchased an HP Deskjet 3050A All-In-One J611 series printer and it is not compatible with the version of the operating system on my mac book pro.  I am currently running on OS X 10.4.11 and the printer is compatible with v10.5 or higher.  What can I do to update the operating system on my Mac Book Pro? 

    10.5 will be harder to find & more expensive, I think I'd go for 10.6
    Leopard requirements/10.5.x...
        *  Mac computer with an Intel, PowerPC G5, or PowerPC G4 (867MHz or faster) processor
    minimum system requirements
        * 512MB of memory (I say 1.5GB for PPC at least, 2-3GB minimum for IntelMacs)
        * DVD drive for installation
        * 9GB of available disk space (I say 30GB at least)
    Apple no longer has it for sale.
    Snow Leopard/10.6.x Requirements...
    General requirements
       * Mac computer with an Intel processor
        * 1GB of memory (I say 2GB at least)
        * 5GB of available disk space (I say 30GB at least)
        * DVD drive for installation
        * Some features require a compatible Internet service provider; fees may apply.
        * Some features require Apple’s MobileMe service; fees and terms apply.
    Which apps work with Mac OS X 10.6?...
    http://snowleopard.wikidot.com/
    It looks like they might still have it...
    http://store.apple.com/us/product/MC573Z/A?fnode=MTY1NDAzOA

  • [SOLVED} Suspend to ram does not work (with sleep, s2ram, pm-utils)

    Hi.
    I would like to ask for one thing: i can't suspend to ram or resume from suspend to ram.
    I treid to check over www in order to find some help, some solutions, and how to fix that. Unfortunately, i found these:
    https://forums.opensuse.org/showthread. … 13-2/page2
    https://bugzilla.opensuse.org/show_bug.cgi?id=913105
    https://forums.opensuse.org/showthread. … S-13-1-x64
    Bug 91921 - WD 2TB Caviar black causes hard lock on resume S2RAM
    https://bugzilla.kernel.org/show_bug.cgi?id=91921
    In fact, when i was researching of this problem i wanted to check if my graphic card and memory are failing so a did few changes (removed memory stick and so one) but in doing this i removed almost all of my hard disk drives because i didn't want to hurt them with many reboots or resets.
    What did i find? It is strange, kernel version is not important because i checked most of them.
    I removed 2x2TB Seagate F14 series along with 4x3TB WD Green. Then i checked s2ram, it went to suspend, and resumes correctly. Everything works. I put it to sleep with s2ram -f -a 1. Works
    I attached my 4x3TB WD Green drives. I put computer to sleep with s2ram...it causes hard lock, black screen, i could do only poweroff by powerbutton. s2ram -f -a 1 causes freez. Sometimes, but not constantly, s2ram -f -a 3 -p is being able to suspend...(mostly it does a freez, hard lock computer) but sometimes it is able to put it to a sleep, but resume just freezes everyting - no blinking cursor, no blinking num lock led and so on.
    I know that you would suggest me to check logs - this is the main problem. Logs for pm-suspend works when i suspend or resume without WD drives attached. When i have them connected, i'm not able to check pm-logs because computer hangs, freezes and logs are not being stored/writed to pm-suspend.log and pm-powersave.log.
    Could somebody help? Point me to a solution? I can't check logs because there are not any when freezing occurs. I checked openSuse thread and many others and for other systems there were some kernel fixex, patches.
    They wrote that WD blacks are at fault because they don't have APM. Well, in fact my WD Green have APM with very aggresive factory settings: they park heads over 8 seconds not being used. I disabled it in firmware but disabling it is not the point and not the problem. People have the same problem even with APM and parking heads on other WD drives, i found it that some have it with WD Red's drives and even with very old 320GB WD Blue series - what is more funny, i have 640GB AAKS blue from WD and with this drive i can suspend or resume - APM on this drive is also unavilable, like in Green series because i changed it with wdidle with prebootable cd. I can't  supend or resume with 3TB WD Greens.
    BTW - suspend to disk, with pm-utils and uswsusp works ok, in 100% every time. (i had to add "shutdown method = shutdown" to /etc/suspend.conf from uswsusp package).
    On Windows machine it works. Can suspend, can resume, can hibernate.
    Last edited by firekage (2015-03-07 03:27:28)

    Hm, sometimes i found myself astonished because some things just does not work at all on one machine, while the other one has no problem at all. I was trying to find why suspend to ram won't work at all...and while i was searching i found one topic that was leading to upower dbus. Similar problem with upower i found, by coincidence, on Manjaro forum.
    dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend
    this command above returns all the time:
    Error org.freedesktop.DBus.Error.UnknownMethod: Method "Suspend" with signature "" on interface "org.freedesktop.UPower" doesn't exist
    I tried this:
    sudo systemctl enable acpid.service
    sudo systemctl --system daemon-reload
    sudo systemctl restart systemd-logind
    As soon as i enabled and started acpid.service...my supend to ram, from kde, works like a charm, without graphic problem, or freezing.
    There is few question: why on my desktop suspend doesen't work out of the box, when even archwiki says it should? Why on my netbook machine (Acer AOD270) that has the same package installed it works out of the box? Why on my desktop machine acpid.service was not enabled, was not started and was not running while on the notebook it does?
    Anyway...i fixed it by a big coincidence because on Fedora forum somebody has problem with suspend to ram with nvidia GTX750 and this card was new like my card (GTX660). He posted the same problem with upower that i posted in quotes and because of this i found another thing on Manjaro forum and that was it!
    BTW - this problem, i now think, is not related to my WD drives because it works with them. I think that there was another one ugly thing that broke my suspend to ram ability - bios of my motherboard (so called uefi bios with support for old one) has no option for S1-S5 stated (like the previous motherboards had) and only have ASPM...and ASPM is in my opinion broken but i will try to veryfi it one again later.
    Last edited by firekage (2015-03-07 03:29:20)

  • Planning Level/Package names not displaying correctly in BPS0 (BI7)

    We have just upgraded our BW system from 3.5 to BI7.  We are running SEM 3.5.
    We now seem to have a display issue with the titles of some planning levels and packages within BPS0.
    On some planning level/package lines the display in the left hand pane of BPS0 is truncated with only a partial description, even though the full description is displayed in the right hand pane.  This is not consistent, as other levels and packages are displayed correctly.  It is not truncating at the same place in all instances.
    I have tried to delete the description and re-input it again, but the problem persists.
    Similar display issues occur in UPSPL in a seemingly random fashion.
    Any thoughts would be appreciated.
    Many thanks
    Barry

    Hi
    Have just found out what is happening and the solution....but no nearer to knowing why.
    The display problem occurs in descriptions of planning levels and packages in BPS0 and in UPSPL & UPSPM.  Also when viewing global planning sequences.
    The cause is the use of "&" in a description text.  When this character is removed and replaced with another, eg "+", then the descriptions display correctly.
    I wonder if this is to do with "&" being a special character, which I believe XML doesn't handle too well?
    Anyway, I can now change the descriptive text and the problem goes away.
    Barry

  • [SOLVED]Search inside packages for future actions

    Hi!
    I have had some troubles when I downloaded a lot of fonts and used makefontpkg script for making installation packages for them. The problem was that all files created by makepkg was automatically moved to the predefined folder and got mixed with other packages there. Then, I decided to make a new folder for them and for an easy way to move all of the font install packages I made a script.
    Here is just an example of it:
    #!/bin/bash
    for InFile in *.xz ;
    do GetDescription=$(tar -xOf $InFile .PKGINFO | grep 'pkgdesc = ' | grep font | awk '{print $1}' );
    if [ "x"$GetDescription != "x" ] ;
    then
    echo This $InFile package contains "font" in the description;
    ### mv $InFile ./FontInstallPackages
    fi;
    done;
    I hope this will be useful for someone
    Last edited by Andy_Crowd (2014-04-09 19:42:00)

    I would suggest neither the caption nor the description. They each have their own purpose and overloading them is not necessary.
    Personally, I prefer explicitly building the references of the controls I want into an array and passing that array to a subVI. See here for a simple example:
    That example uses the OpenG VI internally, but you can easily replace it with the NI VI if you flatten the variant to a string. The same concept can apply to saving to a DB. This RCF plugin allows quickly building an array of references for selected controls.
    Another option which is more elegant than using the description is assigning a tag to each control you want to edit. This is more elegant, but requires building an edit time tool which will allow you to edit tags on controls, since the only way of accessing them today is through a reference to the object which has the tag. You can build such a tool, but it requires a bit of know-how. This VI (basically a floating tool which allows you to manipulate selection on the VI you're currently editing) will get you some of the way there and also show you where the tag VIs are.
    Try to take over the world!
    Attachments:
    Floating Tool.vi ‏13 KB

Maybe you are looking for

  • Remote app is not working atv2

    Before ios5 was out I was using apple remote app from my iphone.  I was also using airplay.  I cannot get any of my devices to connect to remote app, or air play now that we have upgraded to ios5. Anyone else having this issue? Everything is updated

  • Transferring iPhone between family members (same plan)

    I searched for an answer to this, but must not be using the right search terms -- or, it's a non-issue, and therefore no discussions on it. I have an iPhone 3GS (1 year left on contract), and my wife has an old flip phone (eligible for upgrade for a

  • Change subscription to the new offer with LR 5 & Photoshop

    hello i would like to change my subscription from Creative Cloud single-app membership for Photoshop (one-year) to the new offer wich include Lightroom 5 , valid until the 2nd of December . Should i cancel my subscription and enroll in the new one ??

  • Using Auto Fill with web sites often used

    How do I turn on the "Auto Fill"   Name and Pass Word,  For a site I previously stated " Never for this site? So that I can quickly access the site without filling in all the details when ever I wanty to use the site. 

  • NPSWF32_16_0_0_235.dll is supposed to be a FireFox adobe Flash player, and it does not work.....

    Adobe Shockwave Flash player 16.0.0.235 is supposed to be for FireFox and it does not work..... I have the latest Firefox 34.0.5, and am running windows 8.01. HELP???