(Steam)尽管有Microsoft Store和其他竞争平台可用,但Steam是在Windows 11/10上玩视频游戏的主要方式。我们预计它将在未来多年保持领先地位,这是理所当然的。
现在,我们了解到一些用户在尝试通过Steam客户端安装或更新游戏时会遇到特定问题。您会看到,他们遇到了一个错误,上面写着“An error occurred while installing/updating… ”这是一个主要问题,因为您将无法访问任何您喜欢的游戏。
Steam Error – An error occurred while installing or updating a game
安装或更新 Steam 游戏时出错
我们建议用户在尝试对Steam进行故障排除之前重新启动计算机以解决问题。如果这没有帮助,请继续阅读。
- 以管理员身份打开Steam客户端(Steam)
- 您的防火墙是否阻止了 Steam?让它通过
- 禁用您不使用的应用程序
- 清除 Steams 下载缓存
- 修复库文件夹
- 验证本地文件(Verify Local Files)以修复可能的损坏
- 更改您的下载区域
- 如果启用了超频,请禁用它
- 检查(Check)计算机是否存在硬盘驱动器错误
- 重新安装 Steam 客户端
让我们从更详细的角度来谈谈这个问题。
1]以管理员身份打开(Open)Steam客户端(Steam)
您应该在这里完成的第一件事是以管理员身份运行Steam(如果您以前没有这样做过)。
为此,请右键单击桌面上的(Desktop)Steam快捷方式,然后选择以管理员身份运行(Run),就是这样。请务必检查错误是否仍然让您玩游戏变得困难。
2]您的防火墙是否阻止了 Steam?让它通过
也许Windows Defender 防火墙(Windows Defender Firewall)阻止了Steam客户端正常运行。我们可以通过简单地将程序列入白名单来轻松解决这个问题。
在Windows 10的搜索区域中,请键入Windows Firewall,然后通过搜索结果继续并从列表中选择Windows Defender Firewall 。应用启动并运行后,查看左侧面板并选择允许应用或功能通过 Windows Defender 防火墙(Allow an app or feature through Windows Defender Firewall)(Allow an app or feature through Windows Defender Firewall)。
最后一步是点击Change settings > Allow another app。
从那里导航到C:\Program Files\Steam\bin并选择Steam可执行文件并以管理员身份运行它。
3]禁用您不使用的应用程序
很可能,有几个应用程序正在占用您的RAM空间,因此,您没有足够的资源来更新游戏。所以,我们能做些什么?好吧(Well),我们建议禁用您现在不使用的应用程序以释放RAM空间。
好的,要完成这项工作,请通过右键单击任务栏打开(Taskbar)任务管理器(Task Manager),然后选择任务管理器(Task Manager)。应用程序打开后,选择“进程”选项卡(Process tab),然后找到所有当前正在运行的您未使用的应用程序。右键单击(Right-click)每个并选择结束任务(End Task)以关闭它们。
4]清除Steam的下载缓存
Steam会在您每次登录时保存您的数据。问题是,有时您的配置数据会损坏,因此,您需要删除缓存。
为此,请启动Steam客户端,然后选择Steam > Settings。
一旦你走了那么远,点击Downloads > CLEAR DOWNLOAD CACHE > OK。
5]修复库文件夹
如果您不知道,Steam上的库文件夹(Library Folder)是您所有已安装游戏的所在地。要正确更新此文件夹,它必须是可写的,但情况并非总是如此。
要修复它,请打开Steam客户端,然后直接导航到Steam > Settings > Downloads > Steam Library Folders > Right click on folder > Repair Folder。
6]验证本地文件(Verify Local Files)以修复可能的损坏
有时,位于您硬盘上的Steam游戏文件可能会因计算机硬件故障、断电等原因而损坏。(Steam)
Steam 可以通过验证文件来修复此类损坏。当发现问题时,程序会继续重新下载受影响的文件以替换旧文件。
为此,请右键单击Game in Library > Properties > Local Files > Verify Integrity of Game Files。
7]更改您的下载区域
解决更新游戏问题的最佳方法之一是确保将Steam中的下载区域设置为离您更近的服务器。或者切换到任何其他服务器,因为离您最近的服务器可能活动过多。
通过单击Steam > Settings > Downloads > Download Region来执行此操作。测试多台服务器以找到效果最好的一台。
8]如果您启用了超频,请禁用它(Disable)
硬件(Hardware)超频非常好,但可能会导致内存和文件损坏等问题。在您更新或安装游戏之前禁用超频,然后重新启用并继续获得高性能。
9]检查(Check)计算机是否存在有问题的驱动器错误
您的硬盘驱动器可能出现故障,而您不知道原因是什么。我们建议使用Windows 10(Windows 10)中的内置工具检查错误。
通过阅读了解如何执行此操作:磁盘错误检查:如何在 Windows 10 中运行 CHKDSK。
10]重新安装Steam客户端
如果以上所有操作均无效,那么此时您的最佳选择是重新安装Steam客户端并尝试更新或安装您喜欢的视频游戏。
阅读(READ):修复 Steam 错误初始化或更新交易。(Fix Steam error Initializing or Updating Transaction.)
An error occurred while installing or updating Steam game
Steam is the primary way to play video games on Windows 11/10, despite the availability of the Microsoft Store and other competing platforms. We expect it to keep the top spot for multiple years to come, and rightfully so.
Now, we’ve come to understand that some users are facing a particular problem whenever they attempt to install or update their games via the Steam client. You see, they come across an error that reads, “An error occurred while installing/updating…” This is a major problem because you won’t have access to any of your favorite games.
Steam Error – An error occurred while installing or updating a game
An error occurred while installing or updating Steam game
We would want to recommend users restart their computer before attempting to troubleshoot Steam in a bid to fix the issue. If that does not help, read on.
- Open the Steam client as an administrator
- Is your Firewall blocking Steam? Allow it through
- Disable apps you’re not using
- Clear Steams download cache
- Repair Library Folder
- Verify Local Files to fix possible corruption
- Change your download region
- Disable overclocking if you have it enabled
- Check computer for hard drive errors
- Reinstall the Steam client
Let us talk about this issue from a more detailed perspective.
1] Open the Steam client as an administrator
The first thing you should accomplish here is to run Steam as an administrator if you haven’t done so before.
In order to do this, please right-click on the Steam shortcut located on your Desktop, then select Run as administrator, and that’s it. Be sure to check if the error is still making life difficult for you to play games.
2] Is your Firewall blocking Steam? Allow it through
Maybe the Windows Defender Firewall is blocking the Steam client from operating as it should. We can fix this problem with ease by simply whitelisting the program.
From the search area in Windows 10, please type Windows Firewall, and via the search results, go on ahead and select Windows Defender Firewall from the list. Once the app is up and running, look to the left panel and select Allow an app or feature through Windows Defender Firewall.
The final step is for you to click on Change settings > Allow another app.
From there, navigate to C:\Program Files\Steam\bin and select the Steam executable file and run it as admin.
3] Disable apps you’re not using
Chances are, several apps are eating up your RAM space, and as such, you do not have enough resources to update the game. So, what can we do? Well, we suggest disabling apps you’re not using right now to free up RAM space.
OK, to get this job done, please open the Task Manager by right-clicking on the Taskbar, then select Task Manager. After the app opens, select the Process tab, then locate all of the currently running apps you’re not using. Right-click on each and select End Task to close them.
4] Clear Steam’s download cache
Steam saves your data whenever you log in each time. The problem is, there are times when your configuration data becomes corrupt, and as such, you’ll be required to delete the cache.
To do this, fire up the Steam client, then select Steam > Settings.
Once you’ve gone that far, click on Downloads > CLEAR DOWNLOAD CACHE > OK.
5] Repair Library Folder
If you weren’t aware, the Library Folder located on Steam is a place that is home to all of your installed games. For this folder to update correctly, it must be writable, but this isn’t always the case.
To fix it, open the Steam client then navigate directly to Steam > Settings > Downloads > Steam Library Folders > Right click on folder > Repair Folder.
6] Verify Local Files to fix possible corruption
At times, Steam game files located on your hard drive could experience corruption due to defective computer hardware, power outages, and more.
Steam can fix such corruptions by verifying the files. When problems are found, the program proceeds to re-download the affected files to replace the old ones.
To do this, right-click on Game in Library > Properties > Local Files > Verify Integrity of Game Files.
7] Change your download region
One of the best ways to solve problems with updating your game is to make sure your download region in Steam is set to a server closer to you. Or switch to any other server because the one closest to you might be overloaded with activity.
Do this by clicking on Steam > Settings > Downloads > Download Region. Test several servers to find the one that works best.
8] Disable overclocking if you have it enabled
Hardware overclocking is excellent, but it can cause problems such as memory and file corruption. Disable overclocking until you’ve updated or installed your game, then re-enable and continue gaining high performance.
9] Check computer for problematic drive errors
Chances are your hard drive is acting up, and you have no idea what the cause is. We suggest checking for errors by using the built-in tool found in Windows 10.
Learn how to do this by reading: Disk Error Checking: How to run CHKDSK in Windows 10.
10] Reinstall the Steam client
If everything above fails to work, then your best choice at this point is to reinstall the Steam client and attempt to update or install your favorite video games.
READ: Fix Steam error Initializing or Updating Transaction.