summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/error.c')
-rw-r--r--lib/libalpm/error.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/error.c b/lib/libalpm/error.c
index fbeca9b4..f1d7356c 100644
--- a/lib/libalpm/error.c
+++ b/lib/libalpm/error.c
@@ -101,6 +101,8 @@ char *alpm_strerror(int err)
return _("package name is not valid");
case PM_ERR_PKG_CORRUPTED:
return _("corrupted package");
+ case PM_ERR_PKG_REPO_NOT_FOUND:
+ return _("no such repository");
/* Groups */
case PM_ERR_GRP_NOT_FOUND:
return _("group not found");