It is advisable to remove one of them. In that case, we will use the remaining one by default (unless '$CABAL_DIR' is explicitly set). Warning: Both /root/.cabal and /root/.config/cabal/config exist - ignoring the former. It is advisable to remove one of them. In that case, we will use the remaining one by default (unless '$CABAL_DIR' is explicitly set). fatal: Could not parse object '2b5d69448557e89002c0179ea1aaf59bb757a6e3'.