opkg: Convert "multiple packages" message to NOTICE rather than ERROR
[oweals/opkg-lede.git] / libopkg / pkg_hash.c
index 917f43351ef45af58ed16f1994b1e4cf240e1dfd..97613e5c6ea5275ab4eed4a430647ae0d8789024 100644 (file)
@@ -257,8 +257,7 @@ pkg_t *pkg_hash_fetch_best_installation_candidate(opkg_conf_t *conf, abstract_pk
 
                if (vec->len > 0 && matching_pkgs->len < 1)
                {
-                 opkg_message (conf, OPKG_ERROR, "   Packages found, but none available for the current "
-                                                 "architecture\n");
+                 opkg_message (conf, OPKG_ERROR, "Packages were found, but none compatible with the architectures configured\n");
                  if (err)
                    *err = OPKG_PKG_HAS_NO_AVAILABLE_ARCH;
                }
@@ -298,7 +297,7 @@ pkg_t *pkg_hash_fetch_best_installation_candidate(opkg_conf_t *conf, abstract_pk
               latest_installed_parent = matching;
          if (matching->state_flag & (SF_HOLD|SF_PREFER)) {
               if (held_pkg)
-                   opkg_message(conf, OPKG_ERROR, "Multiple packages (%s and %s) providing same name marked HOLD or PREFER.  Using latest.\n",
+                   opkg_message(conf, OPKG_NOTICE, "Multiple packages (%s and %s) providing same name marked HOLD or PREFER.  Using latest.\n",
                                 held_pkg->name, matching->name);
               held_pkg = matching;
          }