如果您希望您的计算机拥有长久而幸福的生活,那么更新您的Mac是必不可少的。(Mac)幸运的是,大多数这些过程在Mac上都是自动化的,您不必担心安装更新(installing updates)。但是,如果出现问题,您将收到“无法在您的计算机上安装 macOS”错误消息,这是您应该担心的事情。
此错误可能是由几个不同的问题引起的。好消息是,它们都很容易修复。了解可能导致“无法在您的计算机上安装 macOS”错误的原因以及如何在您的Mac上解决此问题。
为什么出现无法安装 macOS 错误(Why the macOS Couldn’t Be Installed Error Appears)
macOS 安装失败的原因有很多。您收到此错误的一些最常见原因包括:
- Mac上没有足够的可用空间
- 启动盘问题
- macOS 安装程序文件已损坏
弹出的错误消息通常会在其下方附带一条消息,向您解释发生了什么问题。该消息可能会显示“路径/System/Installation/Packages/OSInstall.mpkg 似乎丢失或损坏”、“验证固件时出错”、“无法卸载卷进行修复”或其他内容。虽然这些消息没有提供太多关于问题所在的详细信息,但它们让您了解无法完成安装过程的哪些阶段。
无论是什么导致错误消息出现在您的Mac上,您都可以按照下面描述的故障排除步骤进行修复。
如何准备 Mac 进行故障排除(How to Prepare Your Mac for Troubleshooting)
在开始对 macOS 安装错误进行故障排除之前,您可能希望保护您的数据并确保在此过程中不会丢失任何重要信息。
最好养成在安装任何主要更新之前备份Mac的习惯。(Mac)主要(Major)的 macOS 更新会影响操作系统中的文件。如果出现问题,您需要抹掉Mac才能修复它,这意味着您将丢失任何不属于最近备份的文件。
您可以在更新电脑之前使用“磁盘工具”或“时间机器”(Time Machine)备份 Mac 。(backup your Mac using Disk Utility)它将保护您的数据安全,并让您有机会从您选择的日期开始恢复重要文件,以防出现问题并且您必须擦除整个Mac。
如何解决错误:无法在您的计算机上安装 macOS(How to Troubleshoot the Error: macOS Couldn’t Be Installed on Your Computer)
备份Mac后,您可以继续解决错误并完成 macOS 更新的安装。由于有很多事情可能会导致您的 macOS 更新出现问题,因此以下任何一种方法都可以解决问题。我们建议您尝试所有这些,从列表顶部最简单和最快的开始。
重新启动 Mac 并重试安装(Restart Your Mac and Retry Installation)
重新启动您的Mac并尝试做刚刚失败的事情可能看起来很愚蠢,但有时您的Mac需要解决的所有问题都是重新启动。
要重新启动计算机,请打开屏幕左上角的Apple 菜单,然后选择(Apple menu)重新启动(Restart)。如果您的 Mac 死机(your Mac’s frozen),您可以使用电源(Power)按钮强制关机,然后重新启动计算机。之后,再次尝试安装,看看它是否有效。
如果它不起作用并且您的 Mac 在重新启动时卡在启动 macOS 安装程序的循环中,您可能需要在安全模式下(Safe Mode)启动,然后才能继续下一步。为此,请按住电源按钮(Power button),直到Mac关闭。然后在重新启动计算机时按住Shift 键。( Shift )当您以安全模式(Safe Mode)启动Mac时,安装程序不会在启动时启动。
检查您的日期和时间设置 (Check Your Date & Time Settings )
检查Mac上的(Mac)日期(Date)和时间(Time)设置。如果日期或时间错误(即与实际不符),这可能会导致连接 Apple 服务器时出现问题,并导致安装 macOS 更新时出错。
要修复您的日期(Date)和时间(Time)设置,请按照路径Apple menu > System Preferences > Date & Time。选择锁定图标并输入您的密码以进行更改。然后手动设置日期和时间或选择自动设置日期和时间(Set date and time automatically)。完成后,再次运行安装,看看它是否有效。
释放 Mac 上的空间(Free Up Space on Your Mac)
尽管大多数 macOS 安装程序占用大约 5GB 的存储空间,但您的Mac实际上需要大约 20GB 的可用空间才能完成安装。这是因为 macOS 安装程序需要额外的存储空间来工作和解压文件和文件夹。
在尝试安装更新之前检查您的计算机有多少可用空间。按照路径Apple menu > About This Mac > Storage。可用空间在栏的右侧标记为可用。(Available)选择管理(Manage)以详细查看哪些文件使用的空间最多。
如果您发现没有足够的空间来完成 macOS 安装,您可以使用各种方法来释放计算机上的存储空间(free up storage on your computer)。
下载新的 macOS 安装程序文件(Download a New macOS Installer File)
由于安装过程中断,macOS 安装程序可能已损坏。下一步是将安装程序文件移动到废纸篓(Trash)并用新文件替换它。
您可以直接从Apple 的支持页面(Apple’s support page)下载新的 macOS 安装程序副本,或者使用计算机上的App Store或系统(System) 偏好设置(Preferences)。下载新的 macOS 安装程序后,请尝试再次启动安装过程。
重置 NVRAM(Reset the NVRAM)
NVRAM存储各种设置,例如时间、屏幕亮度、显示器分辨率和Mac上的启动磁盘。当这些设置发生更改并发生错误时,这可能会导致您的 macOS 安装过程出现问题。
此处的解决方案是重置NVRAM并再次尝试安装。为此,请重新启动Mac并在启动时按住Option + Cmd + P + R(大约 20 秒)。然后尝试再次安装 macOS 更新。
运行磁盘工具的急救(Run Disk Utility’s First Aid)
macOS 安装过程中出现错误的可能原因之一是启动磁盘上的磁盘权限或碎片错误。使用Mac(Mac)上名为Disk Utility的预装应用程序很容易修复它们。
为此,请遵循路径Applications > Utilities > Disk Utility。然后从边栏中选择 Mac 的启动磁盘(例如Macintosh HD)并选择First Aid。磁盘工具(Disk Utility)将扫描您的启动磁盘以查找错误并修复它们。如果您在尝试安装 macOS 更新时遇到“无法安装卷”错误,此修复程序特别有用。完成后,尝试再次安装 macOS 更新。
在 Mac 上重新安装 macOS(Reinstall macOS on Your Mac)
这可能是最耗时的方法,但如果您在 macOS 安装过程中仍然遇到相同的错误,您可能需要在 Mac 上重新安装整个操作系统(reinstall the whole operating system on your Mac)。
要重新安装 macOS,您需要在计算机启动时按住Option + Cmd + R重新启动(R)Mac并以恢复模式(Recovery Mode)启动。大约 20 秒后,您会看到一个Apple标志——您现在可以松开按键了。在macOS 实用程序(macOS Utilities)窗口中,选择重新安装 macOS(Reinstall macOS)以在您的计算机上安装最新版本的 macOS。确保为此留出一些时间,因为您的Mac首先需要下载新软件然后安装它。
从备份还原(Restore from a Backup)
如果没有其他方法,最后的故障排除方法是擦除启动磁盘并从头开始重新安装 macOS。完成后,您可以从备份中恢复所有数据。不幸的是,您将丢失最近备份中未包含的任何内容。
如何防止未来的 macOS 错误(What to Do to Prevent Future macOS Errors)
收到中断 macOS 安装的错误消息很烦人。虽然您可以轻松解决此问题,但它仍然会延迟计算机的更新过程并且可能非常耗时。
有很多Mac 诊断工具(diagnostic tools for Mac),您可以使用它们来查找和解决任何未来的问题,甚至在它们成为问题之前。从一开始就防止任何错误干扰您的计算机工作会更容易、更快捷。
您是否曾经不得不处理“无法在您的计算机上安装 macOS”的错误?哪种故障排除技术对您有用?在下面的评论部分分享您安装 macOS 更新的经验。
How to Fix the Error: macOS Could Not be Installed on Your Computer
Updating your Mac is essential if you want a long and а hapрy life for your compυtеr. Luckily, most of those processes are automatized on Mac and you don’t hаve to worry about installing updates. However, if something goes wrong, you’ll get a “macOS could not be installed on your computer” error message, and that’s something that you should worry about.
This error can be caused by a few different issues. The good news is, they’re all pretty easy to fix yourself. Learn what could be causing the “macOS couldn’t be installed on your computer” error and how to troubleshoot this issue on your Mac.
Why the macOS Couldn’t Be Installed Error Appears
There are quite a few different reasons why a macOS installation might fail. Some of the most common reasons why you’ve been getting this error include:
- Not having enough free space on your Mac
- Problems with your startup disk
- The macOS installer file’s corrupted
The error message that pops up normally comes with a message underneath it that gives you an explanation of what went wrong. The message might say “the path/System/Installation/Packages/OSInstall.mpkg appears to be missing or damaged”, “an error occurred while verifying firmware”, “unable to unmount volume for repair”, or something different. While these messages don’t offer too much details on what the problem is, they give you an idea of what stages of the installation process couldn’t be completed.
No matter what caused the error message to appear on your Mac, you can fix it by following the troubleshooting steps described below.
How to Prepare Your Mac for Troubleshooting
Before you begin troubleshooting the macOS installation error, you might want to protect your data and make sure you don’t lose any important information in the process.
It’s best if you make it a habit to back up your Mac before installing any major updates. Major macOS updates affect the files in your operating system. Should something go wrong, you’ll need to erase your Mac in order to fix it, meaning you’ll lose any files that aren’t a part of your most recent backup.
You can backup your Mac using Disk Utility or Time Machine before updating your computer. It’ll keep your data safe and give you an opportunity to restore the important files from the date of your choice in case something goes wrong and you have to erase your entire Mac.
How to Troubleshoot the Error: macOS Couldn’t Be Installed on Your Computer
After you’ve backed up your Mac, you can proceed to troubleshoot the error and complete installing the macOS update. As there are plenty of things that could be causing issues with your macOS update, any of the following methods might fix the problem. We recommend that you give all of them a try, starting with the easiest and quickest ones from the top of the list.
Restart Your Mac and Retry Installation
Restarting your Mac and trying to do the thing that just failed might seem silly, but sometimes all your Mac needs to sort any issues out is a restart.
To restart your computer, open the Apple menu in the upper-left corner of your screen and select Restart. If your Mac’s frozen, you can use the Power button to force a shutdown and then restart the computer. After that, attempt the installation again and see if it works.
If it doesn’t work and your Mac’s stuck on a loop launching macOS installer upon restart, you might need to boot up in Safe Mode before you can move onto the next step. To do that, press and hold the Power button until your Mac shuts down. Then press and hold Shift when restarting your computer. When you boot up your Mac in Safe Mode, the installer won’t launch upon startup.
Check Your Date & Time Settings
Check the Date & Time settings on your Mac. If the date or time is wrong (i.e. doesn’t match the reality), this could be causing the problems when connecting with Apple’s servers and lead to an error installing the macOS update.
To fix your Date & Time settings, follow the path Apple menu > System Preferences > Date & Time. Select the lock icon and enter your password to make changes. Then set the date and time manually or select Set date and time automatically. After you’re finished, run the installation again and see if it works.
Free Up Space on Your Mac
Even though most macOS installers take up around 5GB of storage, your Mac actually needs to have about 20GB of free space to complete an installation. It’s because the macOS installer needs extra storage to work and unpack files and folders.
Check how much free space your computer has before trying to install the update. Follow the path Apple menu > About This Mac > Storage. The free space is marked Available on the right side of the bar. Select Manage to see which files are using the most space in detail.
If you find that there isn’t enough space to complete the macOS installation, you can use various methods to free up storage on your computer.
Download a New macOS Installer File
Since the installation process was interrupted, the macOS installer might have become corrupt. The next step is to move the installer file to Trash and replace it with a new one.
You can download a new copy of macOS installer directly from Apple’s support page, or using the App Store or System Preferences on your computer. Once you’ve downloaded the new macOS installer, try to launch the installation process again.
Reset the NVRAM
The NVRAM stores various settings such as the time, screen brightness, monitor resolution, and the startup disk on your Mac. When these settings change and errors occur, this may cause problems with your macOS installation process.
The solution here is to reset your NVRAM and attempt the installation again. To do that, restart your Mac and hold Option + Cmd + P + R while it starts (about 20 seconds). Then try installing the macOS update again.
Run Disk Utility’s First Aid
One of the possible causes for the error in the macOS installation process are disk permission or fragmentation errors on your startup disk. They’re easy to fix using the pre-installed app on your Mac called Disk Utility.
To do that, follow the path Applications > Utilities > Disk Utility. Then select your Mac’s startup disk from the sidebar (ex. Macintosh HD) and select First Aid. Disk Utility will scan your startup disk for errors and repair them. This fix is particularly useful if you’re getting the “unable to mount volume” error when trying to install the macOS update. After it’s done, try to install the macOS update again.
Reinstall macOS on Your Mac
This one’s probably the most time-consuming method, but if you’re still getting the same error during the macOS installation you might have to reinstall the whole operating system on your Mac.
To reinstall macOS, you’ll need to restart your Mac and boot up in Recovery Mode by holding Option + Cmd + R while your computer starts. After about 20 seconds you’ll see an Apple logo – you can now release the keys. From the macOS Utilities window, select Reinstall macOS to install the latest version of macOS on your computer. Make sure to allow some time for this, since your Mac will first need to download the new software and then install it.
Restore from a Backup
If nothing else works, the last troubleshooting method is to erase your startup disk and reinstall macOS from scratch. After that’s complete, you can restore all of your data from a backup. Unfortunately, you’ll lose anything that’s not included in your most recent backup.
What to Do to Prevent Future macOS Errors
Getting an error message that interrupts your macOS installation is annoying. While you can easily troubleshoot this, it still delays your computer’s updating process and can be extremely time-consuming.
There are plenty of diagnostic tools for Mac that you can use to find and resolve any future issues before they even become a problem. It’s much easier and quicker to prevent any errors from disrupting your computer’s work in the first place.
Have you ever had to deal with the error “macOS could not be installed on your computer”? Which troubleshooting technique worked for you? Share your experience with installing macOS updates in the comments section below.