I started getting an error message when I log in Failed to connect to ubuntu.com meta-release-lts

February 11, 2019 3.7k views
DNS Ubuntu 18.04

0 packages can be updated.
0 updates are security updates.

Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic

ping changelogs.ubuntu.com
PING changelogs.ubuntu.com ( 56(84) bytes of data.
64 bytes from rubay.canonical.com ( icmpseq=1 ttl=52 time=70.7 ms
64 bytes from rubay.canonical.com ( icmp
seq=2 ttl=52 time=69.4 ms
64 bytes from rubay.canonical.com ( icmp_seq=3 ttl=52 time=70.3 ms
— changelogs.ubuntu.com ping statistics —
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 69.424/70.170/70.758/0.634 ms


1 Answer

Reading this: https://ubuntuforums.org/showthread.php?t=2391641
addressed it with this: sudo rm /var/lib/ubuntu-release-upgrader/release-upgrade-available

  • Or just empty the file with:

    sudo truncate -s 0 /var/lib/ubuntu-release-upgrader/release-upgrade-available

    It seems that when the connection can be re-established to check the changelog, this file is not cleaned up properly. So, after the first time it cannot connect, the message is stored in the file and never erased so it will always show up as if it cannot connect (when actually it is connecting).

Have another answer? Share your knowledge.