• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Package skips a component... (solved)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Package skips a component... (solved)


  • Subject: Re: Package skips a component... (solved)
  • From: Fritz Anderson <email@hidden>
  • Date: Tue, 12 Aug 2008 14:40:57 -0500

Earlier I asked why Installer.app might skip installing a /tmp subdirectory. I've since come to the answer, and I leave it as a conceptual-block buster for readers of the archive.

This happened when the receipt file (/Library/Receipts/<package name>.pkg) from a previous installation was still present. My /tmp subdirectory was in both bills of materials, and Installer.app judged it was not necessary to deliver a new copy, even though the old one was not in fact present.

Creating a new package "solved" the problem -- once -- because the package had a new name. Once it had run, a receipt was created, and the new package had the problem as well.

The solution, in my case where I never really did updates, and could afford complete reinstallations in every case, is to delete the receipt file at the beginning of the postflight script. If an old receipt had been present, items would still be skipped, but the cleanup will ensure that nothing will be skipped at the next run of the package.

This list had addressed more or less the same problem earlier, as I found out once I understood the terms to search for. I suppose my requests for help were too obvious to respond to.

	— F

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Package skips a component... (From: Fritz Anderson <email@hidden>)
 >Re: Package skips a component... (From: Fritz Anderson <email@hidden>)
 >Re: Package skips a component... (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: postinstall scripts not executing
  • Next by Date: Re: postinstall scripts not executing
  • Previous by thread: Re: Package skips a component...
  • Next by thread: Re: Package skips a component...
  • Index(es):
    • Date
    • Thread