index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aurelien Foret <aurelien@archlinux.org> | 2006-01-27 19:02:56 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-01-27 19:02:56 +0000 |
commit | ddc49a816c71f31683411c0d2c21446fa00517bf (patch) | |
tree | b53e65b63a6d7022739c5be0295de0522f72c05b /src | |
parent | a55ad29a7ebbf07bf29af9b09faed7b49562c05f (diff) |
-rw-r--r-- | src/pacman/deptest.c | 4 |
diff --git a/src/pacman/deptest.c b/src/pacman/deptest.c index ebd18f3b..85a40ea1 100644 --- a/src/pacman/deptest.c +++ b/src/pacman/deptest.c @@ -58,6 +58,10 @@ int pacman_deptest(list_t *targets) * deps checkings from alpm_trans_prepare() */ if(alpm_trans_init(PM_TRANS_TYPE_ADD, 0, NULL, NULL) == -1) { ERR(NL, "%s", alpm_strerror(pm_errno)); + if(pm_errno == PM_ERR_HANDLE_LOCK) { + MSG(NL, " if you're sure a package manager is not already running,\n" \ + " you can remove %s\n", PM_LOCK); + } return(1); } |