Hmm - reason for installing package...

All,
I'm not sure if this issue has been brought up before, but I want to get some feedback about a pacman idea that I had.
pacman -Qi lets you see dependencies for installed packages.  It helps you see why you installed a package.  Super helpful.  But it doesn't show everything.
Sometimes you've installed a package because there was an install-time recommendation for another package.  Or perhaps I was writing a python program and tried out a library, but then later used a different library and so the library is still installed, but not being used.  In cases like these, there may be no clean way to hook up an installed package with the "reason" it was installed.
My idea is to have some type of flag on pacman where I can record the reason I'm installing a package (or group of package).  Then that reason will be stored for when I run pacman -Qi later on.  It can just be a one-line piece of text.  No need for anything fancy.
pacman -S python-sqlobject --reason "trying this for project blah"
It might also be helpful to have a flag where you can set the "reason" on a package after it's already been installed.
pacman -Q python-sqlobject --reason "trying this for project blah"
Then, later:
> pacman -Qi python-sqlobject
Repository : extra
Name : python-sqlobject
Version : 0.10.1-1
URL : http://sqlobject.org/
Licenses : LGPL
Groups : None
Provides : None
Depends On : python>=2.5 setuptools>=0.6c8 python-formencode>=0.7
Optional Deps : None
Conflicts With : None
Replaces : None
Download Size : 278.70 K
Installed Size : 1108.91 K
Packager : Eric Belanger <[email protected]>
Architecture : i686
Build Date : Tue 27 May 2008 06:21:26 PM PDT
MD5 Sum : c3898c5caa7df3f63f04d7afa71fa6d8
Description : A popular Object Relational Manager for providing an object
interface to your database, with tables as classes, rows as
instances, and columns as attributes
Reason : trying this for project blah
I envision this being extremely helpful when cleaning up and administering packages on my system (for me personally).
Can anyone see the benefit of this?  Has this already been brought up?  Are there simpler solutions people are already using? ...

I actually think this is a pretty good idea, but I'm not sure how many would use it.  I often run across packages on my system and don't remember installing them even though pacman says I did it explicitly

Similar Messages

  • Retrieve source for installed package: apache [SOLVED]

    i am using CPAN shell to build the mod_perl dependency Apache::Registry and it is asking for the apache source.  i need the source for apache 2.2.11-3, obviously could be gotten from apache.org but its more robust if pacman or abs can just check the pkgbuild for the version of apache that was compiled into the package that i got via pacman. 
    yeah i tried
    $ yaourt -Sy mod_perl
    and followed the steps at http://perl.apache.org/docs/1.0/guide/g … erl_Server
    under "Configuring and starting the mod_perl server" but it broke httpd.conf according to /var/log/httpd/error_log
    Last edited by poopship21 (2009-08-02 17:15:52)

    first of all let me say that there is obviously something else going on here because the first thing i did was change "PerlSendHandler" to "PerlSendHeader" and run "sudo /etc/rc.d/httpd restart".  no matter what i still got this:
    syntax error on line 492 of /etc/httpd/conf/httpd.conf:
    Invalid command 'PerlSendHandler', perhaps misspelled or defined by a module not included in the server configuration
    [Fri Jul 31 15:24:37 2009] [error] Can't locate Apache/Registry.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /etc/httpd) at (eval 2) line 3.\n
    [Fri Jul 31 15:24:37 2009] [error] Can't load Perl module Apache::Registry for server myserver.org:0, exiting...
    [Fri Jul 31 15:24:40 2009] [error] Can't locate Apache/Registry.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /etc/httpd) at (eval 2) line 3.\n
    [Fri Jul 31 15:24:40 2009] [error] Can't load Perl module Apache::Registry for server myserver.org:0, exiting...
    [Fri Jul 31 15:24:44 2009] [error] Can't locate Apache/Registry.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /etc/httpd) at (eval 2) line 3.\n
    [Fri Jul 31 15:24:44 2009] [error] Can't load Perl module Apache::Registry for server myserver.org:0, exiting...
    [Fri Jul 31 15:24:45 2009] [error] Can't locate Apache/Registry.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /etc/httpd) at (eval 2) line 3.\n
    [Fri Jul 31 15:24:45 2009] [error] Can't load Perl module Apache::Registry for server myserver.org:0, exiting...
    [Fri Jul 31 15:24:46 2009] [error] Can't locate Apache/Registry.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /etc/httpd) at (eval 2) line 3.\n
    [Fri Jul 31 15:24:46 2009] [error] Can't load Perl module Apache::Registry for server myserver.org:0, exiting...
    [Fri Jul 31 15:32:35 2009] [error] Can't locate Apache/Registry.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /etc/httpd) at (eval 2) line 3.\n
    [Fri Jul 31 15:32:35 2009] [error] Can't load Perl module Apache::Registry for server myserver.org:0, exiting...

  • Viewing dependency tree for non-installed packages [SOLVED]

    Pactree only seems to work for installed packages so I was wondering if there was any alternative that could work with any package (installed or not).
    Last edited by anonymous_user (2011-07-09 14:46:05)

    Well it's not as fast as pactree but I hacked this together for you:
    #!/bin/bash
    pactree () {
    echo "$2|--$1" | cut -c4-
    for dep in $(pacman -Si $1 2>/dev/null | awk -F':' '/Depends On/ { print $2 }')
    do
    dep=$(echo $dep | egrep -o "^[a-z0-9._-]+")
    [[ -n $dep ]] && pactree $dep "$2| "
    done
    pactree $1 ""
    Perhaps you should replace the occurences of "pactree" with something else.
    Edit: Prettier output.
    Last edited by Lars Stokholm (2011-07-09 09:22:52)

  • SUGGEST:"Installed as a dependency for another package" -What package?

    When we run "pacman -Qi" and the name of a package, ex: xulrunner (dependency of firefox), in the end, this shows up:
    Install Reason : Installed as a dependency for another package
    My suggestion is that it should show what package was it installed as a dependency of. Let me explain better. In this specific example, in my system, xulrunner was installed as a dependency of firefox, so, according to my suggestion, it should show exactly this:
    Install Reason : Installed as a dependency for another package - firefox
    As you can see in bold, my suggestion adds firefox after showing that it was installed as a dependency.
    I hope a Pacman/Arch Linux developer sees this topic and develop that feature,

    Unlikely, tbh. Feature requests should be posted in the bugtracker.
    Also.. the same pacman -Qi output already provides a 'Required By' which tells you which apps depend on the one you're looking at. Not quite the same, I know, but almost.

  • [Solved] Installed as dependency for what package?

    I was wondering, how can I find out what package has required the installation of another package? For example:
    [~ ]$ pacman -Qi gegl
    Install Reason : Installed as a dependency for another package
    I couldn't find any option that would show me more info on this.
    Last edited by Boris Bolgradov (2010-06-20 15:03:51)

    [~ }$ pacman -Qi gegl
    Required By : gimp
    Do you have gimp installed?
    Last edited by machoo02 (2010-06-20 15:00:42)

  • Error message on window 7 for install iTune and iCloud!!!"There is a problem with this Windows installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor."

    Hi,
    I just try to install the setup download from apple website for iTune and iCloud.
    During the installation, there was error message prompt out "There is a problem with this Windows installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor."
    I am using Window 7 32 bit. I have try several time for install, but the result is getting same error message.
    Anyone can help on this??????
    Thanks.
    Justin

    I have also tried extracting the individual components to the temp file and attempting to install them individually despite being unable to remove the previous install of Apple Software Updater.  The outcome, both Apple Software Updater and itunes encountered the same error message during the install process.

  • 10.8.2 update: can't install "error occurred while evaluating Javascript for the package"

    Greetings All-
    I'm trying to update from 10.8.1 to 10.8.2 on my Macbook Air. When I downloaded the .dmg from Apple and ran it, I got the following error:
    "OS X Update Can't be installed on this disk. An error occurred while evaluating JavaScript for the package."
    So far, I've done the following, all to no avail:
    (1) Updated Java to v7 per Java's website, no change
    (2) Downloaded the 10.8.2 combo update, no change
    (3) Found Apple's OS X Java update (which is still at v6)- get an error at install that "the contents of the disk can't be changed"
    (4) Restarted at each step
    Does anyone have any suggestions or ideas?
    Thanks!

    Permission repair, too?
    Take a look here: https://discussions.apple.com/thread/3811748?start=0&tstart=0
    And possibly here:  https://discussions.apple.com/thread/3889562

  • The current iTunes 10.5 upgrade does not install on Windows 7 and indicates a faulty install package (error 2324). Advice or details on the release date for a proper fix?

    The current iTunes 10.5 upgrade does not install on Windows 7 and indicates a faulty install package (error 2324). Advice or details on the release date for a proper fix? I'm not able to roll back to the prior version, so I'm stuck in limbo.

    There have been a number of problems with installing the latest iTunes on Windows 7 64-bit machines during the last couple of weeks.  You might want to do a search on that topic and see if anyone has a solution.  There have been various versions of the problem but a lot related to errors in the download package or failure to download.

  • Trying to install Support for DTS packages in SQL server 2008

    Hi all
    I am trying to follow the instructions in the following link...
    technet.microsoft.com/en-us/library/ms143755(v=sql.105).aspx
    ...to install support for DTS packages - when it says on the Feature Selection page, select Integration Services - none of the installs I have tried show this as an option - what should I be installing in order to see this and get this feature installed?
    I just need to be able to view some DTS packages - help!
    Thank you! James

    Hello James,
    as can be read in the article:
    Microsoft SQL Server 2008 Service Pack 2 Feature Pack => SQLServer2005_BC.msi  (BC
    = backward compatibilty).
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Where is the install package stored from the app store for Lion?

    This is an all new way of deploying OS updates from Apple. From what I can see, this presents some issues:
    1. Where is the install package that I bought from the app store, and how can I save that offline?
    2. If there's a problem with my device in the future, I have no media of Lion to restart from- so what's the procedure to restore from a TM backup? Go back to 10.6, and then to the 10.7 update?
    3. What if I want to boot from disc or a drive? I don't have a copy of the install to make a bootable image.
    Thanks for the help

    OK, once you install Lion the Installation Package gets deleted. However once you have installed Lion, do following:
    - Open the AppStore Application
    - With pressed Option (on German Keyboard ALT) Key klick on the "Purchased" Tab!
    - You will now see that the prviously greyed out "Install" key for Lion becomes active
    - Download the install package
    - Do not start installation
    - In order to create a bootable DVD or USB drive containing the installer follow instructions posted on
    http://www.macworld.com/article/161069/2011/07/make_a_bootable_lion_installer.ht ml
    This is how you can create installation media.
    For maintenance options (means your Lion installation has some problems but your drive is still OK)
    you can boot from the hidden recovery partitions that was created when you installed Lion.
    To do so, press the Option (ALT) Key while booting. You will have now the option to boot from
    Lion or recovery partition.
    Hope this helps!

  • "Adobe Photoshop Lightroom 5.4 can't be installed on this disk. An error occurred while evaluating JavaScript for the package."

    Hi there,
    I'm getting this error on trying to install / update LR 5.3 to 5.4:
    "Adobe Photoshop Lightroom 5.2 can't be installed on this disk. An error occurred while evaluating JavaScript for the package."
    I hope there's somebody that can help me out here.
    Cheers

    Hi kglad,
    Sorry for the late response:
    Here's the screenshot you wanted:
    It's in Dutch but it 's exactly the same as posted above by abphoto.biz
    I'm running OS X Maverick on an early iMac (2007). No problems until now.....
    Hope you can help,
    Cheers

  • App for SharePoint online : Resource files can not with the app install package deployment

    I come from China, my English is not very good, bring you the confusion, I apologize;In the development of the APP to the store, I met a problem, hope someone can help me to solve, thank you very much, specific as follows:
    The development tools: vs2012
    Platform: office 365 development version
    Host:Auto
    Problem presentation:
    Press "F5" debugging running normally,Generate app install package, deploy to test environment, the app page error, tip can't find the resource file"
    error:
    Server Error in '/' Application.
    Object reference not set to an instance of an object.
    Description: An
    unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
    Source Error: 
    Line 107: <div id="FoundareADUserIndex_PageHead">
    Line 108: <span><img alt="" src="../images/head.png" height= "45px" width="45px" /> </span>
    Line 109: <span style="color: #000000; font-size: 28px; font-weight: bold"><%=HttpContext.GetGlobalResourceObject("FoundareADUserResource", "foundare_index_head").ToString()%></span>&nbsp;
    Line 110:
    Line 111:
    Source File: c:\DWASFiles\sites\fzym9dfaguchcdqnvjrwcr2pqasevj5hpvhmcaydkdg1.0.0.0\VirtualDirectory0\site\wwwroot\Pages\Default.aspx   
    Line: 109 
    Stack Trace: 

    Hi,
    According to your post, my understanding is that you want to use resource files in your SharePoint app project.
    Here is an article for your reference:
    http://msdn.microsoft.com/en-us/library/office/fp179919.aspx
    Code sample: SharePoint 2013: Localize the app web, host web, and remote components of an app
    http://code.msdn.microsoft.com/office/SharePoint-2013-Bookstore-328060fc/sourcecode?fileId=60464&pathId=1536365664
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Can't create a silent install package for Captivate 7 with AAMEE

    I'm trying to create a silent install package for Captivate 7. It doesn't appear that this works with AAMEE. Has anyone been able to do this? If it won't be possible with AAMEE, is there a way to do it with cmd line switches?

    Hi,
    You would need to use Adobe Creative Cloud Packager to create a deployment package and deploy Captivate 7 as AAMEE does not supports Captivate 7.
    Please refer the documentation available at - http://helpx.adobe.com/creative-cloud/packager.html
    Hope this helps.
    Regards,
    Sharad
    P.S - Creative Cloud Packager would be deployed under your Adobe LWS account. In case you do not have it available in LWS, then please P.M me your email address and I will get that processed.
    Regards,
    Sharad

  • Is there a package for installing the FlexNet service only?

    Hi,
    we are trying to virtualize Acrobat Pro 9 using Softgrid/App-V. Unfortunately the FlexNet service does not support virtualization. According to the virtualization community a possible workaround would be a local installation of the FlexNet service on our terminal servers.
    To do that I need an installation package for the FlexNet service only or command line parameters for installing the service from the normal package without installing acrobat.
    Is such a package or command available somewhere?
    Thanks!

    There is no standard iView for ME53N, but you can create you own iView which will point to any SAP Transaction in either WinGui or WebGui Mode and assign it to end users.
    Refer to the following standard SAP help:
    [http://help.sap.com/saphelp_nw04/helpdata/en/88/266a3e54a2e946e10000000a114084/frameset.htm]
    Regards,
    Trikanth Basetty

  • When I try to install CS6 Design and Web Premium from a disk I get this message "We are unable to validate this serial number..." What is the reason for this?

    I purchased a disk copy of CS6 Design and Web Premium from a reputable seller last week and when I try to install it with the serial number I got it says "We are unable to validate this serial number for CS6 Design and Web Premium. Please contact Customer Support." What is the reason for this?
    Is the serial number invalid?

    Hi Ned,
    Thanks for the suggestion. I eventually got in touch with Adobe Technical Support and it turned out that my Adobe Application Manager was not the latest version. They downloaded the latest version and installed it and that seemed to solve the problem. I was able to install my CS6 Creative Suite and validate the serial number. All seems to be going well at the moment.

Maybe you are looking for

  • Float problems in Dreamweaver CS3

    I am having problems creating a 2-column layout to display my main page content alongside a sidebar containing a simple payment signup form. I have set up DIVs for each... no problem. I have applied a left float property to the sidebar, but I can't g

  • Errors on logging page

    Hi, always after succes saving of my package, developer show me similar logging page: SEVERE 427 0 oracle.javatools.db.plsql.PlSqlDerivedPropertySupport$PlSqlDerivedPropertyBuilder Build of property blocks failed: null SEVERE 426 332197 oracle.javato

  • Trouble with Satellite P205D-S7454

    I am having trouble installing a OS or the recovery discs on Satellite P205D-S7454.  When I am installing the OS it hangs 10 or 15 mins into the installation of any OS (Windows 7, Vista, Ubuntu Linux). I have removed the battery and tried installing

  • Keep getting Ajax error when I try to register for ePrintCenter

    I'm trying to register for ePrinterCenter, but everytime I try to submit the form on the 'Create an HP Web Services account' page (https://h30495.www3.hp.com/user_create?next=%2F) I get the following error message: Ajax submit failed: error = 403, Fo

  • Fair Useage Policy - email received re. exceeded u...

    Help I have just spent 3 hours on the phone over the last two days trying to sort this out. We are on Option 1. Yesterday we received an email stating that we had used 7GB of our 10GB usage and that we would be charged if we exceeded the agreement. H