Announcement: Get Ready for macOS Mojave


With features like Dark Mode, Stacks, and four new built-in apps, macOS Mojave helps you get more out of every click. Prepare for macOS Mojave > https://support.apple.com/macos/mojave

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Question:

Question: Anyone know why I got this Terminal Error? [ERROR] <CPPathUtils.c:526> The device-file for this operating system, 'osx-12.1.0.xml', was not found.

Here is the full text:


[ERROR] <CPPathUtils.c:526> The device-file for this operating system, 'osx-12.1.0.xml', was not found. An attempt to revert to a previous revision of the OS device-file: 'osx-12.0.0.xml' has been made. Please file a Radar report with Apple, on the 'CoreProfile' component, version 'X'.


Appeared after 10.8.1 Friday update while troubleshooting USB/FW issues w/ Mountain Lion.

MacBook Pro, Mac OS X (10.7)

Posted on

Reply
Question marked as Solved
Answer:
Answer:

It's a bug


see update note, bottom of page:

http://osxdaily.com/2012/08/23/os-x-mountain-lion-10-8-1-update-released/



https://discussions.apple.com/thread/4234751?tstart=0

Posted on

There’s more to the conversation

Read all replies

Page content loaded

Sep 3, 2012 9:58 AM in response to mculmore In response to mculmore

My suggestion is to do the following as this is a level 3 error so hence is non critical:


1. Open Terminal.app

2. cd /System/Library/PrivateFrameworks/CoreProfile.framework/Versions/A/Resources/De vices/

3. sudo ln -s osx-12.0.0.xml osx-12.1.0.xml

4. Enter password if asked


By adding a soft symbolic link you fool the purge command into believing the newer file exists. This type of link is non-distructive and hence if the file osx-12.1.0.xml will be overwritten if it is installed with a future update.


Use this at your own risk but it does offer a temporary fix. Its hard to say if the issue is fixed in 10.8.2 we will have to wait to find out. The fix has the benefit of preventing the annoying message about rolling back as the roll back will be done behind the scenes using the link.

Sep 3, 2012 9:58 AM

Reply Helpful

Sep 3, 2012 10:18 AM in response to Luke Collins In response to Luke Collins

Good morning Luke,


Just some clarification on the correct entry in the Terminal:


After opening Terminal, do I copy and paste number 2 above, hit return and then copy and paste number 3 above and hit return again and then if asked for password enter it?


The part of at my risk, as all use of Terminal, makes me want to be exact.


Thanks.

Sep 3, 2012 10:18 AM

Reply Helpful

Sep 3, 2012 10:27 AM in response to mculmore In response to mculmore

Good morning mculmore,


You need to enter number 2. With only a space between cd and the path any other spaces should be removed.


Yes you hit enter and you should be in the directory of osx12.0.0.xml you can see if its there by typing ls and again enter.


The password would be your own password assuming your account is in the admin group for that machine.

Sep 3, 2012 10:27 AM

Reply Helpful

Sep 3, 2012 11:00 AM in response to Luke Collins In response to Luke Collins

Will give it a try. Is there an undo just in case if needed or would running 10.8.1 updater change it back, or would a fresh install of Mountain Lion 10.8 be necessary? Any possible issues from adding, even though non destructive??

Sep 3, 2012 11:00 AM

Reply Helpful

Sep 3, 2012 11:14 AM in response to mculmore In response to mculmore

Yes you can undo this change if you run the following after number 2.


sudo rm osx12.1.0.xml


A fresh install would not be required as it is a basic property of the operating system. I have made the change on my own MBP and have not noticed any negative effects.

Sep 3, 2012 11:14 AM

Reply Helpful

Sep 3, 2012 11:40 AM in response to Luke Collins In response to Luke Collins

OK. To recap:


1. Open Terminal.app

2. Type at cursor:

cd /System/Library/PrivateFrameworks/CoreProfile.framework/Versions/A/Resources/De vices/

3. Press Return

4. Type at cursor:

ls

5. Press Return

6. Type at cursor:

sudo ln -s osx-12.0.0.xml osx-12.1.0.xml

7. Press Return

8. Enter password if asked

9. Done.


Can I then type ls again to verify the change?

Sep 3, 2012 11:40 AM

Reply Helpful

Sep 3, 2012 4:24 PM in response to Luke Collins In response to Luke Collins

Thanks Luke.


I have another question concerning Terminal, can you tell me how to contact you directly via email? It does not belong in this topic and you seem to have a good handle on using Terminal and it's reporting?


Matthew

Sep 3, 2012 4:24 PM

Reply Helpful
User profile for user: mculmore

Question: Anyone know why I got this Terminal Error? [ERROR] <CPPathUtils.c:526> The device-file for this operating system, 'osx-12.1.0.xml', was not found.