Commit 7d88cdc9 authored by Natanael Copa's avatar Natanael Copa

db: do not abort on bad repositories

Only show a warning if we have a non-existing repository or bad
repository signature but don't abort.

This is not to break compat with behaviour in previous releases.
parent ddd38615
......@@ -1307,11 +1307,6 @@ int apk_db_open(struct apk_database *db, struct apk_db_options *dbopts)
if (apk_flags & APK_UPDATE_CACHE)
if (db->bad_repos && !(apk_flags & APK_FORCE)) {
apk_error("Aborting due to some repositories failed to load. Use --force to ignore this error.");
goto ret_r;
if (db->compat_newfeatures) {
apk_warning("This apk-tools is OLD! Some packages %s.",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment