smt-ncc-scc-migration displays "duplicate entry" messages
This document (7016109) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 11 Service Pack 3 (SLES 11 SP3)
Situation
2015-01-19 16:12:52 SMT::SCCSync - [error] DBD::mysql::db do failed: Duplicate entry '100641-100638' for key 'pdid_extid_unq' at /usr/lib/perl5/vendor_perl/5.10.0/SMT/SCCSync.pm line 725.
Resolution
To confirm that the migration has been successfully performed, "smt-repos" can be run in a terminal. A successful migration will display the SLES-12 repositories in the list of repositories. Alternatively they are also be displayed in the YaST SMT Management.
If the error messages also occur when running smt-scc-sync or smt-sync please see the following TID:
TID 7017148 - smt-scc-sync and smt-sync returning mysql::db do failed: Duplicate entry errors
Cause
Additional Information
1.
.... [error] DBD::mysql::db do failed: Duplicate entry 'a2d6e5f5943b4f2eb6b02fd2fd0498b9-3534e7633fe310e491049d1c3f5607b' for key 1 at /usr/lib/perl5/vendor_perl/5.10.0/SMT/NCCRegTools.pm line 699
This specific error and it's resolution is documented in the Knowledge Base Document:
"SMT reports duplicate registration database entries".
2.
DBD::mysql::db do failed: Duplicate entry '100657-203' for key 'PRIMARY' at
/usr/lib/perl5/vendor_perl/5.10.0/SMT/SCCSync.pm line 1020.
This error is documented in the Knowledge Base Document:
smt-ncc-scc-migration: "duplicate entry '' for key 'PRIMARY'"
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7016109
- Creation Date: 27-Jan-2015
- Modified Date:03-Mar-2020
-
- Subscription Management Tool
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com