New answers tagged

0

You grant the shell script hosted at this address full access rights to your computer, which it then uses to add the source. By omitting the | sudo bash - part, the commands that would be executed are instead shown, so you can review them, ideally before executing them.


5

Explanation of the line: curl -sL https://deb.nodesource.com/setup | sudo bash - curl flags and options: -s <==> Silent mode -L <==> or --location, will follow redirects sudo bash: The minus sign behind sudo bash in fact means take the input comming from the pipe and treat it as a bash script. and that is exactly what this link ...


4

Looking at https://deb.nodesource.com/setup, the following two lines of code add the apt repository for you when you run the script: exec_cmd "echo 'deb https://deb.nodesource.com/node_0.10 ${DISTRO} main' > /etc/apt/sources.list.d/nodesource.list" exec_cmd "echo 'deb-src https://deb.nodesource.com/node_0.10 ${DISTRO} main' >> ...


3

The repository file needs to be fixed for PlayOnLinux. Copy and paste the following lines in a terminal window to replace the existing repository file: wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add - sudo bash -c 'echo "deb http://deb.playonlinux.com/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/playonlinux.list' sudo ...


0

I started while installing synaptic-package-manager. Multiple events started appearing, but actual installation did not start. I used bleachbit (as root) a few times, as the installation was on and using sudo apt-get update for every app installation. Unchecked the deletion of apt files from bleachbit. I managed to install synaptic package manager from ...


1

For 16.04 Here is a list you can use for /etc/apt/sources.list Just run the following command: sudo nano /etc/apt/sources.list and then copy and paste the following contents into the file (these should be the only lines in the file!): deb http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse deb-src ...


0

I cannot check the screenshot at the moment, but the answer is obvious. By running a quick Google search, I found the answer you may need. Run the following commands from terminal: sudo mv /etc/apt/sources.list /etc/apt/sources.list.old sudo cat /etc/apt/sources.list.old | sudo tee /etc/apt/sources.list


1

"cronical" should be changed to "canonical". Do the following in terminal: sudo sed -i s/cronical/canonical/ /etc/apt/sources.list


0

In the end, I just enabled all the src repos. sed -i '/^#\sdeb-src /s/^#//' "/etc/apt/sources.list" This doesn't require upgrading the OS to an arbitrary version.


2

I had a similar problem as you had and finaly I started doing the following script, to write a temporary sources.list and later removing it again: # making a copy of the users original sources.list file cp -v /etc/apt/sources.list /etc/apt/sources.list.orig && # writing a custom sources.list file cat > /etc/apt/sources.list << "EOF" ...


0

Find the PID of prx and its location on system using proc-fs. Then u can analyse what it is



Top 50 recent answers are included