Control: found -1 pyenv/2.5.5-1
On Wed, 07 May 2025 14:16:12 +0200 Nicolas Frattaroli <nicolas.frattar...@collabora.com> wrote: > Hello, > > this bug was ultimately caused by /etc/profile.d/pyenv.sh, which Debian ships. > > It sets the PYENV_ROOT to a directory that the user cannot actually write to, > in the users environment. [...] Hello Nicolas, thanks for spotting this, which really seems to be the root cause of the "cannot rehash" error. However, file '/etc/profile.d/pyenv.sh' still seems to be shipped in the pyenv/2.5.5-1 Debian package. I am thus reopening this bug report. Josenilson, please drop '/etc/profile.d/pyenv.sh' from the Debian package. Moreover, the man page now suggests: [...] | 1. Append the following to $HOME/.bashrc | | if command -v pyenv 1>/dev/null 2>&1; then | export PYENV_ROOT="$HOME/.pyenv" | export PATH="$PYENV_ROOT/bin:$PATH" | eval "$(pyenv init - bash)" | fi [...] This suggestion is better than it was in the pyenv/2.5.4-1 Debian package, but now suggests to add a path that does not seem to exist ("$PYENV_ROOT/bin"). I would say that a better suggestion would more simply be: [...] | 1. Append the following to $HOME/.bashrc | | if command -v pyenv 1>/dev/null 2>&1; then | export PYENV_ROOT="$HOME/.pyenv" | eval "$(pyenv init - bash)" | fi [...] Please enhance the man page. Thanks for your time and dedication. -- http://www.inventati.org/frx/ There's not a second to spare! To the laboratory! ..................................................... Francesco Poli . GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE
pgpYjuKbuOpdo.pgp
Description: PGP signature