KNOWN ISSUE: Error: "No package could be found for the selected Agent installation policy" when clicking on an Agent Installation policy

Article:TECH121856  |  Created: 2009-12-29  |  Updated: 2010-05-19  |  Article URL http://www.symantec.com/docs/TECH121856
NOTE: If you are experiencing this particular known issue, we recommend that you Subscribe to receive email notification each time this article is updated. Subscribers will be the first to learn about any releases, status changes, workarounds or decisions made.
Article Type
Technical Solution


Issue



You are unable to use the Install, Uninstall or Upgrade agent policies for a given solution. You see an error indicating "No package could be found".


Note:: This affects more than Just Software Management solution. We have seen this issue affect other solutions like Deployment Solution.

The Agent MSI is physically present on the Hard drive, but the Software resource is missing in the Database.

The Following error appears in the log:

Process: AeXConfig (11420)
Thread ID: 1
Module: AeXConfig.exe
Source: Altiris.NS.ItemManagement.ItemHelper
Description: An unexpected exception has occured (Exception: Altiris.NS.Exceptions.AeXItemImportException: Item Import exception : 4d67a93b-9dc1-4618-9ddb-08374f02a588 = Altiris.SoftwareManagement.Resources.SoftwareReleaseResource(b6fe92fd-d5ac-4dc2-a023-a56c2973a413) ---> Altiris.NS.Exceptions.AeXException: An unexpected exception has occured in OnImport callback for Item "Altiris.SoftwareManagement.Resources.SoftwareReleaseResource". ---> Altiris.NS.Exceptions.AeXItemImportException: Cannot import software resource with guid 4d67a93b-9dc1-4618-9ddb-08374f02a588.  A duplicate software resource already exists in the model with guid value: 550710f3-ca1f-4118-a7c0-72ee61299358.
   at Altiris.SoftwareManagement.Resources.SoftwareComponentResource.OnImport(XmlNode itemNode)
   at Altiris.NS.ItemManagement.Item.Import(XmlNode itemNode)
   --- End of inner exception stack trace ---
   at Altiris.NS.ItemManagement.Item.Import(XmlNode itemNode)
   at Altiris.NS.ItemManagement.Item.ImportItem(XmlNode itemNode)
   --- End of inner exception stack trace ---
   at Altiris.NS.ItemManagement.Item.ImportItem(XmlNode itemNode)
   at Altiris.NS.ItemManagement.ItemHelper.ImportItemNodesEx(XmlNodeList childItemNodes))


Environment



Symantec Management Platform 7.0 SP3 / SP4

Client Management Suite 7.0 Service Pack1 & Service Pack 2


Cause



During the Initial install (or during Subsequent Solution reconfigure attempts using AexConfig), the error in the log indicated that it could not lay down the software Resource as another package with a different GUID already existed.

This Phantom Package blocks the proper configuration of the Agent Package in the Database.


Solution



To resolve this problem:

1) Please open Altiris Log viewer on the server, to view error messages
2) Run AexConfig.exe /configure <InstallDir>\SolutionConfigFile.config using command prompt
3) Check for errors in the logs- Do you see the error message listed above?
       ...If you do not, then this resolution may not work for you.
4) If you see the error, pull up a Resource Manager on the referenced Duplicate Software Resource GUID
       ..To do this without seeing the item in the console, open a Resource manager on any computer then swap out the ItemGuid In the URL Bar.
5) Under Right-click actions area, click Delete
6) Re-run the  AexConfig.exe /configure <InstallDir>\SolutionConfigFile.config
     ...
Continue to monitor the LogViewer. You may need to repeat the process several times (We have observed up to 4 times in the past).

Note:: If there is a solution_update.config file, you will need to run AexConfig against the update.config file.

Note 2:: In at least one case, the packages that were blocking the install were not "phantom". They were a previous version of the package listed under a different GUID. It may be necessary to remove them to let AexConfig correctly populate the newer versions of the package with the Correct GUID.


AexConfig Example:

     AexConfig /Configure "C:\Program Files\Altiris\SoftwareManagementSolution\Config\SoftwareManagementSolution.config"

For the update (if there is an update for the Solution) Example:

     AexConfig /Configure "C:\Program Files\Altiris\SoftwareManagementSolution\Config\SoftwareManagementSolution_Upgrade.config


Supplemental Materials

SourceDEFECT
ValueETK 1974801
DescriptionLogged in Etrack (Symantec) database

Legacy ID



50805


Article URL http://www.symantec.com/docs/TECH121856


Terms of use for this information are found in Legal Notices