$HOME/.local/bin not added to PATH env variable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Although the path $HOME/.local/bin exists, it is not added to the path environment variable in Ubuntu 22.04. Re-logging or rebooting does not fix the problem.
Manually running
if [ -d "$HOME/.local/bin" ] ; then
PATH=
fi
works as expected. The aboth lines ARE included in the .profile script.
I know that there were already some issued with the mentioned path in previous versions of Ubuntu, however, until now installing some program with pip install --user and re-logging always fixed the issue.
I'm running Ubuntu jammy in a VirtualBox (Version 6.1.32 r149290), but I don't think this is of any relevance.
Output of ubuntu-bug bash:
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu80
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Wed Apr 6 10:11:13 2022
Dependencies:
base-files 12ubuntu3
bash-completion 1:2.11-5ubuntu1
debianutils 5.5-1ubuntu2
gcc-12-base 12-20220319-
libc6 2.35-0ubuntu3
libcrypt1 1:4.4.27-1
libgcc-s1 12-20220319-
libidn2-0 2.3.2-2build1
libtinfo6 6.3-2
libunistring2 1.0-1
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2022-03-30 (6 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Beta amd64 (20220329.1)
Package: bash 5.1-6ubuntu1
PackageArchitec
ProcCpuinfoMinimal:
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 158
model name : Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
stepping : 10
cpu MHz : 2904.002
cache size : 12288 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 4
apicid : 3
initial apicid : 3
fpu : yes
fpu_exception : yes
cpuid level : 22
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase avx2 invpcid rdseed clflushopt md_clear flush_l1d
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds
bogomips : 5808.00
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:
ProcEnviron:
LC_TIME=
LD_LIBRARY_
LC_MONETARY=
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LC_ADDRESS=
LANG=en_US.UTF-8
LC_TELEPHONE=
SHELL=/usr/bin/zsh
LC_NAME=
LC_MEASUREMENT
LC_IDENTIFICAT
LC_NUMERIC=
LC_PAPER=
ProcVersionSign
SourcePackage: bash
Tags: wayland-session jammy
Uname: Linux 5.15.0-25-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
_MarkForUpload: True
tags: | added: jammy |
affects: | cheese (Ubuntu) → bash (Ubuntu) |
Status changed to 'Confirmed' because the bug affects multiple users.