Giter Club home page Giter Club logo

Comments (9)

madbuda avatar madbuda commented on August 18, 2024

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.

static-void-main avatar static-void-main commented on August 18, 2024

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.

static-void-main avatar static-void-main commented on August 18, 2024

installation

@madbuda, please see the image, I don't know how to explain it better.

from hush.

madbuda avatar madbuda commented on August 18, 2024

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.

static-void-main avatar static-void-main commented on August 18, 2024

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.

static-void-main avatar static-void-main commented on August 18, 2024

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.

static-void-main avatar static-void-main commented on August 18, 2024

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.

static-void-main avatar static-void-main commented on August 18, 2024

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.

madbuda avatar madbuda commented on August 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.