index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | morganamilo <morganamilo@gmail.com> | 2019-11-05 23:08:26 +0000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-11-06 10:54:54 +1000 |
commit | 424129e8d1e91987a9799a49391f1271b069c5cf (patch) | |
tree | c924cef018e69e42e1dc69e61dcaf5deb29b325d | |
parent | 27955a0fee16f817b5569e0bc29bc1498a87ea68 (diff) |
-rw-r--r-- | src/pacman/conf.c | 4 |
diff --git a/src/pacman/conf.c b/src/pacman/conf.c index 468a3e02..3b475151 100644 --- a/src/pacman/conf.c +++ b/src/pacman/conf.c @@ -766,8 +766,8 @@ static int setup_libalpm(void) /* initialize library */ handle = alpm_initialize(config->rootdir, config->dbpath, &err); if(!handle) { - pm_printf(ALPM_LOG_ERROR, _("failed to initialize alpm library\n(%s: %s)\n"), - alpm_strerror(err), config->dbpath); + pm_printf(ALPM_LOG_ERROR, _("failed to initialize alpm library:\n(root: %s, dbpath: %s)\n%s\n"), + config->rootdir, config->dbpath, alpm_strerror(err)); if(err == ALPM_ERR_DB_VERSION) { fprintf(stderr, _("try running pacman-db-upgrade\n")); } |