[Bug 1968007] [NEW] $HOME/.local/bin not added to PATH env variable

DK 1968007 at bugs.launchpad.net
Wed Apr 6 08:21:18 UTC 2022


Public bug reported:

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="$HOME/.local/bin:$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
CasperMD5CheckResult: pass
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-1ubuntu1
 libc6 2.35-0ubuntu3
 libcrypt1 1:4.4.27-1
 libgcc-s1 12-20220319-1ubuntu1
 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
PackageArchitecture: amd64
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=de_DE.UTF-8
 LD_LIBRARY_PATH=<set>
 LC_MONETARY=de_DE.UTF-8
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LC_ADDRESS=de_DE.UTF-8
 LANG=en_US.UTF-8
 LC_TELEPHONE=de_DE.UTF-8
 SHELL=/usr/bin/zsh
 LC_NAME=de_DE.UTF-8
 LC_MEASUREMENT=de_DE.UTF-8
 LC_IDENTIFICATION=de_DE.UTF-8
 LC_NUMERIC=de_DE.UTF-8
 LC_PAPER=de_DE.UTF-8
ProcVersionSignature: Ubuntu 5.15.0-25.25-generic 5.15.30
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

** Affects: bash (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: jammy

** Tags added: jammy

** Package changed: cheese (Ubuntu) => bash (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1968007

Title:
  $HOME/.local/bin not added to PATH env variable

Status in bash package in Ubuntu:
  New

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="$HOME/.local/bin:$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
  CasperMD5CheckResult: pass
  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-1ubuntu1
   libc6 2.35-0ubuntu3
   libcrypt1 1:4.4.27-1
   libgcc-s1 12-20220319-1ubuntu1
   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
  PackageArchitecture: amd64
  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=de_DE.UTF-8
   LD_LIBRARY_PATH=<set>
   LC_MONETARY=de_DE.UTF-8
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LC_ADDRESS=de_DE.UTF-8
   LANG=en_US.UTF-8
   LC_TELEPHONE=de_DE.UTF-8
   SHELL=/usr/bin/zsh
   LC_NAME=de_DE.UTF-8
   LC_MEASUREMENT=de_DE.UTF-8
   LC_IDENTIFICATION=de_DE.UTF-8
   LC_NUMERIC=de_DE.UTF-8
   LC_PAPER=de_DE.UTF-8
  ProcVersionSignature: Ubuntu 5.15.0-25.25-generic 5.15.30
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1968007/+subscriptions




More information about the foundations-bugs mailing list