Extracting package information

First off, sorry if this is a little off topic but I'm really struggling to find the right forum :(
We're developing an application that needs to be able to extract pkginfo style information without necessarily running on a solaris box. Is there anywhere that documents the binary format used by the pkg* family of utilities? The directory form is easy to deal with but the single archive version is leaving us a little stumped at the moment.
Thanks for any suggestions and pointers,
Rob

The pkg* utility family doesn't use binary formatting. The pkg info database is purely text based.
Package can come in two flavors (and I'll probably get this wrong).
1) PackageStream - which means the "package" and all its contents are in one "file". But I've never dug in deep enough to see if the "format" of the file is purely CPIO, SHARE format (I don't think it is), or some other derivative.
2) Tar bundle that extracts down into a directory structure.
In both formats there is a file called pkginfo (among others) that gives the package information.

Similar Messages

  • Extracting package information from SSIS

    Hi all,
    I am supposed to maintain a bunch of excels documenting all the mappings I'm doing in SSIS.  The excels have the following format:
    Target Field | Target Type | Source Table | Source Field | Source Type | Transformation Rule
    Apart from being incredibly tedious, it is hard to keep every excel current, as there are other people adding and taking information from the database model.
    I plan to extract this information from SSIS and create the excels dinamically, but, apart from parsing the .dtsx for each package, I see no other way of getting what I need.
    Any suggestions on how I should do this? Is there an easier way?
    Cheers,
    David Leal

    The SSIS object model provides access to all aspects of the package, you can use it from both managed and unmanaged code. Also, take a look as SQL BI Metadata Samples that has similar goal of documenting the package, you may find some of its code useful for your project.

  • 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.

  • Sales order does not extract plant information from material master data

    Hi experts,
    I have created a sales order. However, the plant in the shipping tab can only be manually entered.
    I have made the check:
    the customer material master data does not have the plant info.
    the customer master data does not have it either.
    It is defined in the material master data: sales:general/plant
    But the sales order did not extract this information. Why does this happen?
    Thank you in advance.
    Best regards,
    Fan

    Hello Friend,
    As right stated by you,
    The Plant will be copied from the master data to the sales order, if not it should be manually entered
    The Sequence System will search for the Plant is as follow..
    1. Customer material infor record, If it was not maintained then it will search in
    2. Customer master, if the entre was not maintained in the SHIPPING TAB
    3. Finally it will search in the Material master in the Sales organisation data 1 in the field DELVERING PLANT field.
    So please search whether the entry was maintained in that field at the sales:sales organisation data 1.
    This might be the issue.
    Please revert if you want further details
    regards,
    santosh

  • Extracting pointer information and displaying it as an image

    Hey,
    I am using Intel's OpenCV image processing library in LabVIEW.
    There's a pointer to a struct IplImage that is passed around in order to run image processing functions.
    The struct IplImage is defined as: 
    typedef struct _IplImage
    int nSize; /* sizeof(IplImage) */
    int ID; /* version (=0)*/
    int nChannels; /* Most of OpenCV functions support 1,2,3 or 4 channels */
    int alphaChannel; /* ignored by OpenCV */
    int depth; /* pixel depth in bits: IPL_DEPTH_8U, IPL_DEPTH_8S, IPL_DEPTH_16U,
    IPL_DEPTH_16S, IPL_DEPTH_32S, IPL_DEPTH_32F and IPL_DEPTH_64F are supported */
    char colorModel[4]; /* ignored by OpenCV */
    char channelSeq[4]; /* ditto */
    int dataOrder; /* 0 - interleaved color channels, 1 - separate color channels.
    cvCreateImage can only create interleaved images */
    int origin; /* 0 - top-left origin,
    1 - bottom-left origin (Windows bitmaps style) */
    int align; /* Alignment of image rows (4 or 8).
    OpenCV ignores it and uses widthStep instead */
    int width; /* image width in pixels */
    int height; /* image height in pixels */
    struct _IplROI *roi;/* image ROI. when it is not NULL, this specifies image region to process */
    struct _IplImage *maskROI; /* must be NULL in OpenCV */
    void *imageId; /* ditto */
    struct _IplTileInfo *tileInfo; /* ditto */
    int imageSize; /* image data size in bytes
    (=image->height*image->widthStep
    in case of interleaved data)*/
    char *imageData; /* pointer to aligned image data */
    int widthStep; /* size of aligned image row in bytes */
    int BorderMode[4]; /* border completion mode, ignored by OpenCV */
    int BorderConst[4]; /* ditto */
    char *imageDataOrigin; /* pointer to a very origin of image data
    (not necessarily aligned) -
    it is needed for correct image deallocation */
    IplImage;
    I am having problems with closing OpenCV's GUI window when called from LabVIEW in Linux. A solution to this may be to not use OpenCV's GUI window in LabVIEW for Linux, but rather pass back the pointer to the processed image in LabVIEW. From that pointer, we can send it to a C wrapper to extract some information that we want from the struct in order and pass back those values to LabVIEW. Then LabVIEW will process those values and display the image. What will I need to extract from the pointer (via a C wrapper) in order to display the image onto LabVIEW?
    I attached a LabVIEW example that I found. This example loads and displays an image. I am thinking of doing something similar to that. Instead of loading an image from the file dialog, I will pass all of the necessary information to Draw Flattened Pixmap.
    Attachments:
    Picture4.vi ‏56 KB

    My description of my problems with interfacing OpenCV with LabVIEW is contained in this discussion
    Basically, the code works in C in Linux, C in Windows, LabVIEW for Windows, but not in LabVIEW for Linux.
    We finally were able to get OpenCV to interface with LabVIEW for Linux by doing some complex edition to make install. However, LabVIEW was still having trouble with the function to close all HighGUI windows. Even though it went through the function, it will not close the HighGUI window. Also the HighGUI window freezes and when it eventually closes, it crashes LabVIEW.
    When I test it by writing C programs, the function does what it is supposed to do.

  • 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

  • How to use NI CAN feature for extracting DBC information without a CAN Interface?

    Hi,
    I'm looking for some tricks in order to extract DBC Information using the NI CAN without a CAN interface...
    Basically I have some DBC files and I would to analyze them to get hierarchy Messages and Channels (and their related information, offset, scale, etc.).
    http://www.ni.com/white-paper/4294/en/
    The function CAN Get Names is usefull and allow me depending on the mode to get a list of the Channels and Messages described in the DBC file. However, I'm encountering one major issue and none of the least, I cannot use the function the CAN Get Property... As it required a connector based on Task that I cannot provide since I dont have any real and physical CAN interface, for now. Therefore I cannot have any information about the channels neither about the messages...
    Does anybody can give me a hand to fix that matter?
    Solved!
    Go to Solution.

    Nelval wrote:
    It seems that no matter the virtual port I am using, it does not work. Could you have a look at my sample.vi, I know it's poorly wired, especially since I'm more in .NET things than NI from my occupation ^^'. I also provided a dummy DBC file to simulate a very basic input.
    And by the way is there any way then to get the Byte Array / Bit Array corresponding to a certain message (and how to set the signal values required to get the message)?
    Your code isn't that bad, relativly easy to follow.  In any case the problem had nothing to do with the CAN port being used.  If you would probe the error wires around you would see that coming out of the CAN Init Start stated that the channel name didn't exist.  Looking at how you had it wired you took the messages (or frames) and put them into the channels terminal, when I assume you wanted the channels.  Then looking at your tree you were again trying to get the ID of a channel, but giving it the message name.  I also added reading the Start Bit, Number of Bits, and Byte Order for all the channels read.
    If you were to do this with XNET there would be completelly different functions, but the same operations can be done.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.
    Attachments:
    DBC Extraction Hooovahh Edit.vi ‏29 KB

  • 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?

  • Requesting for [base-devel] packages information

    Hi, I have read alot of threads related to this but I think its not yet clear...My arch installer gives me the "base-devel" from "Select Package Categories"...What I would like to know is the package information of every package on the list.  Since my netbook has only 8gb of SSD, I can't waste space for unnecessary packages...:( Thanks in advance
    Last edited by kaola_linux (2009-02-03 11:00:37)

    #!/bin/bash
    for i in $( pacman -Sgq base-devel ); do
    pacman -Qis ^${i}$
    done
    local/autoconf 2.63-1 (base-devel)
        A GNU tool for automatically configuring source code
    local/automake 1.10.2-1 (base-devel)
        A GNU tool for automatically creating Makefiles
    local/bin86 0.16.17-3 (base-devel)
        A complete 8086 assembler and loader
    local/bison 2.4.1-1 (base-devel)
        The GNU general-purpose parser generator
    local/ed 1.1-2 (base-devel)
        A POSIX-compliant line editor
    local/fakeroot 1.12.1-1 (base-devel)
        Gives a fake root environment, useful for building packages as a non-privileged user
    local/flex 2.5.35-1 (base-devel)
        A tool for generating text-scanning programs
    local/gcc 4.3.3-1 (base-devel)
        The GNU Compiler Collection
    local/libtool 2.2.6a-1 (base-devel)
        A generic library support script
    local/m4 1.4.12-1 (base-devel)
        m4 macro processor
    local/make 3.81-3 (base-devel)
        GNU make utility to maintain groups of programs
    local/patch 2.5.9-1 (base-devel)
        A utility to apply patch files to original sources
    local/pkgconfig 0.23-1 (base-devel)
        A system for managing library compile/link flags

  • Failed to extract package content from... Error = 3 SMS_DESPOOLER Critical

    Hi together
    I cannot stage any more clients in some of our sites I get the following Error in Component Status view:
    Critical SMS_DESPOOLER
    Despooler.log on Site Servers says:
    - CFileLibrary::OpenFile failed; 0x80070003
    - CContentBundle::ExtractContentBundle failed; 0x80070003
    - Failed to extract contents to the content library. 0x80070003
    - Failed to extract package contents from C:\PROGRAM FILES\MICROSOFT CONFIGURATION MANAGER\INBOXES\DESPOOLR.BOX\RECEIVE\PKG71E8Z.TRY. Error = 3
    - We've retried enough times on job 00001F5B, give it up.
    - Despooler failed to execute the instruction, error code = 8
    - but there is enough space !
    - from then on nothing more but: Waiting for ready instruction file....
    ooGDoo

    Hi,
    0x80070003 The system cannot find the path specified.
    Please try to remove the package and re-add it.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • 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...

  • 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

  • How can I extract structure information from registered XSDs ?

    Hello,
    I am trying to extract hierarchy and type information from registered XML schemas which include other XML Schemas, in a single SQL query.
    In essence I would love to be able to write a query of the form
    SELECT *
      FROM XMLTABLE('//xs:element'
                    PASSING <the root schema object goes here>
                    COLUMNS   ELEM_NAME       VARCHAR2(63) PATH '@name'
                            , ELEM_REF        VARCHAR2(62) PATH '@ref'
                            , ELEM_TYPE       VARCHAR2(63) PATH '@type'
                            , MIN_OCCUR       VARCHAR2(15) PATH '@minOccurs'
                            , MAX_OCCUR       VARCHAR2(15) PATH '@maxOccurs'
                            , ANNOTATIONS     SYS.XMLTYPE  PATH 'xs:annotation'
                            , FXD_LENGTH      VARCHAR2(10) PATH '/xs:length/@value'
                            , MAX_LENGTH      VARCHAR2(10) PATH '/xs:maxLength/@value'
                            , MIN_INCLUSIVE   VARCHAR2(10) PATH '/xs:minInclusive/@value'
                            , MAX_INCLUSIVE   VARCHAR2(10) PATH '/xs:maxInclusive/@value'
                            , MIN_EXCLUSIVE   VARCHAR2(10) PATH '/xs:minExclusive/@value'
                            , MAX_EXCLUSIVE   VARCHAR2(10) PATH '/xs:minExclusive/@value'
                            , TOTAL_DIGITS    VARCHAR2(10) PATH '/xs:totalDigits/@value'
                            , FRACTION_DIGITS VARCHAR2(10) PATH '/xs:fractionDigits/@value'
                   )together with an indicator if each element is a leaf or not as well as its level and position information, by suitably expanding the appropriate type information from the (possibly) included XML Schemas (via schemaLocation).
    Does anybody know if there is a way to do this ?
    I will provide my sample XSD files if needs be ...
    Best Regards
    Filippos

    Have a look at the xdbutilities.zip packages... Probably all the info needed can be found in the code used there:
    http://www.oracle.com/technology/tech/xml/xmldb/Current/xdbutilities.zip

  • [Solved]How to extract boot information from an iso

    Hi,
    i remember of extracting a boot.bin file containing the boot information of an ISO file using the command "eltorito <some options> boot.bin" or something. Could you please tell me with package privides this in arch? i think i ve used the above command on on a debian based distro..
    Thank you very much.
    Last edited by Zapman (2012-10-08 12:27:58)

    Maybe look into how archiso does it? For example, use Ctrl+F to search for ".bin" on this page a few times. It mentions:
    xorriso -as mkisofs ${_qflag} \
    -eltorito-boot isolinux/isolinux.bin \
    -isohybrid-mbr ${work_dir}/iso/isolinux/isohdpfx.bin \
    And pkgfile says that xorriso belongs to:
    $ pkgfile xorriso
    extra/libisoburn
    Last edited by DSpider (2012-10-08 11:10:22)

Maybe you are looking for

  • What is javax.activation,how can I get it

    hello all the JavaMail need a class library called "javax.activation",but I don't know what mean is it,and how to get it ,how to use it... Thanks in advance, qingbt.

  • IPhoto Cannot Show B&W

    Using iphoto 08 v 7.1.3. Seems that i cannot see any thumbnail of black and white shots that have either been taken that way or changed in photo shop or aperture. When the image is displayed in a sideshow within iphoto its dark and hardly viewable. H

  • Rcapd and zones.

    Hello, For limiting the physical memory usage of a project one can use rcapd. What if I want to limit the total physical memory usage of processes in a zone ? (for FSS for example you can give a number of shares to a whole zone) Is this currently pos

  • Sql query writing best practises

    HI forum, Any body is having a tutorial on sql query writing best practises...pls share with me Thanks

  • Weird HDD Read & Write Speed

    Been running some tests on my relatively old editing machine as i try to squeeze the most out of it before i upgrade within the next few months. I was quite suprised to see these speeds for the G-Raid: Raid0 2x750GB WD Green NTFS:       W158.4     R1