Comments (8)
From [email protected] on May 31, 2010 13:03:50
munki doesn't directly manipulate receipt info in /var/db/receipts; instead it uses pkgutil to do so. I don't
understand how you are having receipts in /var/db/receipts that aren't also in the pkgutil database in Snow
Leopard.
We have been using munki with Snow Leopard since last summer and using pkgutil instead of directly
manipulating the contents of /var/db/receipts has been a successful approach.
from munki.
From [email protected] on May 31, 2010 14:17:26
The entries are in the pkgutil database but still does not get removed unless i use
my patch. Here is the output from one of my pkgs using the 'pkgutil --pkgs' command
pkgutil --pkg-info firefox
package-id: firefox
version: 1
volume: /
location:
install-time: 1275338706
Here is the error i get in ManagedSoftwareUpdate.log :
..
Importing /Library/Receipts/boms/com.apple.pkg.update.security.2009.004.bom...
ERROR: firefox not found in database.
ERROR: Uninstall of Firefox failed.
from munki.
From [email protected] on May 31, 2010 19:26:01
Ok i just finished modifying initDatabase() with the idea you gave me. Hopefully
this fixes the problem we discussed. I tested it on a 10.5 and 10.6 client and it
seemed to work. Since i was having trouble with whitespacing when creating a diff i
decided to paste the function on pastebin @ http://pastebin.com/6mm2SzQr . Let me
know what you think.
Thanks again for help, Dan
from munki.
From [email protected] on June 01, 2010 09:22:40
Thanks.
I'll look at your proposed fix, but I want to avoid importing the receipts twice under Leopard (once from pkgutil
and once from /Library/Receipts/boms) so I may tweak it.
Status: Started
Owner: [email protected]
from munki.
From [email protected] on June 01, 2010 09:51:38
I went with a simpler fix -- it's in Revision 541 http://munki.googlecode.com/svn-history/r541/trunk/code/client/munkilib/removepackages.py jdroque, can you please test?
from munki.
From [email protected] on June 01, 2010 10:34:18
Sure, setting up my munki test environment at work then i'm going to test.
from munki.
From [email protected] on June 01, 2010 13:31:35
Just tested it on my 10.6 client and it worked as expected. Need to test on a 10.5
machine but i'm sure it will work just fine. Thanks for the fix.
from munki.
From [email protected] on June 01, 2010 13:54:31
Setting the issue to fixed based on jdroque's testing.
Status: Fixed
from munki.
Related Issues (20)
- Logic error when processing requires items that fail to download HOT 2
- Minor MSC UI issue - Removing app progress HOT 4
- Option to check for items to install only, 'dry run' HOT 1
- MSC 6.2.1.4599 crashes on macOS 10.13 HOT 18
- munkiimport and munkilib/pkgutils.py crash with packages containing .dist file HOT 13
- Preinstall_alerts not being shown for updated software HOT 3
- Placment of the back button in Managed Software Centre HOT 9
- [Feature Request] - Add a Pkginfo Key to skip update check HOT 2
- security issue: Writing sensitive information into log file HOT 3
- Option to ignore unmanaged preferences HOT 4
- Question: Does munki have a client CLI tool for software installation and update HOT 1
- installable_condition crashes client HOT 10
- Application failing to install HOT 1
- Update Python to Version 3.12 HOT 19
- Improve logging for "could not find unique packages to remove for item_name" warnings HOT 7
- TLS Certificat fΓΌr https://munkibuilds.org/ is not correct HOT 5
- When importing bundle packages in macOS 14.4 RestartAction is set incorrectly HOT 3
- GarageBand Loops Wiki needs updating HOT 5
- BUG: Application info removed from info object during updatecheck and breaks conditions that require said info HOT 2
- catalogs data not being collected in ManagedInstallsInfo after 6.5.1.4661 update HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from munki.