From a94e22d9245f78242527b983a285dadf118f1afc Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Thu, 8 Feb 2007 08:09:34 +0000 Subject: Attempt to NOT remove packages on filesystem errors (like a read-only filesystem). See FS#5887 --- lib/libalpm/error.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libalpm/error.c') 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: -- cgit v1.2.3-70-g09d2