Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#78581 - [pyenv] Doesn't work correctly after installing in different root directory
Attached to Project:
Arch Linux
Opened by Joey Holtzman (jdholtz) - Wednesday, 24 May 2023, 04:00 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 24 May 2023, 20:28 GMT
Opened by Joey Holtzman (jdholtz) - Wednesday, 24 May 2023, 04:00 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 24 May 2023, 20:28 GMT
|
DetailsDescription:
This package does not work correctly after being installed using pacman's --root flag to point to another directory besides /. This is due to the `ln -sv` command using the absolute path. Using a relative path fixes the issue: `ln -sv /usr/share/...` -> `ln -sv ../share/...`. Steps to reproduce: 1. Make a new root directory: `mkdir -p root-dir/var/lib/pacman` 2. Install pyenv in the new root directory: `sudo pacman -Sy pyenv` 3. Attempt to run pyenv from the new root directory: `./root-dir/usr/bin/pyenv` 4. Observe the error: 'No such file or directory' |
This task depends upon
Closed by Toolybird (Toolybird)
Wednesday, 24 May 2023, 20:28 GMT
Reason for closing: Not a bug
Additional comments about closing: @Scimmia correctly says "Not supposed to work". If you're unsure why what you're doing is wrong, please visit the support channels (Forum/IRC/Mailing lists/Reddit/etc) to seek assistance.
Wednesday, 24 May 2023, 20:28 GMT
Reason for closing: Not a bug
Additional comments about closing: @Scimmia correctly says "Not supposed to work". If you're unsure why what you're doing is wrong, please visit the support channels (Forum/IRC/Mailing lists/Reddit/etc) to seek assistance.