This is because the PPA you are trying to access does not have any information for xenial (or any release newer than that): http://ppa.launchpad.net/takluyver/matplotlib-daily/ubuntu/dists/.
Unfortunately you will just need to disable this PPA. ** Changed in: apt (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1988591 Title: apt update fails with ` 404 Not Found [IP: 185.125.190.52 80]` Status in apt package in Ubuntu: Invalid Bug description: sudo apt update Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease Hit:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease Hit:3 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease Ign:5 http://ppa.launchpad.net/takluyver/matplotlib-daily/ubuntu xenial InRelease Hit:6 http://ppa.launchpad.net/yubico/stable/ubuntu xenial InRelease Err:7 http://ppa.launchpad.net/takluyver/matplotlib-daily/ubuntu xenial Release 404 Not Found [IP: 185.125.190.52 80] Reading package lists... Done E: The repository 'http://ppa.launchpad.net/takluyver/matplotlib-daily/ubuntu xenial Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1988591/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp