New user here, I've used Ubuntu for a few weeks now and I must have installed something incorrectly or something because any time I run sudo apt update
I get a giant wall of errors. It probably comes from me installing drivers multiple times like a monkey. They look like this:
Err:17 http://security.ubuntu.com/ubuntu impish-security Release 404 Not Found [IP: 2620:2d:4000:1::19 80] Hit:18 https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy InRelease Get:19 http://security.ubuntu.com/ubuntu jammy-security/main amd64 DEP-11 Metadata [11.4 kB] Get:20 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 DEP-11 Metadata [10.1 kB] Ign:21 https://ppa.launchpadcontent.net/gregory-hainaut/pcsx2.official.ppa/ubuntu jammy InRelease Hit:22 https://ppa.launchpadcontent.net/lutris-team/lutris/ubuntu jammy InRelease Hit:23 https://ppa.launchpadcontent.net/openrazer/stable/ubuntu jammy InRelease Err:24 https://ppa.launchpadcontent.net/gregory-hainaut/pcsx2.official.ppa/ubuntu jammy Release 404 Not Found [IP: 2620:2d:4000:1::3e 443] Reading package lists... Done W: https://dl.winehq.org/wine-builds/ubuntu/dists/hirsute/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list:3 and /etc/apt/sources.list.d/winehq-jammy.sources:1 W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list:3 and /etc/apt/sources.list.d/winehq-jammy.sources:1 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list:3 and /etc/apt/sources.list.d/winehq-jammy.sources:1 W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list:3 and /etc/apt/sources.list.d/winehq-jammy.sources:1 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list:3 and /etc/apt/sources.list.d/winehq-jammy.sources:1 W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list:3 and /etc/apt/sources.list.d/winehq-jammy.sources:1 W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list:3 and /etc/apt/sources.list.d/winehq-jammy.sources:1 W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list:3 and /etc/apt/sources.list.d/winehq-jammy.sources:1 W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list:3 and /etc/apt/sources.list.d/winehq-jammy.sources:1 W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list:3 and /etc/apt/sources.list.d/winehq-jammy.sources:1 W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list:3 and /etc/apt/sources.list.d/winehq-jammy.sources:1 W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list:3 and /etc/apt/sources.list.d/winehq-jammy.sources:1 W: https://dl.winehq.org/wine-builds/ubuntu/dists/groovy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. E: The repository 'http://security.ubuntu.com/ubuntu impish-security 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 'https://ppa.launchpadcontent.net/gregory-hainaut/pcsx2.official.ppa/ubuntu jammy 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. W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list:3 and /etc/apt/sources.list.d/winehq-jammy.sources:1 W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list:3 and /etc/apt/sources.list.d/winehq-jammy.sources:1 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list:3 and /etc/apt/sources.list.d/winehq-jammy.sources:1 W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list:3 and /etc/apt/sources.list.d/winehq-jammy.sources:1 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list:3 and /etc/apt/sources.list.d/winehq-jammy.sources:1 W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list:3 and /etc/apt/sources.list.d/winehq-jammy.sources:1 W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list:3 and /etc/apt/sources.list.d/winehq-jammy.sources:1 W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list:3 and /etc/apt/sources.list.d/winehq-jammy.sources:1 W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list:3 and /etc/apt/sources.list.d/winehq-jammy.sources:1 W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list:3 and /etc/apt/sources.list.d/winehq-jammy.sources:1 W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list:3 and /etc/apt/sources.list.d/winehq-jammy.sources:1 W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list:3 and /etc/apt/sources.list.d/winehq-jammy.sources:1
I'm pretty sure the command works fine and updates everything not listed here, but I want to know how to get rid of all the errors. I don't think it's actually an issue, it's just an eyesore. The only thing I actually recognize is E: The repository 'https://ppa.launchpadcontent.net/gregory-hainaut/pcsx2.official.ppa/ubuntu jammy Release' does not have a Release file.
, where "pcsx2" is my ps2 emulator that I use very often. If anyone could help me tidy up my terminal that would be wonderful!
sudo apt update
andsudo apt upgrade
. Once the system is up-to-date with the default sources, you should be able to release upgrade. You can add compatible PPAs and sources after the upgrade but do not add sources for another distro or another version of Ubuntu. Try to use default sources or snaps instead of adding sources when possible. – Nmath Aug 16 '22 at 18:35