/snap/bin path cannot be found after installing core snap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I follow the following instructions to install core on 14.04 system
1) sudo apt-get install snapd
2) sudo snap install hello-world
In step 2, it installs the "core" and "hello-world" snaps at the same time. Finally, I run
$ hello-world
it shows the command cannot be found. I rebooted my machine, and I found that it was the same problem. The /snap/bin path is missing in the PATH.
liuxg@liuxg:
ERROR: ld.so: object '/lib/$
ERROR: ld.so: object '/lib/$
Hello World!
My desktop info is:
liuxg@liuxg:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
liuxg@liuxg:~$ snap list
Name Version Rev Developer Notes
core 16.04.1 888 canonical -
hello-world 6.3 27 canonical -
tags: | added: trusty |
I fail to reproduce the issue you are reporting. PATH is adjusted after logout/login and after reboot. I also fail to reproduce the ERROR messages from ld.so.
Are you running this in a VM? Could you pastebin the output of ls /etc/profile.d?