Diferencia entre revisiones de «Ubuntu»
Ir a la navegación
Ir a la búsqueda
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 | ||
<syntaxhighlight lang="bash "> | |||
do-release-upgrade | |||
</syntaxhighlight> | |||
== Mantenimiento == | == Mantenimiento == | ||
Línea 13: | Línea 15: | ||
**Instalar con: | **Instalar con: | ||
<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 | ||
</ | </syntaxhighlight> | ||
Para saber los kernel que hay instalados: | Para saber los kernel que hay instalados: | ||
<syntaxhighlight lang="bash "> | |||
dpkg --list | grep linux-image | dpkg --list | grep linux-image | ||
</ | </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: | ||
<syntaxhighlight lang="bash "> | |||
linux-purge --clear-boot | linux-purge --clear-boot | ||
</ | </syntaxhighlight> | ||
Then go on removing kernels by e.g. | Then go on removing kernels by e.g. | ||
<syntaxhighlight lang="bash "> | |||
linux-purge --keep 1 --choose | linux-purge --keep 1 --choose | ||
</ | </syntaxhighlight> |
Revisión del 00:20 20 mar 2024
Comandos
- Actualizar a versión superior del sistema
do-release-upgrade
Mantenimiento
Solución a problemas
- My /boot partition hit 100% and now I can't upgrade. Can't remove old kernels to make room
- linux-purge
- Instalar con:
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