Comments (9)
It appears you do not have sudo rights on the machine you're installing on
Closing as this is not a bug or issue with code
from hush.
Hi @madbuda,
i do have sudo permissions on that machine but the command is wrong, please see https://askubuntu.com/questions/185268/permission-denied-etc-apt-sources-list. As for the apt-key command it requires root permissions but the instructions don't tell you to run it with sudo. Please update the instructions accordingly.
from hush.
@madbuda, please see the image, I don't know how to explain it better.
from hush.
What version of Ubuntu, sudo, what shell and version?
Hundreds of installs and this is the first someone has had a problem with the installation instructions. I've personally installed using copy/paste many times myself and wrote the instructions
from hush.
cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"
NAME="Ubuntu"
VERSION="16.04.3 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.3 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
ps -p $$
PID TTY TIME CMD
2 tty1 00:00:00 bash
apt-cache policy sudo
sudo:
Installed: 1.8.16-0ubuntu1.5
apt-cache policy bash
bash:
Installed: 4.3-14ubuntu1.2
from hush.
More info:
https://stackoverflow.com/questions/40292676/pipe-command-with-sudo
https://stackoverflow.com/questions/82256/how-do-i-use-sudo-to-redirect-output-to-a-location-i-dont-have-permission-to-wr
https://unix.stackexchange.com/questions/106663/how-do-you-process-an-entire-command-as-sudo-that-involves-redirecting-or-piping
The most common suggestion is to use tee:
echo 'deb https://dl.bintray.com/myhush/hush/ hush main' | sudo tee --append /etc/apt/sources.list.d/hush.list
from hush.
Pretend there is no issue, ignore the person trying to help, and just silently correct the problem 01a2889#diff-7d442b7eb49f5fc377f51e74b291cfc1... Way to go @madbuda!
from hush.
Oh, by the way, there is still no sudo before apt-key command. But go ahead and pretend this is not a problem :D
from hush.
Sorry, you reported an issue and we corrected it. If there are further corrections you'd like feel free to submit a PR with the proposed changes
from hush.
Related Issues (20)
- Get Unit tests passing
- Run ./src/zcash-gtest for CI on each commit
- ZMQ support for windows
- tag v1.0.14-rc1 cross compilation issues
- reverse a payment sent to No Outputs after mined blocks HOT 2
- ./zcutil/build-mac.sh problem HOT 6
- Apt Repo doesn't have Release file HOT 2
- Create Hush 2.0.0 release HOT 6
- Port KMD getsnapshot RPC to Hush HOT 1
- disablewallet=1 not compatible with dpow + txindex=0
- CLIENT_VERSION_* should come from _CLIENT_VERSION_*
- Release Hush 2.0.1
- Binary releases should include hush-tx for completeness
- Release package not working in Ubuntu 18.04 HOT 1
- Compile problem with gcc-8
- nWitnessCacheSize assertion
- EXCEPTION: St13runtime_error HOT 7
- CVE-2019-7167 HOT 1
- getsnapshot returns addresses with amount=0 utxos HOT 1
- Peers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hush.