DPSearch:升级验证检查失败,并显示错误“Could not remove existing file”(无法删除现有文件)
Summary: 由于 puppet 代理遇到错误,Search 无法升级到较新版本。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
DPSearch 在升级到较新版本后不启动。升级验证脚本会报告类似于以下内容的错误消息:
Error: Could not remove existing file Error: /Stage[main]/Search_smart_upgrade/File[/etc/puppet/repository]/ensure: change from directory to link failed: Could not remove existing file Warning: /Stage[main]/Search_smart_upgrade/File[/etc/puppet/status] : Skipping because of failed dependencies. Warning: /Stage[main]/Search_smart_upgrade/File[/usr/local/search/tmp/smart_upgrade]: Skipping because of failed dependencies Warning: /Stage[main]/Search_smart_upgrade/Exec[bash upgrade.sh]: Skipping because of failed dependencies

Cause
缺少从 /etc/puppet/modules/search_smart_upgrade/files/repository 到 /etc/puppet/repository 的符号链接。
Resolution
可以遵循以下步骤来解决此问题:
- 停止 puppet 和 puppetmaster 服务:
service puppet stop service puppetmaster stop
- 创建符号链接:
ln /etc/puppet/modules/search_smart_upgrade/files/repository /etc/puppet/repository
- 使用 验证链接是否存在
ls -l命令为您的组织配置主要和次要 IT 联系人。 - 启动 puppet 和 puppetmaster 服务:
service puppet start service puppetmaster start
Affected Products
Data Protection Search, PowerProtect DP4400, Data Protection Search, PowerProtect DP5300, PowerProtect DP5800, PowerProtect DP8300, PowerProtect DP8800, PowerProtect Data Protection Software, Integrated Data Protection Appliance Family
, Integrated Data Protection Appliance Software, PowerProtect DP5900, PowerProtect DP8400, PowerProtect DP8900
...
Article Properties
Article Number: 000210179
Article Type: Solution
Last Modified: 22 Aug 2025
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.