I'm upgrading my XS2 from 049 to 058 but during the executing of update_to_xs2.php I have received these errors :
INSERT INTO phpbb_config VALUES ('disable_registration_ip_check', '1')
+++ Error: Duplicate entry 'disable_registration_ip_check' for key 1
INSERT INTO phpbb_config_mg VALUES ('disable_html_guests', '0')
+++ Error: Duplicate entry 'disable_html_guests' for key 1
INSERT INTO phpbb_config_mg VALUES ('disable_email_error', '1')
+++ Error: Duplicate entry 'disable_email_error' for key 1
DROP TABLE phpbb_flags
+++ Error: Unknown table 'phpbb_flags'
INSERT INTO phpbb_links VALUES (5, 'phpBB XS German Support', 'phpBB XS German Support', 4, 'http://www.phpBBXS.de/', 'images/links/xs_de.gif', 1125353670, 1, 0, 2, '', '')
+++ Error: Duplicate entry '5' for key 1
INSERT INTO phpbb_links VALUES (6, 'phpBB XS Spanish Support', 'phpBB XS Spanish Support', 4, 'http://www.phpbb-es.com/', 'images/links/xs_es.gif', 1125353670, 1, 0, 2, '', '')
+++ Error: Duplicate entry '6' for key 1
INSERT INTO phpbb_links VALUES (7, 'phpBB XS Serbian Support', 'phpBB XS Serbian Support', 4, 'http://www.phpBBXS.net/', 'images/links/xs_se.gif', 1125353670, 1, 0, 2, '', '')
+++ Error: Duplicate entry '7' for key 1
INSERT INTO phpbb_links VALUES (8, 'phpBB XS Italian Support', 'phpBB XS Italian Support', 4, 'http://www.phpbbplus.it/', 'images/links/xs_it.gif', 1125353670, 1, 0, 2, '', '')
+++ Error: Duplicate entry '8' for key 1
INSERT INTO `phpbb_config_mg` VALUES ('xs_version', '.0.58')
+++ Error: Duplicate entry 'xs_version' for key 1
INSERT INTO `phpbb_config_mg` VALUES ('xs_version2', '2 (build 058)')
+++ Error: Duplicate entry 'xs_version2' for key 1
Any suggest ?