1

I have been trying to update my PC to Ubuntu 17.04. Apparently I can't. I have issues with these two.

Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/f/fonts-takao/fonts-takao-pgothic_00303.01-2ubuntu1_all.deb Hash Sum mismatch
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gdb/gdb_8.0.1-0ubuntu1_amd64.deb Hash Sum mismatch.

I have tried answers from Trouble downloading packages list due to a "Hash sum mismatch" error

I tried downloading several times everytime the update comes to like 1930/1931 downloaded and fails here.

I don’t know what is the issue. My PC previously stuck at a purple screen and I selected advanced options in GRUB and selected an old version of Ubuntu recovery from there.

Melebius
  • 11,750

2 Answers2

2

Ubuntu 17.04 is EOL.

Normally it is only allowed to upgrade to next version (16.10 which is also EOL) or next LTS version, 18.04.

So, upgrade to Ubuntu 18.04 is the only supported option now.

Soren A
  • 7,191
0

Upgrade to the latest LTS. You can use the "-d" argument to upgrade to the latest supported release, which currently the latest development release.

$ sudo do-release-upgrade -d

You can avoid errors and conflicts by cleaning taking your repository library back to the defaults and running these commands:

$ sudo apt update
$ sudo apt upgrade
$ sudo apt full-upgrade

This is the default source.list for Ubuntu 16.04:

deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ xenial universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse

To avoid conflicts when trying to upgrade, backup your current /etc/apt/sources.list and use the default one. After you have completed your upgrade, you can then migrate your custom repository listings back.

The release upgrade process usually automatically disables possible conflicting entries. But it doesn't always work.

L. D. James
  • 25,444