11 Replies Latest reply: Feb 3, 2013 11:04 AM by Leeppolis
Leeppolis Level 1 Level 1 (0 points)

It's a lot of weeks that I'm trying to update my OSX installation.

I have a list of suggested software updates:

 

- Safari 6.0.2

- Canon software update 2.11

- iTunes 11.1

 

But everytime I try to update, I receive the following error:

 

NSURLErrorDomain error -1012

 

I am correctly able to update any single application, but cannot install "official" updates.

Any idea?

Thank you in advance,

Simone


MacBook Pro, OS X Mountain Lion (10.8.2)
  • 1. Re: Unable to update OSX NSURLErrorDomain error -1012
    Linc Davis Level 10 Level 10 (118,430 points)

    If you have more than one user account, these instructions must be carried out as an administrator.

    Launch the Console application in any of the following ways:

    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

    ☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.

    Select "/var/log/install.log" from the file list. Then select the messages from the last installation or update attempt, starting from the time when you initiated it. If you're not sure when that was, start over and note the time. Copy them (command-C) to the Clipboard. Paste (command-V) into a reply to this message.

    If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.

    When posting a log extract, be selective. Don't post more than is requested.

    Please do not indiscriminately dump thousands of lines from the log into this discussion.

     

    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.

  • 2. Re: Unable to update OSX NSURLErrorDomain error -1012
    Leeppolis Level 1 Level 1 (0 points)

    Thank you for your reply, here is the result of a tentative update:

     

     

     

    Feb  1 22:55:13 simone.local Software Update[24123]: No package specifiers to install for products (

                  "<SULocalProduct: 041-7719>",

                  "<SULocalProduct: 041-8081>",

                  "<SULocalProduct: zzzz041-8972>"

              )

    Feb  1 22:55:13 simone.local Software Update[24123]: SUAppStoreUpdateController: start install session with 041-8081, 041-7719, zzzz041-8972

    Feb  1 22:55:13 simone.local Software Update[24123]: SUAppStoreUpdateController: session started before a successful scan: starting filtered scan

    Feb  1 22:55:13 simone.local Software Update[24123]: SoftwareUpdate: Scan for client pid 24123 (/Applications/App Store.app/Contents/MacOS/App Store)

    Feb  1 22:55:13 simone.local Software Update[24123]: SoftwareUpdate: Using filter keys 041-8081, 041-7719, zzzz041-8972

    Feb  1 22:55:14 simone.local Software Update[24123]: Failed Software Update - Refusing invalid certificate from host: swscan.apple.com

    Feb  1 22:55:15 --- last message repeated 1 time ---

    Feb  1 22:55:15 simone.local Software Update[24123]: SoftwareUpdate: Error encountered in scan: Error Domain=NSURLErrorDomain Code=-1012 "Impossibile completare l'operazione. (NSURLErrorDomain errore -1012.)" UserInfo=0x7fcbc8405ff0 {NSErrorFailingURLKey=https://swscan.apple.com/content/catalogs/others/index-mountainlion-lion-snowleo pard-leopard.merged-1.sucatalog, NSErrorFailingURLStringKey=https://swscan.apple.com/content/catalogs/others/index-mountainlion-lion-snowleo pard-leopard.merged-1.sucatalog}

    Feb  1 22:55:15 simone.local Software Update[24123]: SUAppStoreUpdateController: scan (f=1, c=0, p=0, r=1) got error Impossibile completare l'operazione. (NSURLErrorDomain errore -1012.)

    Feb  1 22:55:15 simone.local Software Update[24123]: SUAppStoreUpdateController: cancelling session because scan data is unavailable

    Feb  1 22:55:15 simone.local Software Update[24123]: SUAppStoreUpdateController: pre-session filtered scan failed with Impossibile completare l'operazione. (NSURLErrorDomain errore -1012.)

  • 3. Re: Unable to update OSX NSURLErrorDomain error -1012
    Linc Davis Level 10 Level 10 (118,430 points)
  • 4. Re: Unable to update OSX NSURLErrorDomain error -1012
    Leeppolis Level 1 Level 1 (0 points)

    Thank you for your reply, but no way, it doesn't work...

  • 5. Re: Unable to update OSX NSURLErrorDomain error -1012
    Linc Davis Level 10 Level 10 (118,430 points)

    Select the text below (not including the blank space at the end of the line), then copy it to the Clipboard (command-C):

      

    swscan.apple.com

     

    Launch the Network Utility application in any of the following ways:

     

    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

     

    ☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

     

    ☞ Open LaunchPad. Click Utilities, then Network Utility in the icon grid.

     

    Select the Lookup tab and paste (command-V) into the address field. Press return. Post the output that appears below – the text, please, not a screenshot.

  • 6. Re: Unable to update OSX NSURLErrorDomain error -1012
    Leeppolis Level 1 Level 1 (0 points)

    Thank you again, here is the result:

     

    Lookup avviato...

     

    Trying "swscan.apple.com"

    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9363

    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 8, ADDITIONAL: 8

     

    ;; QUESTION SECTION:

    ;swscan.apple.com.                    IN          ANY

     

    ;; ANSWER SECTION:

    swscan.apple.com.          1798          IN          CNAME          p01-swscan.apple.com.akadns.net.

     

    ;; AUTHORITY SECTION:

    apple.com.                    48723          IN          NS          nserver.apple.com.

    apple.com.                    48723          IN          NS          adns2.apple.com.

    apple.com.                    48723          IN          NS          adns1.apple.com.

    apple.com.                    48723          IN          NS          nserver4.apple.com.

    apple.com.                    48723          IN          NS          nserver3.apple.com.

    apple.com.                    48723          IN          NS          nserver6.apple.com.

    apple.com.                    48723          IN          NS          nserver5.apple.com.

    apple.com.                    48723          IN          NS          nserver2.apple.com.

     

    ;; ADDITIONAL SECTION:

    adns1.apple.com.          64007          IN          A          17.151.0.151

    adns2.apple.com.          62527          IN          A          17.151.0.152

    nserver.apple.com.          62527          IN          A          17.254.0.50

    nserver2.apple.com.          62530          IN          A          17.254.0.59

    nserver3.apple.com.          64007          IN          A          17.112.144.50

    nserver4.apple.com.          62609          IN          A          17.112.144.59

    nserver5.apple.com.          62527          IN          A          17.171.63.30

    nserver6.apple.com.          62527          IN          A          17.171.63.40

     

    Received 384 bytes from 83.103.25.250#53 in 11 ms

  • 7. Re: Unable to update OSX NSURLErrorDomain error -1012
    Linc Davis Level 10 Level 10 (118,430 points)

    From the menu bar, select

      

    System Preferences Network

      

    If the preference pane is locked, click the lock icon in the lower left corner and enter your password to unlock it. Then click the Advanced button and select the Proxies tab. If any proxy options are selected, deselect them. You don’t need to change the bypass or FTP settings. Click OK and then Apply. Test. The result may be that you can't connect to any web server, so be prepared to restore the previous settings if that happens.

  • 8. Re: Unable to update OSX NSURLErrorDomain error -1012
    Leeppolis Level 1 Level 1 (0 points)

    No proxies selected or active...

  • 9. Re: Unable to update OSX NSURLErrorDomain error -1012
    Linc Davis Level 10 Level 10 (118,430 points)

    Please read this whole message before doing anything.

    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.

    The purpose of the test is to determine whether your problem is caused by third-party system modifications that load automatically at startup or login.

     

    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
    • Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
    • When you see the gray Apple logo, release the shift key.
    • If you are prompted to log in, type your password, and then hold down the shift key again as you click  Log in.
    *Note: If FileVault is enabled under OS X 10.7 or later, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode.

     

    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.  The next normal boot may also be somewhat slow.

    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.

     

    Test while in safe mode. Same problem?

     

    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • 10. Re: Unable to update OSX NSURLErrorDomain error -1012
    Leeppolis Level 1 Level 1 (0 points)

    Hey, thank you for your help and patience!

    While in safe mode, the error changed.

    Unfortunately, I'm using an italian version of osx, but the error message can be translated into something like:

     

    An error occourred

    An error occourred during the installation of the updates (103)

     

    I'm rebooting now to try again.

    S.

  • 11. Re: Unable to update OSX NSURLErrorDomain error -1012
    Leeppolis Level 1 Level 1 (0 points)

    Here I am: after rebooting in normal mode, the 3 updates that I was trying to install disappeared from my updates list. They have been replaced by a new update, "raw files compatibility update".

    I tried to install it and...it worked!

    So, I don't know what happened in the meantime... but thank you!