[linux-support] downloading and installing a program

Markus Wernig wernigm at lugbe.ch
Fri Dec 24 20:02:27 CET 2021


Hi Georges

On 24.12.21 03:02, ge2b at posteo.net wrote:

> debian at ThinkPad-T580:~$ sudo nano /etc/apt/sources.list
> [sudo] password for debian: 
> Use "fg" to return to nano.
> 
> [1]+  Stopped                 sudo nano /etc/apt/sources.list
> debian at ThinkPad-T580:~$ jobs
> [1]+  Stopped                 sudo nano /etc/apt/sources.list

That means that somewhere there you pressed Ctrl-Z (the Ctrl key and the
"Z" key together). That stopped the current program (sudo) and sent it
to the background. As it said, you could have raised it back to the
foreground by typing "fg" (letters f and g).

Log out and back in, then run "sudo nano /etc/apt/sources.list", and
type only your user password, nothing else. This will work.

> *debian at ThinkPad-T580:~$ xhost +si:localuser:root*

You do not need to do that when using nano or vim.

Best /markus

-- 
Markus Wernig                              🐧
Präsident Linux User Group Bern
PGP: D9203D2A4AD9FC3333DEEF9DF7ACC6208E82E4DC
---------------------------------------------
Linux User Group Bern    -   https://lugbe.ch
---------------------------------------------




More information about the Linux-support mailing list