How to auto-repair an ips manifest prior to publishing in solaris 11 ?

Hi all,
I want to create a p5p package. I've got to the point where I managed to create the package but it fails at install because the permissions from the manifest don't match the ones from the system.
Let's say that my package will install in +/usr/local/+. This has the permissions root(user) | sys(group).
Is there a command that checks my manifest and verifies if the package will be installable and repairs it? ... I've found that pkglint does some checks.
Can anyone provide some commands to automate the process ? Change the +/usr/local/+ dir from the manifest to the correct user and group ?
Thanks

Did you see: Packaging and Delivering Software with the Image Packaging System
http://hub.opensolaris.org/bin/download/Project+pkg/files/ipsdevguide.pdf
See Chapter 4, "Packaging Software with IPS"
Notice the comment in the middle of page 24:
"Also, note that pkgsend generate has applied defaults for directory owners and groups. In the case of /opt,
the defaults are not correct; we'll just delete that directory, since it's delivered by other packages already on the
system and pkg(1) would not install the package if the attributes of /opt conflicted with those already on the
system."
You need to delete /usr and /usr/local from the package manifest.
Solution shown on page 25.

Similar Messages

  • This was the result of my EtreTest. How do I repair, fix this?

    This was the result of my EtreTest. How do I repair, fix this?
    Problem System Launch Agents: ℹ️
      [killed] com.apple.CallHistoryPluginHelper.plist
      [killed] com.apple.spindump_agent.plist
      2 processes killed due to memory pressure
    Problem System Launch Daemons: ℹ️
      [killed] com.apple.ctkd.plist
      [killed] com.apple.periodic-monthly.plist
      [killed] com.apple.wdhelper.plist
      [killed] com.apple.xpc.smd.plist
      4 processes killed due to memory pressure
    <Re-Titled By Host>

    Here is the entire report:
    EtreCheck version: 2.1.5 (108)
    Report generated January 10, 2015 at 1:06:23 PM CST
    Click the [Support] links for help with non-Apple products.
    Click the [Details] links for more information about that line.
    Click the [Adware] links for help removing adware.
    Hardware Information: ℹ️
      MacBook Air (13-inch, Mid 2013) (Verified)
      MacBook Air - model: MacBookAir6,2
      1 1.3 GHz Intel Core i5 CPU: 2-core
      4 GB RAM Not upgradeable
      BANK 0/DIMM0
      2 GB DDR3 1600 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1600 MHz ok
      Bluetooth: Good - Handoff/Airdrop2 supported
      Wireless:  en0: 802.11 a/b/g/n/ac
    Video Information: ℹ️
      Intel HD Graphics 5000
      Color LCD 1440 x 900
    System Software: ℹ️
      OS X 10.10.1 (14B25) - Uptime: 52 days 19:24:55
    Disk Information: ℹ️
      APPLE SSD SD0256F disk0 : (251 GB)
      EFI (disk0s1) <not mounted> : 210 MB
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      Macintosh HD (disk1) / : 249.78 GB (148.70 GB free)
      Encrypted AES-XTS Unlocked
      Core Storage: disk0s2 250.14 GB Online
    USB Information: ℹ️
      Apple Internal Memory Card Reader
      Apple Inc. BRCM20702 Hub
      Apple Inc. Bluetooth USB Host Controller
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Problem System Launch Agents: ℹ️
      [killed] com.apple.CallHistoryPluginHelper.plist
      [killed] com.apple.spindump_agent.plist
      2 processes killed due to memory pressure
    Problem System Launch Daemons: ℹ️
      [killed] com.apple.ctkd.plist
      [killed] com.apple.periodic-monthly.plist
      [killed] com.apple.wdhelper.plist
      [killed] com.apple.xpc.smd.plist
      4 processes killed due to memory pressure
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist [Support]
    User Launch Agents: ℹ️
      [loaded] com.google.keystone.agent.plist [Support]
    User Login Items: ℹ️
      iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
      Garmin ANT Agent UNKNOWN (missing value)
      Google Drive Application (/Applications/Google Drive.app)
    Internet Plug-ins: ℹ️
      Flip4Mac WMV Plugin: Version: 3.2.0.16   - SDK 10.8 [Support]
      FlashPlayer-10.6: Version: 16.0.0.235 - SDK 10.6 [Support]
      QuickTime Plugin: Version: 7.7.3
      Flash Player: Version: 16.0.0.235 - SDK 10.6 [Support]
      Default Browser: Version: 600 - SDK 10.10
      GarminGpsControl: Version: 4.1.0.0 Release - SDK 10.7 [Support]
      Silverlight: Version: 5.1.10411.0 - SDK 10.6 [Support]
    3rd Party Preference Panes: ℹ️
      Flash Player  [Support]
      Flip4Mac WMV  [Support]
    Time Machine: ℹ️
      Skip System Files: NO
      Auto backup: YES
      Volumes being backed up:
      Macintosh HD: Disk size: 249.78 GB Disk used: 101.08 GB
      Destinations:
      Untitled [Local]
      Total size: 499.76 GB
      Total number of backups: 4
      Oldest backup: 2014-11-25 13:24:11 +0000
      Last backup: 2015-01-01 17:22:28 +0000
      Size of backup disk: Adequate
      Backup size 499.76 GB > (Disk used 101.08 GB X 3)
    Top Processes by CPU: ℹ️
          10% WindowServer
          6% DashboardClient
          3% Google Drive
          1% fontd
          0% AppleSpell
    Top Processes by Memory: ℹ️
      180 MB softwareupdated
      155 MB com.apple.WebKit.WebContent
      133 MB Mail
      120 MB ocspd
      103 MB Safari
    Virtual Memory Information: ℹ️
      476 MB Free RAM
      1.48 GB Active RAM
      1.11 GB Inactive RAM
      842 MB Wired RAM
      170.31 GB Page-ins
      822 MB Page-outs
    Diagnostics Information: ℹ️
      Jan 10, 2015, 07:56:41 AM /Library/Logs/DiagnosticReports/discoveryd_2015-01-10-075641_[redacted].crash
      Jan 9, 2015, 05:39:38 PM /Library/Logs/DiagnosticReports/discoveryd_2015-01-09-173938_[redacted].crash
      Jan 9, 2015, 03:11:58 PM /Library/Logs/DiagnosticReports/discoveryd_2015-01-09-151158_[redacted].crash
      Jan 7, 2015, 10:05:46 PM /Library/Logs/DiagnosticReports/discoveryd_2015-01-07-220546_[redacted].crash

  • Hp pavilion crashed and auto repair cannot fix. operating system is vista. help

    My HP Pavilion dv7-1020us started to struggle when I tried to download live video of the US Open  tennis final. I eventually gave up on this  because it kept crashing. two days later it crashed permanently and auto repair cannot fix it. Any suggestions?

    Hi
    Please find the link given below might help you to fix your issue.
    Resolving No Sound or Audio Problems in Windows 7
    Let us know how it goes!
    "I work for HP."
    ****Click the (purple thumbs up icon in the lower right corner of a post) to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    Regards
    Manjunath

  • How do i repair or recover data from a corrupt USB external hard drive that does not show up on my Mac desktop or disk utility

    How do i repair or recover data from a corrupt USB external hard drive that does not show up on my Mac desktop or disk utility?
    Last night i was using my external hard drive, for some reason the folder just closed and i couldn't find it on my desktop.
    After googling solutions, i found it in the disk utilities, i clicked on the 'repair' button many times, but it said the 'error...' message.
    So i ejected it to try again, now when i connect the USB external hard drive it doesn't show up on my desktop or disk utilities.
    I really just want to either repair or recover the data on it because it literally has everything (documents, work files, photos etc) on it,
    I downloaded an application to recover my files but it needs the USB to at least show up.recognise it which mine doesn't.
    I know i should've backed it up on another USB, this definitely teaches me for next time to back up all my files.
    Are the files lost forever or can i recover them by going to a shop or using a software?

    Thank you for responding.
    This might sound stupid since i'm not really knowledgeable with Macs,
    but since all my files were moved from my mac computer to the external hard drive,
    is it possible to recover those files through my Mac - like recovering deleted files? 

  • Pages 08 fonts- problems with Arial, Times New Roman - how do I repair them?

    Pages 08 fonts- problems with Arial, Times New Roman - how do I repair them?
    Using 10.6.8 on MacBook Pro
    Mikeaaa

    I am running Snow Leopard. Transferring the same texts to TextEdit has no problems, so this is a Pages problem, I think.  Corruption of Times New Roman and Arial fonts, I suspect, but where? and what do I do about it? I just need to be pointed to a source of advice, I think.
    Thanks
    Mikeaaa

  • Portal Master-detail form how to auto assign detail record sequence number

    Portal Master-detail form how to auto assign detail record sequence number.Please help me?

    You can just read the following section
    Can I specify a sequence number generator as the default value for a form column?
    Yes. Enter the following in the "default value" field for the column:
    #<schema name>.<sequence name>.nextval
    where <schema name> is the name of the schema containing the sequence, and <sequence name> is the name of the sequence. The entry is preceded by a "#".
    For example, if the schema name is "SCOTT", and the sequence name is "CUSTOMER_SEQ", the default value entry is:
    #SCOTT.CUSTOMER_SEQ.NEXTVAL
    same way you can do for master - detail form.
    for more information on forms please refer the following URL.
    http://otn.oracle.com/products/iportal/htdocs/portal_faq.htm#BuildingApplications
    hope it helps.

  • How can I repair damaged pdf files?

    I have several hundreds of damaged pdf files and want to repair them. I need to know how to repair them, for example with a software!

    Hello Sukrit,
    thank you for your reply!
    I have deleted the PDF Files and needed to recover them. The size will be shown, but I can't open all of them.
    I would like to recover them again or change them again to PDF files, if possible.
    With regards,
    Stephan
    Von meinem iPad gesendet
    Am 24.04.2015 um 15:41 schrieb "sukritd15" <[email protected]>:
    How can I repair damaged pdf files?
    created by sukritd15 in PDF Forms - View the full discussion
    Hi Stephan ,
    Acrobat is capable of repairing the damaged PDF' ,however it depends on the requirement as to how do you want to repair them.
    There could be several reasons that can damage a PDF.
    We need to know the cause that has damaged those PDF' and how exactly you want to repair them in order to assist you accordingly .
    Regards
    Sukrit Dhingra
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7474818#7474818 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7474818#7474818
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in PDF Forms by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • I have an Iphone 4s and i can't make a connection to my mac and other devices via bluetooth! Why is this a problem and how can i repair it?

    I have an Iphone 4s and i can't make a connection to my mac and other devices via bluetooth! Why is this a problem and how can i repair it?

    "I have an Iphone 4s and i can't make a connection to my mac and other devices via bluetooth! ":
    That is correct.
    "Why is this a problem and how can i repair it?"
    Becasue this has never been a feature of iphone/ipod/ipad.  There is nothing to repair.

  • How do I repair the LCD backlight?

    I'm in the middle of a fiasco with my iMac (read all about it here: http://discussions.apple.com/thread.jspa?threadID=822352&tstart=0). Basically I sent the computer off for repair of the power supply and got it back with a non-functioning LCD.
    So it appears that the backlight is out. Using a flashlight at an angle, I can see the entire screen image (my desktop and all the icons). In normal light the screen looks black.
    The question is, how do I repair it? I opened the computer and found nothing obvious wrong. There is a four inch by one inch plastic thing located just below the DVD drive with two wires going to the LCD, and the lower wire seemed like it had a loose connection. I did not pull the guts completely out to access the LCD.
    I would like to fix this myself if I can be sure of the problem. I live 100 miles away from an Apple service center, so I would have to UPS it to them. CompUSA, which did the power supply repair, said I would need a whole new LCD panel for $750. He actually said that he didn't know what was wrong with it, and he would have to start replacing parts at my expense until he found what worked. The LCD panel was to be the first try (after a free power supply and logic board from the repair extension program).

    I found the problem and repaired it myself. The inverter was bad, and I found a used one on ebay for $39. The computer is not in warranty.
    Apple Tech support and the Apple Stores both said that for iMacs, they do NOT accept shipments and require in-person, carry-in service to Apple Stores. Third-party service centers (e.g. CompUSA) may allow mail-in service.
    I'm going to get Apple Care with my next iMac, but I don't like the fact that I will have to get service from an "authorized" third-party service center that honors Apple warranties (e.g. CompUSA). I would prefer Apple service, but 4+ hour drives each way are out of the question.

  • How do I repair a scratch on my laptop?

    How do I repair a scratch on my laptop?

    If its on the alloy casing, you DONT.
    Live with the "beauty mark".   As someone with a fair amount of metal polishing skills over 20 years...., I can tell you there is nothing more absurdly 'painful' than removing scratches from MATTE ALUMINUM.
    Remove a scratch off metal? EASY
    But.......then then have to blend the sanding out,...then you have to raise the finish and then LOWER IT to match the matte finish, which is absurdly HARD.
    If you try to buff / sand etc. it out, youll make a small spot look like a giant eyesore.
    Only options are:
    A: pay for a replacement bottom plate or (i dont know where your scratch is) unibody (too expensive really)
    B: live with the scratch
    C: put a sticker over it

  • I rented a movie and it appears in the video app, but it did not fully download. It does not appear in downloads how do I repair the file?

    I rented a movie and it appears in the video app, but it did not fully download. It does not appear in downloads how do I repair the file?

    Did you download it using iTunes for Windows, or did you download it directly to an iOS device?
    If you can't find the movie you downloaded on your iPad, iPhone or iPod Touch, check inside your Videos App

  • I can't burn a dvd using any method, Idvd tells me that my super drive is missing, dvd studio pro quits when i click burn and disk utility keeps spitting the disk out when i click burn and enter the disk??? how do i repair my superdrive for imac

    I can't burn a dvd using any method, idvd tells me that my super drive is missing, dvd studio pro quits when i click burn and disk utility keeps spitting the disk out when I click burn and enter the disk??? how do i repair my superdrive for imac, or how do I do whatever I need to do to get it working: I have already tried using a lens cleaning cd and also restored my nvram or something i forget what it was called but i restarted my computer holding down  command+optoion+p+r and still nothing???
    Free solutions are the best, although if I have to pay I will, I would prefer to not have to buy an external burner if possible and already know that is an option so please don't give me that answer... thank you for any help you can give

    Unless your iMac is still covered by AppleCare, get an external DVD burner.
    You can get perfectly good ones from Amazon for less than $40.

  • How do i repair a corrupt hard drive and i lost my install disk

    My Macbook started acting up....when rebooting there was a flashing file folder with a ? inside. Finally got to reboot, ran Disk Verfiy and my hard drive is corrupt. We just moved and I have no install disc. How do I repair my hard drive?

    With no install drive and a potentially flaky boot drive there is no guarantee of success.  Here's some schemes you can try.
    1. Boot in safe mode.  I believe it does a fsck (file system check) of the boot drive.
    2. Related to 1.
    Resolve startup issues and perform disk maintenance with Disk Utility and fsck
    3. Ggt yourself an external drive and hope you can clone the boot drive to it using Carbon Copy Cloner (or Super Duper).  Then boot from the external and try to repair the original boot drive.
    Of course I shouldn't have to say that you should always have a backup (backups) of your drives anyhow.
    4. Contact apple to try to replace your installer dvds.

  • I installed Lion online and i ran disk repair and found that i needed to do a repair  but i have no start up disk.  How do i repair without burning a disk?

    I installed Lion online and i ran disk repair and found that i needed to do a repair  but i have no start up disk.  How do i repair without burning a disk?

    Lion creates a Recovery partition on your harddrive. You will need to boot from startup.
    click here
    http://support.apple.com/kb/HT4718

  • How do I repair a disk that's OK?

    I'm trying to do a remote install, and it fails, telling me that the Macintosh HD needs to be repaired. But when I verify the HD, Disk Utility tells me that the disk is OK. How do I repair a disk that's OK?
    Here's the context. I want to install Lion on a MacBook Pro (“MBP”) that’s currently running Leopard. Apple says to install Snow Leopard and then get Lion from the App Store. So I bought a Snow Leopard install disk and thereby discovered that my MBP’s SuperDrive is no longer working. Had I known, I could instead have bought Lion on a flash drive, but I’ve already paid for the install disk. I’ve also got an eMac running Leopard, but I don’t have a FireWire 6-pin to 6-pin cable, so can’t use target disk mode. So I’m trying a remote install.
    To remote install, I put the DVD into the eMac and turn on DVD Sharing. Back on the MBP, I use Terminal to enable ODS:
    $ defaults write com.apple.NetworkBrowser EnableODiskBrowsing -bool true
    $ defaults write com.apple.NetworkBrowser ODSSupported -bool true
    and reboot, and now I get a Remote Disc in the MBP’s Finder Sidebar Devices. I select the Remote Disc and the eMac shows up in the Finder window. I double click the eMac icon, and the remote Mac OS X Install DVD opens in the Finder window. I double click the installer and it starts running, so I’ve succeeded in starting a remote install. The problem is that the installer quickly fails with this message:
    The disk “Macintosh HD” needs to be repaired.
    Go to the computer with the Mac OS X Install DVD, open Remote Install Mac OS X (located in the Utilities folder in the Applications folder) and follow the onscreen instructions for restarting your computer using the DVD.
    When the Mac OS X Installer opens, follow the onscreen instructions to install Mac OS X. During installation, the Installer repairs the disk automatically.
    I think what it’s suggesting is that I boot my MBP from the remote disk. (Right?) I think that won’t work for me because I’ve got a MacBook Pro rather than a MacBook Air or Mac Mini, which are the only types that can boot from a remote disk. (Right?) Instead I thought I’d do whatever repair is necessary to the MBP’s Macintosh HD and then try the remote install again. So I ran Disk Utility on the MBP to verify the Macintosh HD, but it succeeds with “The volume Macintosh HD appears to be OK.”
    I can’t remote install until the disk is repaired. But how can I repair a non-existent problem?

    Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    Booting From An OS X Installer Disc
      1. Insert OS X Installer Disc into the optical drive.
      2. Restart the computer.
      3. Immediately after the chime press and hold down the "C" key.
      4. Release the key when the spinning gear below the dark gray Apple
          logo appears.
      5. Wait for installer to finish loading.

Maybe you are looking for

  • Gma X3100 graphic card

    Hello everyone, I recently purchased an external monitor (Dell ST2220L, with VGA, DVI D and HDMI plugs) to use with my macbook early 2008 (in Snowleopard 10.6.8) which has the Intel GMA X3100 graphics processor. My professionnal PC, has an Intel HD f

  • 4 questions I have not found the answer to yet...

    1. What is Iphoto doing internally to create more vivid photos that I'm unable to reproduce in other photo management applications? When I import a photo from my camera to Iphoto it looks vivid and great. I then export that image from Iphoto to my de

  • IOS universal support and ASC 2.0. Will it impact Flex Mobile projects?

    Hello, Regarding the latest release notes for AIR 16, it says "The legacy compiler is not (and will not be) compatible with iOS 64-bit.[...] it will be removed with version 16 of the AIR SDK" I am a bit lost with what it means for Flex Mobile (4.6 or

  • My i phone keeps switching itself off and on

    my iphone keeps switching itself on and off

  • MT940

    Hi all: Can someone please provide me the steps on how to configure the MT940 FEBA process. I have a sample file but when i upload thru ff.5, the error is "Termination in statement no. 00000 of acct  ; closing record 62F missing" Does anyone know wha