Package information -- optional dependencies of?

Hi all.  Some packages have 'optional dependencies'.  Just as an example, yaourt has an optional dependency on rsync.  However, in the package information for rsync, there's no mention that it's an optional dependency of another package.  Is there anyway to get this information?
The reason I ask is this -- occasionally I go through and clean out orphan packages.  I have a script that helps with this, allowing me to view the output of 'pacman -Qi' for each orphan package and choose whether or not to remove it.  However, I have, on occasion, broken ome piece of system functionality by removing a package that is an optional dependency, as that information isn't available. 
I apologize if this is a topic that's been covered before, but the search terms I can think of come up with a LOT of hits.
Thanks in advance,
Jim

expac "%n\n%o\n" -Q
shows that on my system few packages have any opt deps.
yaourt-git
aurvote customizepkg rsync pacman-color
or with optdeps descriptions:
[karol@black ~]$ expac "%n\n%O\n" yaourt-git
yaourt-git
aurvote: vote for your favorite AUR packages customizepkg: automatically modify PKGBUILD during install/upgrade rsync: retrieve PKGBUILD from official repositories pacman-color: fully colorized output

Similar Messages

  • How install all package's optional dependencies

    hi to all
    what is the command, or better the pacman switch, to install all the package's optional dependencies ?
    thks
    Last edited by nTia89 (2010-08-07 09:22:00)

    nTia89 wrote:
    hi to all
    what is the command, or better the pacman switch, to install all the package's optional dependencies ?
    thks
    I'm not sure there's one. It's being worked on, but as far as I know pacman 3.4 doesn't have it.

  • Check for optional dependencies when installing package

    When pacman installs a package is lists Optional Dependencies when applicable. Is there any way to get it to check whether they are installed or are there plans to get it to do so?
    Mark C

    Such an option is not available at the moment.
    https://bugs.archlinux.org/task/12708
    https://bugs.archlinux.org/task/15764 <- I think this is what you want
    https://wiki.archlinux.org/index.php/Us … OptDepends says Currently optdepends in pacman serve no purpose other than informational. It would be good to "improve" this somewhat.
    Last edited by karol (2011-05-16 15:53:25)

  • [SOLVED]How to get orphaned packages that aren't optional dependencies

    On the pacman tips and tricks wiki page, I see there is a way to get orphaned packages, but this sometimes catches packages that are orphaned but are optional dependencies for other packages. Is there a way to get orphaned packages that are not optional dependencies? Also, I'm not sure if this is the right place on the forums for this question, so please let me know if there is a better place.
    Last edited by UnsolvedCypher (2013-05-22 00:16:47)

    Running
    # pacman -Rns python-docutils cdparanoia
    checking dependencies...
    :: abcde optionally requires cdparanoia: Paranoia ripping support
    should be enough. Now you know which package is not a real orphan and why.
    If you want a fugly script for that:
    $ pacman -Qi $(pacman -Qqdt) | grep -e Name -e "Optional For" | grep -v None | grep -B1 Optional
    Name : cdparanoia
    Optional For : abcde

  • How is the 'import-packages' information saved in the database, and how long?

    Hello,
    I am  developping a ECM Connector for Adobe LiveCycle ES, which is a customized component.
    1 - Who should I contact to have some specific support  ?
    There is no detailed information yet on this on the adobe site  (http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/help/wwhelp/wwhimpl/js/html/w whelp.htm?href=000931.html&accessible=true) .
    If you  think that I should address my problem to another department of Adobe, please  tell me which department?
    I give you another description of my problem. In fact, I have  been investigating on it.
    2 - If I  put this in my component.xml file, in step  1:
    <component-id>com.rsd.adobe.livecycle.RSDFoldersConnector</component-id>
    <version>1.0</version>
    <import-packages><package  version="1.0">com.rsd.simpleApiFolders</package>  </import-packages>
    If I change the  version to 1.1 and remove the  'import-packages' (in step 2) , will the new component need the  com.rsd.simpleApiFolders package. It seems that is still needs it.
    3 - How is the  'import-packages' information saved in the  database, and how  long?
    In  fact, on thursday, I used 'import-packages'  to make a test. And since them, I  can not deploy any of my components.
    LiveCycle throws a  ClassNotFoundException.
    ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException:  Internal error.
    [java] at  com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl$6.doInTransaction(Compone ntRegistryImpl.java:338)
    ... Caused  by: java.lang.ClassNotFoundException: http-0.0.0.0-8080-1Class name  com.rsd.simpleApiFolders.Context from package com.rsd.simpleApiFolders not found.
    [java] at  com.adobe.idp.dsc.DSContainerSearchPolicy.searchClassUsingParentFirst(DSContainerSearchPo licy.java:234)
    Thank you in advance
    Regards.

    1 - Who should I contact to have some specific support  ?
    That would depend on your Adobe support contract and if your organization has a TAM assigned.  You should check with your organization's Adobe contact and see what support options your organization has purchased.
    Having said that, this forum has a few people that may be able to help (but the forum does not have a SLA associated with it)
    2 - If I  put this in my component.xml file, in step  1:
    <component-id>com.rsd.adobe.livecycle.RSDFoldersConnector</component-id>
    <version>1.0</version>
    <import-packages><package  version="1.0">com.rsd.simpleApiFolders</package>  </import-packages>
    If I change the  version to 1.1 and remove the  'import-packages' (in step 2) , will the new component need the  com.rsd.simpleApiFolders package. It seems that is still needs it.If your component class needs the simpleApiFolders class then yes, you still need it.  Think of import-packages like a class-path statement (but with packages and not jars).  Its not physically moving the package into your application, but allowing you to access it from another container.
    3 - How is the  'import-packages' information saved in the  database, and how  long?
    As far as I know they are not imported into the database. As I stated above, I believe that the import-packages just allows you to point to classes that are in the app server's classpath, but are not physically in you component jar file.  As long as that class is in the app server class-path (or in the Adobe EAR file) then you should be able to access it.  Is the jar file containing the simpleApiFolders class in the app server's lib directory?

  • How do I exclude optional dependencies?

    How do I exclude optional dependencies?
    Say when installing xorg, how do I exclude some of the font packages?  There are many font packages.  It says they are "dependencies", but I know they are optional since I just need 1 package that works in X.  (By the way, which package is smallest since I need at least 1?)

    You could install with "-Sd" which skips dependency checks.
    edit: "xorg" is a meta package, or group. In other words, 'pacman -S xorg' calls a set of packages, though they are not necessarily dependencies. In this case, you have the option to not install each component. When it asks "Install whole content?" simply say no, then you can go down the list and select on what you want.
    Last edited by aport (2008-02-20 23:58:38)

  • Makedep: convert optional dependencies to real dependencies

    Project page: http://xyne.archlinux.ca/projects/makedep/
    Makedep can add dependencies to installed packages. It is mostly for converting optional dependencies to real dependencies but it can be use to make any package a dependency of another, including an empty package used as a metapackage (exploring the possibilities of such is on my TODO list).
    The project page contains some examples and the full list of options. Usage should be simple. The "technical" section contains some remarks about the implementation regarding database integrity.
    This is not as good as my idea for doing this natively in Pacman, but it works.
    Last edited by Xyne (2013-01-20 07:50:19)

    Well, right now you can use "provides" to have a sort of optional depends.
    For example, the potrace and autotrace packages could both be built to provide "raytracer". Then the mftrace package would simply depend on a "raytracer".
    Not quite the same, but it fills in some of the need.

  • Optional dependencies

    Are there any plans for implementing optional dependencies? These are dependencies that are not required for a package to work but they will be used if installed.
    For example, I do not need arts installed with K3B.

    The problem is that your assumption, that an app will use a lib if it's installed, is wrong.  Most apps, I would say, to be able to use the lib will need to be compiled with that support built-in. However,  it will usually link itself to the library and will refuse to run if the library isn't installed.  So the depends isn't optional anymore. That's the reason behind the amarok-base and amarok-mysql packages.
    Debian has optional depends but also it seperates packages in small pieces. So the optional depends could be docs or devel packages.
    BTW, the k3b/arts example is a bad one for optional depends because k3b doesn't depnds on arts. It depends on kdelibs that in turns depends on arts. It's more of a dependency chain problem than optional depends. 

  • Solaris Package Information database on the web

    I've cobbled together a web interface to the Solaris package information. For security reasons, I no longer install the "Entire" distribution. This database was designed as an aid to help me determine dependencies as I pick and choose which packages to include in a custom Solaris install. It's still a beta app, but I was wondering if it was worth doing more development on. Take a look at http://rocky.uta.edu/doran/pkginfo/search.cgi
    Feedback is welcome.
    -- Michael
    # Michael Doran
    # [email protected]

    Well, I certainly like it! That made it easy to find out which packages I can remove from my Jumpstart process to speed it up!
    No suggestion for additions that would be of any value at this point.

  • Pacinfo - a package information utility for pacman

    Maybe some of you have already read this on the Arch Linux planet. I have released pacinfo 0.1, it's a package information utility for pacman with the following features:
        * list all installed packages
        * screenshot support (fetching from http://screenshots.debian.net/ like the Ubuntu Software Center)
        * large screenshot if you click on the thumbnail
        * shows installed files of a package
        * shows some details of the package
        * full-text search in the whole package name
    More features are planned. You can find the project at Google Code: http://code.google.com/p/pacinfo/ There is also a screencast about it functionality.
    I have add it to the AUR repo: https://aur.archlinux.org/packages.php?ID=46065
    It's written in Mono and GTK#.
    This thread should be used as a discussion thread about features and bugs.
    NOTE: This is my personal project and has nothing to do with my work at Arch Linux, it's not an official Arch Linux project!

    Looks very cool!  However, I do get an error when I try to build it from AUR.  I'm using the i686 vesion of Arch, have all dependencies, and everything is up to date.  Not sure if this will be info-overkill, but I'm just trying to help:
    Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Mono.CSharp.Location ---> System.ExecutionEngineException: SIGILL
    at System.Collections.Generic.Dictionary`2[System.String,System.Int32].Init (Int32 capacity, IEqualityComparer`1 hcp) [0x00000] in <filename unknown>:0
    at System.Collections.Generic.Dictionary`2[System.String,System.Int32]..ctor () [0x00000] in <filename unknown>:0
    at Mono.CSharp.Location.Reset () [0x00000] in <filename unknown>:0
    at Mono.CSharp.Location..cctor () [0x00000] in <filename unknown>:0
    --- End of inner exception stack trace ---
    at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0
    make[1]: *** [bin/Release/pacinfo.exe] Error 1
    make[1]: Leaving directory `/tmp/yaourt-tmp-beelzebud/aur-pacinfo/src/pacinfo-0.1/pacinfo'
    make: *** [all-recursive] Error 1
    Aborting...

  • [SOLVED] pacman log optional dependencies

    Hi,
    Coming from ubuntu, just been trying Arch to get to know better the linux system and try a more KISS approach. I really like it, however I had a few troubles on the way which I am resolving slowly.. however concrenng pacman, maybe I am blind but I can't find a way to get all the messages displayed during some package installation in the pacman.log ; in particular all the optional dependencies are not listed there..
    Is there a way to get the full pacman log as shown during the installation in a log file ?
    Last edited by Alain2 (2009-11-08 02:05:52)

    Hi All,
    I saw this and had to take up the challenge.
    How's this? It's pure sed at work. It shows both required and optional dependencies.
    pacman -Qi | sed -n '/^Name/,/^Required By/{ /^Version/,/^Provides/d; /^Required By/d; /^Name/{x;p;x}; p }'
    This is a command line version of course so just make an alias for it in .bashrc. If you want to log it then create a cron script to update it. By the way this should alleviate the multi-line issue you were having as I did some reverse thinking on this. I just eliminated what we didn't need as opposed to just trying to find what we did need. Sometimes that works better. 
    Here's an example output: (The actual output is nice and tidy. Pasting into the forum here mucked the alignment up. ) lol!
    Name           : pcmciautils
    Depends On     : glibc  sysfsutils  module-init-tools>=3.2pre9 
    Optional Deps  : None
    Name           : pcre
    Depends On     : gcc-libs 
    Optional Deps  : None
    Name           : perl
                     perl-archive-tar=1.52  perl-autodie=2.06_01 
                     perl-attribute-handlers=0.85  perl-autoloader=5.68 
                     perl-b-debug=1.11  perl-b-lint=1.11  perl-base=2.14 
                     perl-bignum=0.23  perl-cgi=3.43  perl-class-isa=0.33 
                     perl-compress-raw-bzib2=2.020  perl-compress-raw-zlib=2.020 
                     perl-constant=1.17  perl-cpan=1.9402  perl-cpanplus=0.88 
                     perl-db_file=1.820  perl-dprof=20080331.00 
                     perl-data-dumper=2.124  perl-devel-ppport=3.19 
                     perl-devel-peek=1.04  perl-digest=1.16  perl-digest-md5=2.39 
                     perl-digest-sha=5.47  perl-encode=2.35 
                     perl-encoding-warnings=0.11  perl-exporter=5.63 
                     perl-extutils-cbuilder=0.2602  perl-extutils-command=1.16 
                     perl-extutils-constant=0.22  perl-extutils-embed=1.28 
                     perl-extutils-install=1.54  perl-extutils-makemaker=6.55_02 
                     perl-extutils-manifest=1.56  perl-extutils-parsexs=2.2002 
                     perl-file-fetch=0.20  perl-file-path=2.07_03 
                     perl-file-temp=0.22  perl-filter=1.37 
                     perl-filter-simple=0.84  perl-getopt-long=2.38  perl-if=0.05 
                     perl-io=1.25  perl-io-compress=2.020  perl-io-zlib=1.09 
                     perl-ipc-cmd=0.46  perl-ipc-sysv=2.01  perl-libnet=1.22 
                     perl-locale-codes=2.07  perl-locale-maketext=0.13 
                     perl-locale-maketext-simple=0.18  perl-log-message=0.02 
                     perl-log-message-simple=0.04  perl-mime-base64=3.08 
                     perl-math-bigint=1.89  perl-math-bigint-fastcalc=0.19 
                     perl-math-bigrat=0.22  perl-math-complex=1.56 
                     perl-memoize=1.01_03  perl-module-build=0.340201 
                     perl-module-corelist=2.18  perl-module-load=0.16 
                     perl-module-load-conditional=0.30  perl-module-loaded=0.02 
                     perl-module-pluggable=3.9  perl-next=0.64  perl-net-ping=2.36 
                     perl-object-accessor=0.34  perl-package-constants=0.02 
                     perl-params-check=0.26  perl-parent=0.221 
                     perl-parse-cpan-meta=1.39  perl-pathtools=3.30 
                     perl-pod-escapes=1.04  perl-pod-latex=0.58 
                     perl-pod-parser=1.37  perl-pod-perldoc=3.14_04 
                     perl-pod-simple=3.07  perl-podlators=2.2.2  perl-safe=2.18 
                     perl-scalar-list-utils=1.21  perl-selfloader=1.17 
                     perl-shell=0.72_01  perl-storable=2.20  perl-switch=2.14 
                     perl-sys-syslog=0.27  perl-term-cap=1.12  perl-term-ui=0.20 
                     perl-test=1.25_02  perl-test-harness=3.17 
                     perl-test-simple=0.92  perl-text-balanced=2.0.0 
                     perl-text-parsewords=3.27  perl-text-soundex=3.03 
                     perl-text-tabs+wraps=2009.0305  perl-thread-queue=2.11 
                     perl-thread-semaphore=2.09  perl-threads=1.72 
                     perl-threads-shared=1.29  perl-tie-file=0.97_02 
                     perl-tie-refhash=1.38  perl-time-hires=1.9719 
                     perl-time-local=1.1901  perl-time-piece=1.15 
                     perl-unicode-collate=0.52  perl-unicode-normalize=1.03 
                     perl-version=0.77  perl-win32=0.39  perl-win32api-file=0.1101 
                     perl-xsloader=0.10  perlio-via-quotedprint=0.06 
    Depends On     : gdbm  db>=4.8  coreutils  glibc  sh 
    Optional Deps  : None
    Name           : perl-crypt-ssleay
    Depends On     : perl>=5.10.0 
    Optional Deps  : None
    Have a nice day!!
    Hope this helps
    P.S. Here's another little tool I wrote you might find useful. Add to .bashrc
       wtd: (What They Do)
    alias wtd="pacman -Qi | sed -n '/Version/,/Install\ Script/!p' | grep -F -A2 "
    Just type:
    wtd program name
    This will output the description for the program(s) with program name in the title.
    Example:
    wtd grep
    Name : cgrep
    Description : Provides many of the features of grep, egrep, and fgrep with
    greatly enhanced performance
    Name : grep
    Description : A string search utility
    Edit: Well, I just showed above with Perl (duh!) I'm still having a multi-line issue with the Provides line. Where a program shows more than one Provides entry it's only deleting the first line.  I'll work on it and get back. Other than that this works (at least it should).
    Edit2: Here is a slightly hacked form of the above command that at least fixes the perl issue. This will still fail when encountering other multi-line Provides lines. I think those are fairly rare so I'm leaving it at that. Sed does have limits and I'm sure a more complex command could be written using sed but I think this will get you in the ballpark.
    pacman -Qi | sed -n '/^Name/,/^Required By/{ /^Version/,/^Provides/d; /^ *perl.*$/d; /^Required By/d; /^Name/{x;p;x}; p }'
    Last edited by harryNID (2009-11-08 19:12:03)

  • Missing package information on MyBT accounts

    Missing package information on MyBT accounts
    and after lots of phone call no one can fix it.
    which department do i need to talk to.
    and can i have a name of some one it that department so I can look them up in the Directory if not a name a EIN will do.

    I have asked a moderator to provide assistance, they will post an invite on this thread.
    They are the only BT employees on this forum, and are a UK based team of people, who take personal ownership of your problem.
    Once you get a reply, make sure that you are logged into the forum, then click on their name, you will see a screen like this. Click on the link as shown below.
    Please do not send them a personal message, as they may not be on duty for a long time, and your message will not be tracked properly.
    For your own security, do not post any personal details, on this forum. That includes any tracking number you are give.
    They will respond either by phone or e-mail within 5-6 working days.
    Please use the tracked e-mail, to reply, not via the forum. Thanks
    This is the form you should see when you click on the link. If you do not see this form, then you have selected the wrong link.
    When you submit the form, you will receive an enquiry number, so please keep a note of it
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • Is there any field on waste packaging information in MM03

    Please help me in finding any field on waste packaging information in MM03. If it is there please let me know in which view we can find it, if not let me know where else i can find information on Waste packaging.

    Hi Vinod,
    If i got you right,  you need the information on Packing material in material master, if this is the case then go to
    Material Master - Basic data1- Packaging Material Data here you get to see
    1) )Material group packing material -  here grouping of materials which require same kind of packing is done.
    2)  Reference material for material packing - here material number is given which is to be packed with the similar packing and there should be a material master record for the reference material.
    3) Product composition - if you check ithis tab then composition gets  printed on packing      
    For example - say you have two material X(glass bottles) and y( glass jars) since these two are one of a kind they require same kind of packing.
    hope this will help you
    Thanks
    Abdul

  • Unable to get package configuration option in .dtsx file.

    Hi Team,
    I am unable to get see the package configuraiton option on my package.
    I have created SSIS project in VS Data Tool of SQL SERVER 2012.
    Can you please, correct me with appropriate setting.

    Hi Sandip,
    Just an addition, you can refer to the following screenshot:
    Regards,
    Mike Yin
    TechNet Community Support

  • "Enhancement Package Installation" option is missing for CRM 7.0/NW 7.1

    Hi Expert,
    I am trying to install EHP1 on CRM 7.0/NW 7.1. Following the installation guide, I updated the solution manager to SP stack 24, and use MOPZ to download the software packages. But when I create a new MOPZ transaction, there is only "Maintenance" option for the product of CRM, the "Enhancement Package Installation" option is missing. The Maintenance Optimizer works well for other products, such as Netweaver and ERP 6.0.
    Can someone help me? Do I need to apply some notes?
    Thanks,
    Min

    Hello,
    It looks like either your company has not enrolled for the Ramp Up of CRM 7 EHP1.
    If your company is indeed in the Ramp Up, please check in SCPR20 if these BC sets are activated in the listed sequence:
    SOLMAN40_MOPZ_TTYP_SLMO_000
    SOLMAN40_MOPZ_001
    SOLMAN40_MOPZ_SP18
    If one of them has no activation logs or if the date and time of the third one is earlier than the first in the list, then the Maintenance Optimizer BC sets need to be reactivated.
    Best regards,
    Miguel Ariñ

Maybe you are looking for