Skip to content

Install script ugliness with YELLOW and RESET on Ubuntu 16.04 and 14.04 #490

Closed

Description

@rfay

What happened (or feature request):

I tried to use our install script to install ddev on Ubuntu 14.04 (in X mode, full GUI, in a terminal) and got lots of complaints about YELLOW and RESET

$ curl https://raw.githubusercontent.com/drud/ddev/master/install_ddev.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2288  100  2288    0     0   5013      0 --:--:-- --:--:-- --:--:--  5017
Docker is required for ddev. Download and install docker at https://www.docker.com/community-edition#/download before attempting to use ddev.

ddev_linux.v0.9.1.tar.gz: OK
Download verified. Ready to place ddev in your /usr/local/bin.
Running "sudo mv /tmp/ddev /usr/local/bin/" Please enter your password if prompted.
bash: line 60: YELLOW: command not found
bash: line 60: RESET: command not found
Bash completion for ddev was not installed. You may manually install /tmp/ddev_bash_completions.sh in your bash_completions.d directory.
ddev is now installed. Run "ddev" to verify your installation and see usage.

The result is the same in Ubuntu 16.04:

$ curl https://raw.githubusercontent.com/drud/ddev/master/install_ddev.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2288  100  2288    0     0   1257      0  0:00:01  0:00:01 --:--:--  1258
ddev_linux.v0.9.1.tar.gz: OK
Download verified. Ready to place ddev in your /usr/local/bin.
Running "sudo mv /tmp/ddev /usr/local/bin/" Please enter your password if prompted.
sudo: unable to resolve host ub1604vbox
bash: line 60: YELLOW: command not found
bash: line 60: RESET: command not found
Bash completion for ddev was not installed. You may manually install /tmp/ddev_bash_completions.sh in your bash_completions.d directory.
ddev is now installed. Run "ddev" to verify your installation and see usage.

What you expected to happen:

Nothing ugly like this.

How to reproduce this:

Curl the script on Ubuntu 14.04 and also 16.04. (Note that on a default Ubuntu instance I also had to install curl before it would run.)

Version: Please include the output of ddev version, docker version and the project's .ddev/config.yaml.

Anything else do we need to know:

Related source links or issues:

Activity

  1. rickmanelius commented on Sep 30, 2017

    @rickmanelius
    Contributor

    Related: overall OS support. Currently our readme specifies 16.04 LTS. I think latest OS is probably best (or latest and 1 back when it makes sense).

  2. changed the title [-]Install script ugliness with YELLOW and RESET on Ubuntu 14.04[/-] [+]Install script ugliness with YELLOW and RESET on Ubuntu 16.04 and 14.04[/+] on Sep 30, 2017
  3. rfay commented on Sep 30, 2017

    @rfay
    MemberAuthor

    Shucks, tested on 16.04 with same result. Updated OP and title.

  4. added this to the v0.9.3 milestone on Dec 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions