RE: Installer database for 10.6?
RE: Installer database for 10.6?
- Subject: RE: Installer database for 10.6?
- From: David Litwin <email@hidden>
- Date: Mon, 25 Jan 2010 14:06:18 -0800
- Acceptlanguage: en-US
- Thread-topic: Installer database for 10.6?
Thank you, this is just what I was looking for and solves my problem for 10.6.
I am a bit confused though, as when I install on OSX 10.5 I don't see my package added, nor do I need to run --forget. That's fine, but you were implying this would happen with 10.5. Perhaps a later version (I am still on 10.5.5)? It isn't overly important as I can use --forget only if --pkgs lists my app.
Also, the man page has this to say about --forget:
2. The --forget command is a debugging tool and should not be used
routinely. There are better ways to permanently disable upgrade
logic within a package.
I can't seem to find any documentation on what these "better ways" are.
It seems all of the "Software Distribution" page links get redirected right back to the Introduction page:
http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/SoftwareDistribution/Introduction/Introduction.html
So if the answer was there, I can't access it.
Dave
-----Original Message-----
From: Iceberg-Dev [mailto:email@hidden]
Staring with Mac OS X 10.5, files installed through packages are
registered in(to?) a (SQLite) database.
You can access this database through the pkgutil tool.
Usually, when you need to make the OS forget a package got installed,
you use the following command:
sudo pkgutil --forget my.package.identifier
You need to run this as root.
_______________________________________________
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