
Error when adding a Provides: the dependency package name is invalid
Possible Cause Remediation
A Provides was defined with upper
case letters. A current limitation allows
you to add Provides containing upper
case letters; however, Depends names
allows only lower case letters. For
example, the Provides in Package A is
InternetExplorer, but when adding the
Depends in Package B, you are only
allowed to enter internetexplorer. This
causes the Depends name to be
invalid.
If you can use Package Studio to repair the Provides in
Package A (change it to internetexplorer) without
reversioning the package, then do so and republish.
If you cannot repair the Provides in Package A without
reversioning, you can manually edit the dependencies in
Package B.
1. Locate the Package B .crate file.
2. Rename the file to .zip.
3. Unzip the files.
4. Locate and open the control.xml file with a text editing
application.
5. Modify Depends entry referencing the Provides to
contain the upper case Provides package name. For
example, <Depends Name="internetexplorer"
CrateOperator="LaterOrEqual"
CrateVersion="7.0" /> is modified to read
<Depends Name="InternetExplorer"
CrateOperator="LaterOrEqual"
CrateVersion="7.0" />.
6. Save the control.xml.
7. Save and close the .zip file.
8. Rename the .zip to .crate.
VCM Troubleshooting Guide
30 VMware, Inc.
Komentáře k této Příručce