-#define RPM_INSTALLER_ERR_WRONG_PARAM 3
-#define RPM_INSTALLER_ERR_DBUS_PROBLEM 4
-#define RPM_INSTALLER_ERR_NOT_ENOUGH_MEMORY 5
-#define RPM_INSTALLER_ERR_PACKAGE_EXIST 7
-#define RPM_INSTALLER_ERR_PACKAGE_NOT_INSTALLED 8
-#define RPM_INSTALLER_ERR_RESOURCE_BUSY 9
-#define RPM_INSTALLER_ERR_UNKNOWN 10
-#define RPM_INSTALLER_ERR_PKG_NOT_FOUND 11
-#define RPM_INSTALLER_ERR_NOT_SUPPOTED_VERSION 12
-#define RPM_INSTALLER_ERR_NO_RPM_FILE 13
-#define RPM_INSTALLER_ERR_DB_ACCESS_FAILED 14
-#define RPM_INSTALLER_ERR_RPM_OPERATION_FAILED 15
-#define RPM_INSTALLER_ERR_PACKAGE_NOT_UPGRADED 16
-#define RPM_INSTALLER_ERR_RPM_SCRIPT_WRONG_ARGS 17
-#define RPM_INSTALLER_ERR_NEED_USER_CONFIRMATION 18
-#define RPM_INSTALLER_ERR_PACKAGE_INSTALLATION_DISABLED 19
-#define RPM_INSTALLER_ERR_PACKAGE_UNINSTALLATION_DISABLED 20
-#define RPM_INSTALLER_ERR_CLEAR_DATA_FAILED 21
-#define RPM_INSTALLER_ERR_INTERNAL 22
-#define RPM_INSTALLER_ERR_NO_MANIFEST 23
-#define RPM_INSTALLER_ERR_INVALID_MANIFEST 24
+#define RPM_INSTALLER_ERR_WRONG_PARAM 64
+#define RPM_INSTALLER_ERR_DBUS_PROBLEM 102
+#define RPM_INSTALLER_ERR_PACKAGE_EXIST 121
+#define RPM_INSTALLER_ERR_PACKAGE_NOT_INSTALLED 104
+#define RPM_INSTALLER_ERR_RESOURCE_BUSY 105
+#define RPM_INSTALLER_ERR_NOT_ENOUGH_MEMORY 63
+#define RPM_INSTALLER_ERR_NOT_SUPPOTED_VERSION 107
+#define RPM_INSTALLER_ERR_NO_RPM_FILE 2
+#define RPM_INSTALLER_ERR_DB_ACCESS_FAILED 109
+#define RPM_INSTALLER_ERR_RPM_OPERATION_FAILED 110
+#define RPM_INSTALLER_ERR_PACKAGE_NOT_UPGRADED 111
+#define RPM_INSTALLER_ERR_RPM_SCRIPT_WRONG_ARGS 112
+#define RPM_INSTALLER_ERR_NEED_USER_CONFIRMATION 113
+#define RPM_INSTALLER_ERR_PACKAGE_INSTALLATION_DISABLED 114
+#define RPM_INSTALLER_ERR_PACKAGE_UNINSTALLATION_DISABLED 115
+#define RPM_INSTALLER_ERR_CLEAR_DATA_FAILED 116
+#define RPM_INSTALLER_ERR_INTERNAL 117
+#define RPM_INSTALLER_ERR_PKG_NOT_FOUND 1
+#define RPM_INSTALLER_ERR_UNKNOWN 119
+#define RPM_INSTALLER_ERR_NO_MANIFEST 11
+#define RPM_INSTALLER_ERR_INVALID_MANIFEST 12
+#define RPM_INSTALLER_ERR_SIG_NOT_FOUND 21
+#define RPM_INSTALLER_ERR_SIG_INVALID 22
+#define RPM_INSTALLER_ERR_SIG_VERIFICATION_FAILED 23
+#define RPM_INSTALLER_ERR_ROOT_CERT_NOT_FOUND 31
+#define RPM_INSTALLER_ERR_CERT_INVALID 32
+#define RPM_INSTALLER_ERR_CERTCHAIN_VERIFICATION_FAILED 33
+#define RPM_INSTALLER_ERR_NO_CONFIG 34
+#define RPM_INSTALLER_ERR_INVALID_CONFIG 35
+#define RPM_INSTALLER_ERR_CMD_NOT_SUPPORTED 36