Назад | Перейти на главную страницу

Почему обновление программного обеспечения Mac OS X не работает, когда машина использует Active Directory?

ИТ-отдел моей компании в основном работает под управлением Windows, и для повышения безопасности они меняют способ входа компьютеров Macintosh в нашу внутреннюю сеть, чтобы они использовали Active Directory, как и их аналоги в Windows.

Мне предоставили административное разрешение на моем Mac, и я могу делать большую часть того, что раньше мог делать в плане аутентификации при установке программного обеспечения.

Однако есть проблема: функция «Обновление ПО» не работает. Когда я пытаюсь заставить Mac выполнить обновления программного обеспечения из меню Apple, появляется обычное окно со списком того, что необходимо обновить; Я могу выбрать, что обновить, и нажать кнопку «Обновить», но ничего не происходит.

Он не запрашивает аутентификацию, как раньше, компьютер не выполняет загрузку или установку (иногда меня просят согласиться с лицензионными соглашениями для iTunes).

Я могу загрузить обновления по отдельности и установить их без проблем, но автоматическое обновление не выполняется. Я бы предпочел использовать пункт меню «Обновление ПО», как раньше: он намного удобнее.

Есть предложения, как я могу это исправить?

РЕДАКТИРОВАТЬ 19 ноября 2009 г., 10:09 EST: Я отправил этот вопрос в службу поддержки Apple Mac OS X Snow Leopard Форум.

ИЗМЕНИТЬ 19 ноября 2009 г., 12:39 EST:Да, команда Терминала «sudo softwareupdate --install --all» работает безупречно. Я хочу избежать этого, так как мои коллеги обычно не чувствуют себя комфортно на Mac.

Я также попробовал предложение Chealion удалить «~ / Library / Preferences / com.apple.SoftwareUpdate.plist» и «/Library/Preferences/com.apple.SoftwareUpdate.plist», обновление программного обеспечения по-прежнему не удается.

Однако я получал диагностические сообщения в консоли (ниже). Я удалил квитанции пакета MS Office и проверил suhelperd (Software Update Helper Daemon?); похоже, что suhelperd дает сбой, и это объясняет Зачем это не работает. Я отправил отчет об ошибке в Apple (радар: // 7408619).

Вот диагностические сообщения консоли:

11/19/09 12:36:44 PM    com.apple.suhelperd[66829]  terminate called after throwing an instance of 'NSException'
11/19/09 12:36:47 PM    com.apple.launchd[1]    (com.apple.suhelperd[66829]) Job appears to have crashed: Abort trap
11/19/09 12:36:48 PM    com.apple.ReportCrash.Root[66830]   2009-11-19 12:36:48.275 ReportCrash[66830:2703] Saved crash report for suhelperd[66829] version ??? (???) to /Library/Logs/DiagnosticReports/suhelperd_2009-11-19-123648_localhost.crash
11/19/09 12:36:54 PM    com.apple.launchd[1]    (com.apple.suhelperd) Throttling respawn: Will start in 1 seconds
11/19/09 12:36:55 PM    com.apple.suhelperd[66836]  terminate called after throwing an instance of 'NSException'
11/19/09 12:36:55 PM    com.apple.launchd[1]    (com.apple.suhelperd[66836]) Job appears to have crashed: Abort trap
11/19/09 12:36:56 PM    com.apple.ReportCrash.Root[66830]   2009-11-19 12:36:56.017 ReportCrash[66830:2f03] Saved crash report for suhelperd[66836] version ??? (???) to /Library/Logs/DiagnosticReports/suhelperd_2009-11-19-123655_localhost.crash
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_automator.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_automator_workflow.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_autoupdate.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_clipart.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_core.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_dock.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_entourage.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_entourage_help_std.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_equationeditor.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_errorreporting.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_excel.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_excel_help_std.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_fonts.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_graph.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_helpviewer.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_launch.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_ooxml.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_orgchart.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_powerpoint.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_powerpoint_help_std.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_proofing_brazilian.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_proofing_danish.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_proofing_dutch.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_proofing_english.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_proofing_finnish.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_proofing_french.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_proofing_german.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_proofing_italian.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_proofing_japanese.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_proofing_norwegian.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_proofing_portuguese.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_proofing_spanish.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_proofing_swedish.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_required.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_silverlight.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_sounds.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_word.pkg
11/19/09 12:36:58 PM    Software Update[66826]  PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2008_en_word_help_std.pkg
11/19/09 12:37:26 PM    com.apple.suhelperd[66839]  terminate called after throwing an instance of 'NSException'
11/19/09 12:37:26 PM    com.apple.launchd[1]    (com.apple.suhelperd[66839]) Job appears to have crashed: Abort trap
11/19/09 12:37:26 PM    com.apple.ReportCrash.Root[66830]   2009-11-19 12:37:26.929 ReportCrash[66830:2b07] Saved crash report for suhelperd[66839] version ??? (???) to /Library/Logs/DiagnosticReports/suhelperd_2009-11-19-123726_localhost.crash

А вот отчет о сбое suhelperd:

Process:         suhelperd [66839]
Path:            /System/Library/PrivateFrameworks/SoftwareUpdate.framework/Versions/A/Resources/suhelperd
Identifier:      suhelperd
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  launchd [1]

Date/Time:       2009-11-19 12:37:26.473 -0500
OS Version:      Mac OS X 10.6.2 (10C540)
Report Version:  6

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Application Specific Information:
abort() called
*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSCFArray objectAtIndex:]: index (0) beyond bounds (0)'
*** Call stack at first throw:
(
    0   CoreFoundation                      0x00007fff859a9444 __exceptionPreprocess + 180
    1   libobjc.A.dylib                     0x00007fff8787e0f3 objc_exception_throw + 45
    2   CoreFoundation                      0x00007fff859a9267 +[NSException raise:format:arguments:] + 103
    3   CoreFoundation                      0x00007fff859a91f4 +[NSException raise:format:] + 148
    4   Foundation                          0x00007fff855da080 _NSArrayRaiseBoundException + 122
    5   Foundation                          0x00007fff8553cb81 -[NSCFArray objectAtIndex:] + 75
    6   Admin                               0x00007fff8107920e +[User(UserPrivate) _userWithInfo:attributes:] + 71
    7   Admin                               0x00007fff81080d6b +[User findUserByID:searchParent:] + 404
    8   suhelperd                           0x0000000100001274 0x0 + 4294972020
    9   suhelperd                           0x0000000100002240 0x0 + 4294976064
    10  suhelperd                           0x00000001000053b1 0x0 + 4294988721
    11  suhelperd                           0x00000001000044b3 0x0 + 4294984883
    12  suhelperd                           0x0000000100004154 0x0 + 4294984020
    13  libSystem.B.dylib                   0x00007fff83eb60d8 mach_msg_server + 357
    14  suhelperd                           0x00000001000036eb 0x0 + 4294981355
    15  suhelperd                           0x0000000100002a1f 0x0 + 4294978079
    16  suhelperd                           0x0000000100001080 0x0 + 4294971520
)


Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib               0x00007fff83e86fe6 __kill + 10
1   libSystem.B.dylib               0x00007fff83f27e32 abort + 83
2   libstdc++.6.dylib               0x00007fff873cf5d2 __tcf_0 + 0
3   libobjc.A.dylib                 0x00007fff87881d29 _objc_terminate + 100
4   libstdc++.6.dylib               0x00007fff873cdae1 __cxxabiv1::__terminate(void (*)()) + 11
5   libstdc++.6.dylib               0x00007fff873cdb16 __cxxabiv1::__unexpected(void (*)()) + 0
6   libstdc++.6.dylib               0x00007fff873cdbfc __gxx_exception_cleanup(_Unwind_Reason_Code, _Unwind_Exception*) + 0
7   libobjc.A.dylib                 0x00007fff8787e192 object_getIvar + 0
8   com.apple.CoreFoundation        0x00007fff859a9267 +[NSException raise:format:arguments:] + 103
9   com.apple.CoreFoundation        0x00007fff859a91f4 +[NSException raise:format:] + 148
10  com.apple.Foundation            0x00007fff855da080 _NSArrayRaiseBoundException + 122
11  com.apple.Foundation            0x00007fff8553cb81 -[NSCFArray objectAtIndex:] + 75
12  com.apple.framework.Admin       0x00007fff8107920e +[User(UserPrivate) _userWithInfo:attributes:] + 71
13  com.apple.framework.Admin       0x00007fff81080d6b +[User findUserByID:searchParent:] + 404
14  suhelperd                       0x0000000100001274 0x100000000 + 4724
15  suhelperd                       0x0000000100002240 0x100000000 + 8768
16  suhelperd                       0x00000001000053b1 0x100000000 + 21425
17  suhelperd                       0x00000001000044b3 0x100000000 + 17587
18  suhelperd                       0x0000000100004154 0x100000000 + 16724
19  libSystem.B.dylib               0x00007fff83eb60d8 mach_msg_server + 357
20  suhelperd                       0x00000001000036eb 0x100000000 + 14059
21  suhelperd                       0x0000000100002a1f 0x100000000 + 10783
22  suhelperd                       0x0000000100001080 0x100000000 + 4224

Thread 1:  Dispatch queue: com.apple.libdispatch-manager
0   libSystem.B.dylib               0x00007fff83e51bba kevent + 10
1   libSystem.B.dylib               0x00007fff83e53a85 _dispatch_mgr_invoke + 154
2   libSystem.B.dylib               0x00007fff83e5375c _dispatch_queue_invoke + 185
3   libSystem.B.dylib               0x00007fff83e53286 _dispatch_worker_thread2 + 244
4   libSystem.B.dylib               0x00007fff83e52bb8 _pthread_wqthread + 353
5   libSystem.B.dylib               0x00007fff83e52a55 start_wqthread + 13

Thread 2:
0   libSystem.B.dylib               0x00007fff83e529da __workq_kernreturn + 10
1   libSystem.B.dylib               0x00007fff83e52dec _pthread_wqthread + 917
2   libSystem.B.dylib               0x00007fff83e52a55 start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00007fff707d7298  rcx: 0x00007fff5fbff868  rdx: 0x0000000000000000
  rdi: 0x0000000000010517  rsi: 0x0000000000000006  rbp: 0x00007fff5fbff880  rsp: 0x00007fff5fbff868
   r8: 0x00007fff707da9e0   r9: 0x0000000000000063  r10: 0x00007fff83e83026  r11: 0x0000000000000202
  r12: 0x00007fff85a2dca1  r13: 0x0000000000000000  r14: 0x00007fff70bea228  r15: 0x00007fff5fbffb10
  rip: 0x00007fff83e86fe6  rfl: 0x0000000000000202  cr2: 0x00007fff70e3afd0

Похоже, что suhelperd дает сбой, и это объясняет, почему он не работает. Я отправил отчет об ошибке в Apple (радар: // 7408619).

У меня была такая же проблема, и проблема возникла из-за того, что я не использовал мобильный аккаунт. Это исправило включение мобильных учетных записей для пользователей сети.

http://discussions.apple.com/thread.jspa?threadID=2140715

Контролирует ли ваша организация, какие обновления программного обеспечения доступны через MCX?

Вы можете узнать мой бег mcxquery -u shortname из Терминала, чтобы увидеть, установлены ли какие-либо предпочтения.

Другой метод направления обновления программного обеспечения на другой сервер - установка CatalogURL в ~/Library/Preferences/com.apple.SoftwareUpdate.plist (для пользователя) и / или /Library/Preferences/com.apple.SoftwareUpdate.plist (что повлияет как на пользователя, использующего графический интерфейс, так и при запуске с использованием sudo в командной строке). Вы можете попробовать удалить файлы (они будут воссозданы при необходимости) или, если вам интересно узнать их настройки, вы можете открыть файлы в средстве просмотра списка свойств (часть инструментов разработчика) или в командной строке. defaults read CatalogURL com.apple.SoftwareUpdate и defaults read CatalogURL /Library/Preferences/com.apple.SoftwareUpdate.plist

В качестве альтернативы, возможно, они заблокировали серверы обновлений программного обеспечения Apple в сети - работает ли это, когда они не в их сети?