DEV Community

Cover image for Actualizar la versión de Ubuntu
ArturoLG
ArturoLG

Posted on

2 1

Actualizar la versión de Ubuntu

Actualizar Ubuntu

Para actualizar la versión de Ubuntu se recomiendan los siguientes pasos:

Estos pasos son para pasar de Ubuntu 16.04 a 18.04

Reemplazar el nombre clave de la versión de Ubuntu

$ sudo sed -i 's/yakkety/bionic/g' /etc/apt/sources.list
$ sudo sed -i 's/zesty/bionic/g' /etc/apt/sources.list
$ sudo sed -i 's/^/#/' /etc/apt/sources.list.d/*.list

Actualizar el repositorio de paquetes

$ sudo apt update

Aplicar las actualizaciones disponibles

$ sudo apt upgrade

Realizar el upgrade de la distribución

$ sudo apt dist-upgrade

Hacer limpieza de los programas que ya no son relevantes en la nueva distribución

$ sudo apt autoremove

Aplicar la limpieza de paquetes viejos

$ sudo apt clean

Reiniciar el sistema

$ sudo shutdown -r now

Verificar la actualización del sistema

$ lsb_release  -a

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay