Skip to content

libalpm: ALPM LOG level adjustment

Hi...

Following the warning on /var/cache/pacman/pkg/ cache directory ("warning: no /var/cache/pacman/pkg/ cache exists, creating..."), please, modify the ALPM LOG level from DEBUG to WARNING on /var/lib/pacman/sync/ directory.

Here is the possible patch:

--- lib/libalpm/be_sync.c 2025-04-01 13:47:15.141780414 -0300 +++ lib/libalpm/be_sync.c.patched 2025-04-01 13:49:43.216963407 -0300 @@ -51,7 +51,7 @@ snprintf(syncpath, len, "%s%s", handle->dbpath, "sync/");

    if(stat(syncpath, &buf) != 0) {
  •           _alpm_log(handle, ALPM_LOG_DEBUG, "database dir '%s'

does not exist, creating it\n",

  •           _alpm_log(handle, ALPM_LOG_WARNING, "no '%s' database

dir exists, creating...\n", syncpath); if(_alpm_makepath(syncpath) != 0) { free(syncpath);

Thank you in advance. Fabiano

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information