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#35978 - bin directory merge cause wrong behavior in applications
Attached to Project:
Arch Linux
Opened by Victor Aurélio (hotvic) - Saturday, 29 June 2013, 17:14 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 21 July 2013, 21:32 GMT
Opened by Victor Aurélio (hotvic) - Saturday, 29 June 2013, 17:14 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 21 July 2013, 21:32 GMT
|
DetailsDescription:
The merge of /sbin /usr/sbin /bin in /usr/bin cause some applications and shell built-in command to have wrong behavior, for example built-in shell command: $ which python2 /usr/sbin/python2 A possible solution is reorganize the PATH environment and add/move /usr/bin to beginning: $ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin $ export PATH="/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin" $ which python2 /usr/bin/python2 |
This task depends upon
Closed by Dave Reisner (falconindy)
Sunday, 21 July 2013, 21:32 GMT
Reason for closing: Works for me
Additional comments about closing: likely user config error.
Sunday, 21 July 2013, 21:32 GMT
Reason for closing: Works for me
Additional comments about closing: likely user config error.
$ pacman -Qo /etc/profile
/etc/profile is owned by filesystem 2013.05-2
$ grep PATH /etc/profile
PATH="/usr/local/sbin:/usr/local/bin:/usr/bin"
Maybe you forgot to merge the changes in etc/profile.
$ grep PATH /etc/profile
PATH="/usr/local/sbin:/usr/local/bin:/usr/bin"
export PATH
so I think that something is adding these for my PATH, I'll examine this.
so this path now is:
$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
the "/usr/sbin" I haven't idea what's adding this to my path, I think that here isn't local for this question, right ?