On 06/10/2017 18:44, Bruce Dubbs wrote:
Kuba wrote:
On Thu, Oct 05, 2017 at 06:07:48PM +0200, Michael D. wrote:
On 10/04/2017 12:28 PM, Gdsi wrote:
Hi.
I begin LFS-8.1 but a issue is appeared.
In ch. 2.2 after running 'bash version-check.sh' the output was:
user@debian:~$ bash version-check.sh
bash, version 4.3.30(1)-release
/bin/sh -> /bin/dash
ERROR: /bin/sh does not point to bash
version-check.sh: line 35: gcc: command not found
[...]
And to change your Shell from Dash to Bash, you could use
$ chsh -s /bin/bash
The chsh command can be used to change the default shell for a user,
a value kept in /etc/passwd. However, chapter 2.2 doesn't care about the
interactive shell, it cares about /bin/sh. On Debian, by default,
/bin/sh
points to dash. To change this, run
sudo dpkg-reconfigure dash
From: https://wiki.debian.org/DashAsBinSh
Or even easier: ln -svf bash /bin/sh
Well, that depends on whether you want to use the "Debian Alternatives
System" [1]. If you do what you propose, then the Alternatives system is
broken, and the dpkg-reconfigure command described in the wiki will
fail. For linux wizards, this is not a problem, as they'll always be
able to set up their system in a satisfactory manner, but for learning
people, having a doc they can rely on for their distro is not bad...
Pierre
[1] : https://wiki.debian.org/DebianAlternatives
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style