question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Investigate requirements to support fish shell

See original GitHub issue

From @leecow on June 3, 2017 15:59

Submitted by @egilh

I’m not able to install dotnet-dev-2.0.0-preview1-005977 on Ubuntu 16.04 via instructions found here https://www.microsoft.com/net/core/preview#linuxubuntu when I have fish as my default shell.

Unsupported use of '||'. In fish, please use 'COMMAND; or COMMAND'. fish: dotnet new > /dev/null 2>&1 || true ^ dpkg: error processing package dotnet-dev-2.0.0-preview1-005977 (--configure): subprocess installed post-installation script returned error exit status 127 Errors were encountered while processing: dotnet-dev-2.0.0-preview1-005977 E: Sub-process /usr/bin/dpkg returned an error code (1) Doesn’t matter if I switch to bash or not, the error is the same. To be able to complete installation, bash needs to be set as default shell chsh -s /bin/bash Installation works as expected after this. Using fish as my default shell is a big advantage for me (and others). Please make sure Debian/Ubuntu packages allows for the use of fish as default shell.

Copied from original issue: dotnet/core-setup#2613

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:21 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
wli3commented, Aug 7, 2017

This thread does have several things going on. From my understanding, the original question is to invest if we can install dotnet CLI on a machine with default shall as fish. I tried on a clean Azure Debian 8. It succeed. So I am closing it

commands before installation

chsh -s `which fish`
exit
0reactions
ibqncommented, Sep 26, 2017

@wli3 ^^

Read more comments on GitHub >

github_iconTop Results From Across the Web

perform tests on files and text
Operators to compare and examine numbers​​ Returns true if NUM1 and NUM2 are numerically equal. Returns true if NUM1 and NUM2 are not...
Read more >
Commands
-r or --require-parameter specifies that the option specified by this completion always must have an option argument, i.e. may not be followed by...
Read more >
Introduction — fish-shell 3.6.1 documentation
Some operating systems, including a number of Linux distributions, require the login shell to be Bourne-compatible and to read configuration from ...
Read more >
Commands
fish is a command-line shell written mainly with interactive use in mind. The full manual is available in HTML by using the help...
Read more >
test - perform tests on files and text
Description¶. Tests the expression given and sets the exit status to 0 if true, and 1 if false. An expression is made up...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found