Skip to main content

All Questions

Tagged with
0 votes
1 answer
834 views

sudo to allow apt-get install of remote packages, but forbidding arbitrary commands

I'm looking for a way to allow a user to install (only remote) packages via apt-get (or another mechanism?) but not allow them to run arbitrary commands as root. I can get some of the way there via /...
Michal Charemza's user avatar
40 votes
7 answers
55k views

sudo apt-get update couldn't create temporary file

Tried to do sudo apt-get update, get this response every time I run it: Get:1 http://repo.radeon.com/rocm/apt/debian xenial InRelease [1814 B] Get:2 http://security.ubuntu.com/ubuntu bionic-security ...
Coloradohusky's user avatar
0 votes
1 answer
4k views

How to get debian apt to find packages correctly to install sudo

I've just installed debian 9 using the full disc image (debian-9.8.0-amd64-xfce-CD-1) to install on VirtualBox in a 64bit environment from a Windows 10 host. During the installation I unchecked the ...
Nath Imagine's user avatar
4 votes
3 answers
43k views

sudo: apt-get: command not found

I am trying to run the following command to install some libraries. sudo apt-get install graphviz libgraphviz-dev pkg-config It is however returning the following error. sudo: apt-get: command not ...
Ren's user avatar
  • 153
0 votes
1 answer
418 views

sudo is broken or not fully installed

Yeah... I'm getting this error when using apt-get anything on a digitalocean droplet: E: The package sudo needs to be reinstalled, but I can't find an archive for it. So according to this answer, I ...
Menasheh's user avatar
  • 190
6 votes
3 answers
43k views

"Unable to locate package sudo" when i try to install sudo on new Debian

i installed a new Debian on a small VPS and now when i try to install sudo i just get this message. I also tried to add FTP-Server into the list and i still get that error. root@srv45758:~# vi /etc/...
Janlasse's user avatar
1 vote
2 answers
4k views

Why and what of curl and then sudo apt-get?

To install node on Linux, per the docs, I had to do: curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - sudo apt-get install -y nodejs I get the second statement, but not the first. ...
Peter's user avatar
  • 1,288
0 votes
4 answers
4k views

How to do sudo apt-get on an AIX machine

I don't understand this AIX. How do I do sudo apt-get on AIX? -bash-3.00$ sudo -bash: sudo: command not found -bash-3.00$ apt-get -bash: apt-get: command not found
alvas's user avatar
  • 135
0 votes
1 answer
2k views

How to add yourself to sudoers list?

I was trying to install a package using the command: sudo apt-get install ruby-rvm But I'm prompted with nish is not in the sudoers file. This incident will be reported. I tried to add myself to ...
naka's user avatar
  • 101
3 votes
4 answers
67k views

Removing MySQL completely on Linux

I'm fairly new to Linux, when I first installed MySQL it was during an LAMP setup on personal machine with a Ubuntu Setup. ATM, I'm trying to get a fresh, clean install of only MySQL. I've been to ...
user avatar