Exist a simple way to find dependencies recursivly with pacman?

Hi,
I'm a newbie Arch user with  little english language skills.. Sorry for this.
Today I try to install some components of xfce (4.8) and I see... pacman want to install these packages: gnome-keyring, hal.
(Hal is probably a dependency of an old (4.6) component's of xfce.)
I don't want to install hal and gnome-keyring so I need to know what packages depends on those.
I don't find relevant informations on the net (but I'm possible blind )
Anyone know a simple solution for this problem?
I wrote a bash script today to teach myself to programming in bash but this script is probably not the simplest way. ( http://paste.ubuntu.com/580804/ )
Balazs

Mr.Elendig wrote:Fairly easy to get it to work on the sync db instead of the local db.
Would take some refactoring, but definitely possible. Maybe for 3.6 I'll work on this...
In the meantime, I agree. expac is awesome. Note that I may or may not be biased. The following should properly walk the repos and find you dependencies
#!/bin/bash
: ${maxdepth:=0}
declare -A walked
declare -i depth=0
walkdeps() {
for pkg in $(expac -S '%N' -l '\n' $1); do
printf '%s\n' "$pkg"
if [[ -z ${walked[$pkg]} ]] && (( maxdepth == 0 || depth <= maxdepth )); then
walked["$pkg"]=1
(( ++depth ));
walkdeps $pkg;
fi
done
walkdeps $1 | sort -u
Being bash, its not the speediest. By default, it'll recurse until it hits the end, but it'll honor the 'maxdepth' environment variable to limit that, e.g.
$ maxdepth=2 ./depwalk hal
e-modules-extra-svn
eiciel
flumotion
gnome-commander
gnome-device-manager
gnome-vfs
gnome-vfs-perl
gnome-vfsmm
gobby
libgda3
libgnome
podsleuth
python2-gnomevfs
synce-libsynce
synce-odccm
thoggen
thunar-vfs
updated: because i can't read or write
Last edited by falconindy (2011-03-16 13:42:24)

Similar Messages

  • I accidentally deleted my ipod touch 4g from mobileme is there any way to find it again with out going on that ipod

    i accidentally deleted my ipod touch 4g from mobileme is there any way to find it again with out going on that ipod can i like call apple or something

    If you mean that your deleted the MobileMe account from the Mail...Calender Settings on the iPod then your are out of luch.

  • How to find my lost iphone4 if someone erase all content and settings ? there is way to find my iphone with serial number ?

    how to find my lost iphone 4 if someone erase all content and settings ? there is any way to find my iphone with serial number or any other number to find it ? plese answer my 

    Answered here:
    https://discussions.apple.com/thread/5934691?tstart=0
    No matter how many times you ask, the answer still remains no.

  • Why isn't there a simpler way to initialize a subclass with its super class

    Let me explain my doubt with an example...
    public class Parent {
    �    public String parent;
    public class Child extends Parent{
    �    public String child;
    I've an instance of Parent p. I want to construct Child c, with the data in p.
    The only way that is provided by Java language seems to be, having a constructor in Child like
    public class Child extends Parent{
    �    public String child;
    �    public Child(Parent p){
    �    �    parent = p.parent;
    �    }
    The problem with this is there is lot of redundant assignment code.
    What I don't understand is why there is not a simpler way of doing this when a subclass is after all super class data + some other data(excuse me for not looking at the bahavior part of it)
    I'm looking for something as simple as Child c = p, which I know is wrong and know the reasons too.
    Yes, we can wrap Child over Parent to do this, but it necessitates repeating all the methods in Parent.
    Why is the language writers didn't provide a simple way of doing this? I should be missing something here...I'm just searching for an explanation. May be I'm asking a dumb question, but this bugs me a lot...
    Regards,
    Kothapalli.

    To answer DrClap, I'm demanding it now :-). Let me
    not suggest something that Mr.Gosling didn't think of;
    he should be having some reasons in not providing it.Because it's essentially impossible in the general case. One of the reasons you may be extending a class is to add new invariants to the superclass.
    eg- extend java.awt.Rectangle by BoundedRectangle - extra invariant that none of its corner points may be less than 0 or more than 100 in any dimension. (The rectangle must be entirely contained in the area (0,0)-(100,100))
    What would happen if you try to create a BoundedRectangle from a rectangle representing (50,50)-(150,150)? Complete invariant breakdown, with no generic way to handle it, or even recognise it.
    Actually, BIJ and sgabie are asking for it. Provide an
    automatic copy constructor. Every object should have
    an implicit copy constructor defined. From any
    subclass, I should be able to invoke
    super(parentClass). From the subclass, we can invoke
    super(parentClass) first and then go on to initialize the
    subclass data.
    I really don't know the implementation issues of this,
    but what I'm looking for is something like this. I'm just
    curious to know the implementation issues.Implementation issue #1: Classes that should not, under any circumstane, be copied.
    * eg 1- Singleton objects. If there's an automatic copy constructor, then multiple singletons can be created, making them essentially useless. This by extension kills the Typesafe Enum pattern also.
    * eg 2- Objects with extra information, such as java.sql.Connection - if you copied this, would the copy be using the same socket connection, or would another connection be required? What happens if opening another connection, and the JDBC driver requires the password to be entered for every new connection? If the wrong password is entered, what happens to the newly creating connection?
    Implementation issue #2: Copying implementation?
    * Already mentioned by RPWithey. The only guaranteed way to perform the copy would be with a shallow copy, which may end up breaking things.
    Why can't you write the copy constructor yourself? If it's a special case, it only has to be done once. If it's a recurring case, you could write a code generation tool to write them for you, along with most of the rest of the class.

  • Is there any simple way to find items in the library that are missing?

    That is, library entries that point to a missing file?
    Thanks, MZ

    I think you'll find definitions of simple vary...
    FWIW iTunes Folder Watch doesn't modify anything unless you ask it to. iTunes creates an XML file which can by quizzed by 3rd party apps. One of the features of iTFW is to read this file and scan your folders to confirm that each file referenced exists. You can review the list of dead tracks and decide what to do, e.g. manually remove them from iTunes, restore from a backup etc.
    That said there is an iTunes only solution to your question:
    1. Create an empty playlist called "Found".
    2. Select the Music source, use CTRL-A to select all items.
    3. Drag this selection onto the "Found" playlist and wait with your mouse button held down while iTunes counts how many items there are. Release when iTunes catches up with you.
    4. Create a new Smart Playlist called "Not Found". Rules are *Playlist is Music* and *Playlist is not Found*.
    Any files with broken links won't have been copied into the manual playlist and hence will be "Not Found".
    Going back to the original discrepancy between numbers of tracks in iTunes & on your iPod it's also worth noting that it is sometimes possible to create more than one library entry to the same physical file. In this instance only one file is ever copied to the iPod. This can also trigger files that sync on every connection. iTunes & iPod may also count music videos differently.
    Lastly, I think the "The iPod cannot be resynched. The required file cannot be found" error is not related to media files that might be missing but more to do with iTunes having trouble accessing the iPod itself.
    tt2

  • Any simpler way to find a new GPU?

    Hi, I've been wanting to purchase games via steam but my GPU does not meet the requirements (NVIDIA GeForce 6200 TC 128MB) and the minimum is 256MB and does my 32 bit OS limit the amount of GPU memory? Sooo, is there any application or program that will determine what GPU is suited for my 9 year old computer? Also I don't need those high performance thingymabobs, just anything with 256MB or over to play most games on steam
    PC Specs
    Intel Core 2 Duo CPU
    2x Kingston 2GB DDR2
    1 500MB DDR2 stick (some cheap brand)
    Windows 7 Ultimate 32bit
    NVIDIA GeForce 6200 Turbocache 128MB
    Gigabyte motherboard
    Supposedly a custom PC

    Hello @RAM_Stick,
    I have read your post on how you are looking to see if your graphics card is compatible with your desktop computer, and I would be happy to help!
    To better assist you, I would encourage you to post your product number for your computer. Below is a is an HP Support document that will demonstrate how to find your computer's product number. 
    How Do I Find My Model Number or Product Number?
    Please re-post with the necessary information, this way I will be able to research this further for you. I look forward to your reply!
    Cheers!
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • Is there a Simple Way to Reformat  Database Text with Custom Converter?

    When a database column contains a string, often the string may be stored in the database in a form that may not be suitable for viewing by the user. It is often interesting to show the user the string after it has been reformatted. Many things including phone numbers, product codes and various other application specific encodings fit into this category. The JSF Converter concept seems to be an ideal place to apply the reformatting via the application of a custom converter. In fact, many of the text books written on JSF refer to the JSF ability to support text reformatting using a custom converter. However, we have not been able to make it work in JSC2_1.
    For example, when a CachedRowSet Table Data Provider is used in a JSC2 application to show tabular data from a database, text columns from the database are automatically bound to StaticText components. Unfortunately, if the developer creates a custom converter and attaches it to the StaticText component, the converter is never called when the object to be converted is already of type String. If the object to be converted is a Date, CLOB or any other type the custom converter will be called - but not for type String. Thus the text is presented to the user directly as stored in the database witout the desired reformatting. The OutputText component on the other hand does appear to support custom converters but there is no possibility within the JSC2 IDE to substitute the OutputText component for the StaticText component in the CachedRowSet Table Data Provider.
    This situation appears to be inconsistent with the JSF specification. Does anyone know if this is a bug or a deliberate design decision or a misuse of the IDE on our part? Last question; has anyone come across a workaround?

    Try using "Examine Document" to remove the OCR output.
    Be well...

  • I've developed a way to AUR search+install with pacman via proxy

    at the moment it's not complete, and the database is up-to-date only as of Oct-16-2007;; but i believe it's in a stable position to be tested ..
    i look forward to your feedback
    so anyway .. i call it alaura, and it is a system developed in python to create a pacman database in order to allow
    users to search as they normally would, and simply issue a command .. pacman -S pkg-in-aur and have that
    pkg installed as they would any other pkg ...
    add
    [alaura]
    Server = http://arch.u54.eu/repo
    to your pacman.conf
    the client side of the system is basically, download pkg from alaura repo, that pkg has an install script,
    the install script removes the (alaura)proxy pkg and then uses yaourt(i hope to develop a simpler installer that does one job) to install the pkg from aur
    . ad oh, the repo is generated using gradgrind's gen_repo script
    so far i've only indexed 100 pkgs :: `pacman -Sl alaura`
    more details will be published soon, i have to go study now ...
    Last edited by kumico (2007-10-17 12:07:24)

    no one seemed interested, so when i switched to using a laptop i didn't take the code with me, i have a slightly older version somewhere though,
    i have exams this week but i will prolly squeeze a tester out, i still have my design of the system somewhere as well so it shouldn't be too difficult to pickup where i left off
    thanks for taking an interest.

  • [SOLVED]error when trying to find a package with pacman-Ss

    gives me the following error
    error: could not open file /var/lib/pacman/sync/extra/clutter-gtk-0.10.2-1/depends: No such file or directory
    any solution thanks 
    Last edited by jccl1706 (2010-03-16 19:03:27)

    Did you try with: pacman -Ss. (space between pacman and -Ss argument)
    Last edited by n0dix (2010-03-16 18:41:51)

  • Simple way to create rollover text?

    I want to ask visitors on my page to enable pop-ups if they click on one of my quicktimes (to decrease load times, I use pop-up windows on my video-heavy pages). I want the text to appear over the still "poster" image of the quicktime when they mouseover it. Is there a simple way to do text rollover? Or do I have to make it into an image (create another jpeg for each "poster" with the text written on it)?
    Here's the site: http://web.me.com/roncutz/roncutz/theatricaltvspots.html
    Thanks in advance.

    Heres' a solution that takes the form into acount :
    <iframe style="margin: 0px auto"
    src="../../../roncutz/" width="322" height="240" frameborder="0" scrolling="no">
    </iframe>
    <script language="JavaScript" type="text/javascript">
    <!--
    function open_win()
    window.open("http://homepage.mac.com/roncutz/.Public/MonstersVsAliens.m4v","_blank","
    toolbar=no, location=yes, directories=no, status=no,
    menubar=no, scrollbars=no, resizable=yes,
    copyhistory=yes, width=480, height=270") }
    // -->
    </script>
    <form style="position: absolute; left: 45%; margin-top: -35px;"><input type="button" value="PLAY">
    </form>
    It would be safer to use a webpage to display the popup movie. A MIME file error exist on the MobileMe server when you either upload your movie from the Finder to the Sites folder on MobileMe or if you upload with Cyberduck.
    The movie will download in Safari instead of being displayed.
    http://discussions.apple.com/message.jspa?messageID=11150467&tstart=0
    Here's a solution : http://www.wyodor.net/MoreEmbed/embedmedia.html
    Click the link in the sentence : +Here's a basic sample page with shaded background you can use for testing.+
    And click the link in the sentence : +Click to open a window with the pop-up code.+

  • Is there a way to find the serial number in these files so that I can reinstall the full version?

    I had to restore from backup to a new hard drive, and only have part of my Adobe Photoshop installation. Is there a way to find the serial number in these files so that I can reinstall the full version?  I have only part of the documentation so this is the best way I see to get the full version back.

    Hello brad,
    you did purchase your product from these firms like Amazon, so you didn't get a serial number, only a code with which you can request a serial number from Adobe. Please have a look at http://helpx.adobe.com/x-productkb/global/find-serial-number.html. (Start here: How did you purchase your product?)
    The following part, so I just see at least, ceased to exist on my Adobe website, everything takes place in the link from above. I leave it as an info yet, it might still fit for you. For this purpose, please click your way through to your Adobe Store and find the button "Get Serial Number". Fill in the form and after a while you will get the real serial number.
    Additionally you should have a look at Adobe's database, to see what's stored/saved about your accounts. Here you will find general infos about your Adobe Account.
    On the other hand, if necessary and for further questions click through http://helpx.adobe.com/contact.html and if "open" please use the chat, I for may part had the best experiences. I quote from Adobe's employee Preran: The chat button is activated as soon as there is an agent available to help.
    Hans-Günter

  • Is there a way to find out details about, who approved the RMA on system using front end or back end?

    Is there a way to find out details about, who approved the RMA on system using front end or back end?

    But is there a way (simple or not-so-simple) to find
    out EVERY SINGLE FILE that's referenced on a
    timeline? (I have lots of stuff imported into the
    project that I know isn't used on any timeline, but
    I'm afraid of moving or deleting things for fear of
    never finding it again.)
    I'd love to get some sort of "printout" (a list or
    something) of every single file.
    There is, go to browser and cntrl click on any one of the columns,
    and select - show/source. A new column named "source" will pop up and will show where everything "lives". Click on the header at the top and it will justify the column as well. You'll notice this won't show anything for your seq.'s. of course, but will show stills/audio/motion files...
    Once you have the new column, you can drag it next to the "name" column and get a grab of it and print it if you like, or whatever.
    If you want to do this for just 1 seq., then can create a new bin and double click it to open it. Cntrl-A (select all) in your main seq. and just drag all into the new bin. You will see only what's in that seq. with the "source" column right next to it.
    From what I've read, you seem to get the MM thing and it's obviously what you'll need to do to archive as the guys said. But what your missing is a file path system to where everything resides.
    Hope this helps and that I've read you properly,
    Peace
    P-Book 1.5, 17" 2gsRAM   Mac OS X (10.4.4)   FCStudio

  • Is there a (relatively simple) way to skip tracks with an iPod touch 5th gen using a physical button? I'm aware songs can be skipped on-screen without unlocking the iPod, but I'm looking for a method that doesn't require taking my eyes off the road.

    Is there a (relatively simple) way to skip tracks with an iPod touch 5th gen using a physical button? I'm aware songs can be skipped on-screen without unlocking the iPod, but I'm looking for a method that doesn't require taking my eyes off the road while driving. For that reason, I'm also not interested in adding in headphones or additional devices that have the desired button functions. Going both forward and back would be great but I would be pleased just to have a "sight-free" way to go forward.
    I've seen some mention here and there about ways to maybe change it so the volume buttons change tracks and holding the volume buttons changes the volume... but I don't know what's involved in that or if its even possible/recommended for a new 5th gen iPod. I think its a great device but its sadly lacking in music oriented functions and features... which is disappointing since music is why most people would bother getting one instead of some other "iDevice" :/

    Given that you cannot do what you have asked for, perhaps you simply need to find another solution to your root problem.
    Presumably, you want to skip to the next track because you don't want to hear the current one, and that is because...
    You don't like it.
    You've heard it recently and don't want to hear it now.
    Simply don't want to hear it at this time.
    For problem number 1. Don't put it on the iPod in the first place. (I know, obvious answer!)
    For problem number 2. How about playing from a Smart Playlist (initially created in your iTunes Library) which has only songs you've not played recently?
    For problem number 3. Hhhmmm! Create alternative Playlists for use in the car.
    As for going back to the start of the "now playing" track.... Well, if your Playlist has only songs that you really, really want to hear, then you'll be looking forward to that rather go back to the beginning of the current song.
    I'm not trying to be prescriptive, just giving you food for thought.
    (They are all cheaper options than buying a car which can control the iPod from the steering wheel.)

  • I own a MacBook Pro. Can someone advise me the easiest way to make a movie with existing photos on my laptop?

    I own a MacBook Pro. Can someone advise me the easiest way to make a movie with existing photos on my laptop? I have made some movies on this laptop but find it too cumbersome. Thanks.

    Hi sato gato,
    The page linked below serves as a good starting point for creating slideshows in iPhoto.
    iPhoto Help - Make a slideshow
    http://help.apple.com/iphoto/mac/9.6/#/pht5470fe9b
    Regards,
    Allen

  • Is there any simple way to close a group of PO's?

    Hello All,
    I was looking an answer for my question on forum but didn't found anything which could help me to solve my issue.
    I would like to close a group of PO's in some period of dates. Is there any simple way to do this? I mean transaction for example, which will let me to choose company number, period of dates  or range of PO numbers and close them by one tick (one action).
    Thank you in advance for any support from your site.
    Regards,
    Kamil

    Kamil,
    Though I have not used this functionality, can you check whether you can use this functionality for mass change?
    Upload and Download of Purchasing Documents
    http://help.sap.com/saphelp_srm70/helpdata/en/09/1f42188473402a890183fd1b7c6082/frameset.htm
    Using this function, you can download purchasing documents as a file to your PC, process them locally, and then upload the changed documents to the SAP Supplier Relationship Management (SAP SRM) system. You can download the following purchasing documents :
    Features:
    The upload/download supports the following functions and possible uses:
    - Cross-Document File Structure
    You can display and process the data in a standard tabular file structure for the documents named above. The file structure assigns a unique technical ID to each data field in a metadata area.
    - Process Document Data Offline and Retain
    You can change or delete existing data, add new data, and transfer all document data, for example, customer fields.
    - Process Large Documents
    This function simplifies the creation of documents with numerous items, and simplifies mass changes to large documents; for example, you can download a document with only one item, and add multiple items to it offline.
    Background processing occurs in the case of very large documents.
    Regards,
    Sandeep

Maybe you are looking for

  • Aligning pages in Adobe Pro ver 7

    I can't find anywhere the ability to rotate pages by specific amounts. Only 90 or 180 degrees. Did I miss something? Will this be a feature in the new version 9?

  • Portlets not displayed first time until refresh

    Hi, I have a strange bug when using WLP 8.1 sp5. When I go on a page for the first time, my page (Portal Page) is bad displayed : its title is diplayed but the inner portlet is not displayed. When I look at the source, I can see that the Portal rende

  • BEx - formula aggregation

    Hello all, I have a BEx problem which does not seem to be unique, but as yet I have not found a solution. I have a query u2013 developed in frontend version 3.5 u2013 which is not showing required results at an aggregated level. Consider the followin

  • How to run Struts program with the help of tomcat

    Hello Everybody This is Adesh.I am a newcomer of java and facing a problem with struts, so if any one know how to set the path of struts and how to run struts program, so plz inform me. THX in Advance.............................................

  • Configutil Error

    Hi, We have two separate LDAP server, 1) for messaging server config and 2nd) for Users/Groups..... We are trying to change some of the parameters through configutil, and facing the following error: [09/Mar/2008:14:42:58 +0300] lmspmbx1 [2830]: Gener