Menú alternativo
Toggle preferences menu
Menú alternativo personal
No has accedido
Tu dirección IP será visible si haces alguna edición

Diferencia entre revisiones de «Ubuntu»

De TechShareRoom wiki
Sin resumen de edición
Sin resumen de edición
Línea 1: Línea 1:
== Comandos ==
== Comandos ==
*Actualizar a versión superior del sistema
*Actualizar a versión superior del sistema
<nowiki>do-release-upgrade </nowiki>
<syntaxhighlight lang="bash ">
do-release-upgrade
</syntaxhighlight>


== Mantenimiento ==
== Mantenimiento ==
Línea 13: Línea 15:
**Instalar con:
**Instalar con:


<nowiki>
<syntaxhighlight lang="bash ">
sh -c 'cd /tmp && wget -N https://git.launchpad.net/linux-purge/plain/install-linux-purge.sh && chmod +x ./install-linux-purge.sh && sudo ./install-linux-purge.sh && rm ./install-linux-purge.sh' && [ "$BASH" ] && echo Replaced current shell in order to make the Bash completion work && exec bash
sh -c 'cd /tmp && wget -N https://git.launchpad.net/linux-purge/plain/install-linux-purge.sh && chmod +x ./install-linux-purge.sh && sudo ./install-linux-purge.sh && rm ./install-linux-purge.sh' && [ "$BASH" ] && echo Replaced current shell in order to make the Bash completion work && exec bash


apt install dialog
apt install dialog
</nowiki>
</syntaxhighlight>


Para saber los kernel que hay instalados:
Para saber los kernel que hay instalados:


<nowiki>
<syntaxhighlight lang="bash ">
dpkg --list | grep linux-image
dpkg --list | grep linux-image
</nowiki>
</syntaxhighlight>


Then run this in terminal, use "sudo" if proceed in your case:
Then run this in terminal, use "sudo" if proceed in your case:


<nowiki>
<syntaxhighlight lang="bash ">
linux-purge --clear-boot
linux-purge --clear-boot
</nowiki>
</syntaxhighlight>


Then go on removing kernels by e.g.
Then go on removing kernels by e.g.


<nowiki>
<syntaxhighlight lang="bash ">
linux-purge --keep 1 --choose
linux-purge --keep 1 --choose
</nowiki>
</syntaxhighlight>

Revisión del 01:20 20 mar 2024

Comandos

  • Actualizar a versión superior del sistema
do-release-upgrade

Mantenimiento

Solución a problemas

sh -c 'cd /tmp && wget -N https://git.launchpad.net/linux-purge/plain/install-linux-purge.sh && chmod +x ./install-linux-purge.sh && sudo ./install-linux-purge.sh && rm ./install-linux-purge.sh' && [ "$BASH" ] && echo Replaced current shell in order to make the Bash completion work && exec bash

apt install dialog

Para saber los kernel que hay instalados:

dpkg --list | grep linux-image

Then run this in terminal, use "sudo" if proceed in your case:

linux-purge --clear-boot

Then go on removing kernels by e.g.

linux-purge --keep 1 --choose