Hacker Public Radio

HPR4492: How to do a distribution upgrade of an Ubuntu LTS on a Digital Ocean droplet


Listen Later

This show has been flagged as Clean by the host.

Digital Ocean maintains its own version of the Ubuntu core packages which are hosted in 

it's own repositories. To upgrade from one LTS to the next the do-release-upgrade program 

must know to use third party repositories during the upgrade process.


RELEASE_UPGRADER_ALLOW_THIRD_PARTY=1 do-release-upgrade


Moving data from a previous version of Postgres to the latest. In this case, the 

obsolete Postgres v12 to the default Postgres v14 on Ubuntu 22.04 LTS.


 pg_dropcluster --stop 14 main
 pg_upgradecluster -v 14 12 main


Fixing NextCloud after the upgrade.


The version of PHP upgraded from v7.4 to v8.1. The old versions of the Apache2 PHP modules must be disabled and the new versions enabled.


a2dismod php7.4
a2enmod php8.1
apt install php8.1-pgsql
apt install php8.1-gd


References:

  • How To Upgrade to Ubuntu 22.04 Jammy Jellyfish
  • "Invalid package information" error when upgrading to Ubuntu 20.04


    Provide feedback on this episode.

    ...more
    View all episodesView all episodes
    Download on the App Store

    Hacker Public RadioBy Hacker Public Radio

    • 4.2
    • 4.2
    • 4.2
    • 4.2
    • 4.2

    4.2

    34 ratings


    More shows like Hacker Public Radio

    View all
    The Changelog: Software Development, Open Source by Changelog Media

    The Changelog: Software Development, Open Source

    291 Listeners

    Defensive Security Podcast - Malware, Hacking, Cyber Security & Infosec by Jerry Bell and Andrew Kalat

    Defensive Security Podcast - Malware, Hacking, Cyber Security & Infosec

    371 Listeners

    LINUX Unplugged by Jupiter Broadcasting

    LINUX Unplugged

    266 Listeners

    SANS Internet Stormcenter Daily Cyber Security Podcast (Stormcast) by Johannes B. Ullrich

    SANS Internet Stormcenter Daily Cyber Security Podcast (Stormcast)

    652 Listeners

    Curious Cases by BBC Radio 4

    Curious Cases

    830 Listeners

    The Strong Towns Podcast by Strong Towns

    The Strong Towns Podcast

    424 Listeners

    Late Night Linux by The Late Night Linux Family

    Late Night Linux

    165 Listeners

    Darknet Diaries by Jack Rhysider

    Darknet Diaries

    8,017 Listeners

    Cybersecurity Today by Jim Love

    Cybersecurity Today

    177 Listeners

    CISO Series Podcast by David Spark, Mike Johnson, and Andy Ellis

    CISO Series Podcast

    189 Listeners

    TechCrunch Daily Crunch by TechCrunch

    TechCrunch Daily Crunch

    41 Listeners

    Strict Scrutiny by Crooked Media

    Strict Scrutiny

    5,776 Listeners

    2.5 Admins by The Late Night Linux Family

    2.5 Admins

    97 Listeners

    Cyber Security Headlines by CISO Series

    Cyber Security Headlines

    136 Listeners

    What the Hack? by DeleteMe

    What the Hack?

    222 Listeners