Como instalar programas en Ubuntu desde Python
Publicado por avlaar (1 intervención) el 12/04/2023 17:57:06
Buenas tardes, llevo dias intentado instalar programas .deb en Ubuntu, pero al poner:
os.system('sudo apt install /ruta/programa.deb')
Obtengo el siguiente error:
sudo: the "no new privileges" flag is set, which prevents sudo from running as root.
sudo: if sudo is running in a container, you may need to adjust the container configuration to disable the flag.
¿Cómo podría solucionar esto?
os.system('sudo apt install /ruta/programa.deb')
Obtengo el siguiente error:
sudo: the "no new privileges" flag is set, which prevents sudo from running as root.
sudo: if sudo is running in a container, you may need to adjust the container configuration to disable the flag.
¿Cómo podría solucionar esto?
Valora esta pregunta


0