diff -Naru pkgship-1.1.0/packageship/application/apps/package/function/searchdb.py pkgship/packageship/application/apps/package/function/searchdb.py
--- pkgship-1.1.0/packageship/application/apps/package/function/searchdb.py	2020-09-25 17:28:16.230216100 +0800
+++ pkgship/packageship/application/apps/package/function/searchdb.py	2020-09-25 17:30:48.456873100 +0800
@@ -909,6 +909,8 @@
                 current_app.logger.error(attr_error)
             except SQLAlchemyError as sql_error:
                 current_app.logger.error(sql_error)
+        if not result_list:
+            return ResponseCode.PACK_NAME_NOT_FOUND, result_list
         return_tuple = namedtuple(
             'return_tuple', 'subpack_name sub_pack_version search_version search_name')
         for search_name in search_set:
