Menú alternativo
Alternar el menú de preferencias
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
m Texto reemplazado: «<syntaxhighlight lang="bash ">» por «<syntaxhighlight lang="bash" copy>»
 
(No se muestran 17 ediciones intermedias del mismo usuario)
Línea 1: Línea 1:
== Comandos ==
= Tutoriales =
*Actualizar a versión superior del sistema
===== Escritorio remoto =====
<syntaxhighlight lang="bash ">
*[[Configurar acceso remoto Ubuntu | Configurar acceso remoto]] - Conectarse a Ubuntu desde otro equipo.
do-release-upgrade
</syntaxhighlight>


== Recursos ==
= Recursos =
*[https://en.wikipedia.org/wiki/Ubuntu_version_history#Table_of_versions Tabla de versiones]
*[https://en.wikipedia.org/wiki/Ubuntu_version_history#Table_of_versions Tabla de versiones]


== Mantenimiento ==
= Mantenimiento =
*[[Mantenimiento Ubuntu básico]]
*[[Mantenimiento Ubuntu básico]]
*[[Mantenimiento Ubuntu avanzado]]
*[[Mantenimiento Ubuntu avanzado]]


== Solución a problemas ==
= Solución a problemas =
*[https://askubuntu.com/questions/171209/my-boot-partition-hit-100-and-now-i-cant-upgrade-cant-remove-old-kernels-to/1165681#1165681 My /boot partition hit 100% and now I can't upgrade. Can't remove old kernels to make room]
*[[Recuperar grub en Ubuntu | Recuperar grub]]
**[https://launchpad.net/linux-purge/+announcement/15313 linux-purge]
*[[My /boot partition hit 100% and now I can't upgrade. Can't remove old kernels to make room]]
**Instalar con:
*[https://www.techrepublic.com/article/how-to-fix-apts-the-following-packages-have-been-kept-back-issue/ The following packages have been kept back]
*[[Cannot load /usr/lib/apache2/modules/libphp8.1.so into server, cannot open shared object file: no such file or directoy]]


<syntaxhighlight lang="bash ">
= Comandos =
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
===== Actualizar a versión superior del sistema =====
 
<syntaxhighlight lang="bash" copy>
apt install dialog
do-release-upgrade
</syntaxhighlight>
</syntaxhighlight>


Para saber los kernel que hay instalados:
Tras realizar la actualización y reiniciar, posiblemente algunas cosas dejene de funcionar.


<syntaxhighlight lang="bash ">
Un ejemplo de ellos es si usabas ufw o similares, debes reinstalarlo (la actualización lo puede borrar) y reiniciar los servicios o el sistema y todo debería funcionar como siempre.
dpkg --list | grep linux-image
</syntaxhighlight>


Then run this in terminal, use "sudo" if proceed in your case:
<syntaxhighlight lang="bash" copy>
 
apt install ufw
<syntaxhighlight lang="bash ">
ufw enable
linux-purge --clear-boot
</syntaxhighlight>
</syntaxhighlight>


Then go on removing kernels by e.g.
También te tocará volver a habilitar los repositorios de terceros que se deshabilitaron por la actualización.
 
<syntaxhighlight lang="bash ">
linux-purge --keep 1 --choose
</syntaxhighlight>
 
*[https://www.techrepublic.com/article/how-to-fix-apts-the-following-packages-have-been-kept-back-issue/ The following packages have been kept back]

Revisión actual - 14:01 26 ene 2026

Tutoriales

Escritorio remoto

Recursos

Mantenimiento

Solución a problemas

Comandos

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

Tras realizar la actualización y reiniciar, posiblemente algunas cosas dejene de funcionar.

Un ejemplo de ellos es si usabas ufw o similares, debes reinstalarlo (la actualización lo puede borrar) y reiniciar los servicios o el sistema y todo debería funcionar como siempre.

apt install ufw
ufw enable

También te tocará volver a habilitar los repositorios de terceros que se deshabilitaron por la actualización.