summaryrefslogtreecommitdiff
path: root/lib/libalpm/error.c
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-02-08 08:09:34 +0000
committerAaron Griffin <aaron@archlinux.org>2007-02-08 08:09:34 +0000
commita94e22d9245f78242527b983a285dadf118f1afc (patch)
tree4c8c65f764da17cf6a5efa9355f400317fcec44d /lib/libalpm/error.c
parenta97bb3e279f962724e53ea0398a2b03bb23bac75 (diff)
downloadpacman-a94e22d9245f78242527b983a285dadf118f1afc.tar.xz
Attempt to NOT remove packages on filesystem errors (like a read-only
filesystem). See FS#5887
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 334012d1..a6d20acf 100644
--- a/lib/libalpm/error.c
+++ b/lib/libalpm/error.c
@@ -97,6 +97,8 @@ char SYMEXPORT *alpm_strerror(int err)
return _("package already installed");
case PM_ERR_PKG_CANT_FRESH:
return _("package not installed or lesser version");
+ case PM_ERR_PKG_CANT_REMOVE:
+ return _("cannot remove all files for package");
case PM_ERR_PKG_INVALID_NAME:
return _("package name is not valid");
case PM_ERR_PKG_CORRUPTED: