I'm using Ubuntu 21.04. Everytime i try to add repositories I'm getting the following errors and I'm not able to install any applications. This is not happening for a specific repo, but for every repo.
Refer this example
root@mahesh-3567:/home/mahesh# sudo add-apt-repository 'deb http://dl.winehq.org/wine-builds/ubuntu hirsuite main'
Repository: 'deb http://dl.winehq.org/wine-builds/ubuntu hirsuite main'
Description:
Archive for codename: hirsuite components: main
More info: http://dl.winehq.org/wine-builds/ubuntu
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Adding deb entry to /etc/apt/sources.list.d/archive_uri-http_dl_winehq_org_wine-builds_ubuntu-hirsute.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/archive_uri-http_dl_winehq_org_wine-builds_ubuntu-hirsute.list
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 https://packages.microsoft.com/ubuntu/21.04/prod hirsute InRelease
Hit:3 http://in.archive.ubuntu.com/ubuntu hirsute InRelease
Get:4 http://security.ubuntu.com/ubuntu hirsute-security InRelease [101 kB]
Ign:5 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu hirsute InRelease
Hit:6 http://archive.canonical.com/ubuntu hirsute InRelease
Hit:7 http://ppa.launchpad.net/cappelikan/ppa/ubuntu hirsute InRelease
Get:8 http://in.archive.ubuntu.com/ubuntu hirsute-updates InRelease [109 kB]
Hit:9 http://packages.microsoft.com/repos/code stable InRelease
Ign:10 http://ppa.launchpad.net/fossproject/ppa/ubuntu hirsute InRelease
Hit:11 http://ppa.launchpad.net/gerardpuig/ppa/ubuntu hirsute InRelease
Hit:12 http://ppa.launchpad.net/touchegg/stable/ubuntu hirsute InRelease
Hit:13 https://dl.winehq.org/wine-builds/ubuntu hirsute InRelease
Err:14 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu hirsute Release
404 Not Found [IP: 91.189.95.85 80]
Hit:15 http://in.archive.ubuntu.com/ubuntu hirsute-backports InRelease
Err:16 http://ppa.launchpad.net/fossproject/ppa/ubuntu hirsute Release
404 Not Found [IP: 91.189.95.85 80]
Ign:17 http://dl.winehq.org/wine-builds/ubuntu hirsuite InRelease
Err:18 http://dl.winehq.org/wine-builds/ubuntu hirsuite Release
404 Not Found [IP: 199.232.46.217 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu hirsute 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.
E: The repository 'http://ppa.launchpad.net/fossproject/ppa/ubuntu hirsute 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.
E: The repository 'http://dl.winehq.org/wine-builds/ubuntu hirsuite 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.
root@mahesh-3567:/home/mahesh#
Please let me know how to solve this issue