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
 
(No se muestran 16 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 =
*[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 =
 
*[[Recuperar grub en Ubuntu | Recuperar grub]]
*[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]
*[[My /boot partition hit 100% and now I can't upgrade. Can't remove old kernels to make room]]
**[https://launchpad.net/linux-purge/+announcement/15313 linux-purge]
*[https://www.techrepublic.com/article/how-to-fix-apts-the-following-packages-have-been-kept-back-issue/ The following packages have been kept back]
**Instalar con:
*[[Cannot load /usr/lib/apache2/modules/libphp8.1.so into server, cannot open shared object file: no such file or directoy]]


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

Revisión actual - 01:24 28 ago 2025

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.