Whenever I run the command "sudo apt install octave" I keep getting this in my terminal window
Err:1 http://in.archive.ubuntu.com/ubuntu yakkety/main amd64 libxml-libxml-perl amd64 2.0128+dfsg-1
404 Not Found
Err:2 http://in.archive.ubuntu.com/ubuntu yakkety/universe amd64 pstoedit amd64 3.70-1.1
404 Not Found
Ign:3 http://in.archive.ubuntu.com/ubuntu yakkety/main amd64 tex-common all 6.05
Err:4 http://in.archive.ubuntu.com/ubuntu yakkety/universe amd64 texinfo amd64 6.1.0.dfsg.1-8
404 Not Found
Err:5 http://in.archive.ubuntu.com/ubuntu yakkety-updates/main amd64 libosmesa6 amd64 12.0.6-0ubuntu0.16.10.1
404 Not Found
Ign:6 http://in.archive.ubuntu.com/ubuntu yakkety/universe amd64 octave-common all 4.0.3-2ubuntu3
Err:7 http://in.archive.ubuntu.com/ubuntu yakkety/universe amd64 octave amd64 4.0.3-2ubuntu3
404 Not Found
Ign:8 http://in.archive.ubuntu.com/ubuntu yakkety/universe amd64 octave-info all 4.0.3-2ubuntu3
Err:3 http://in.archive.ubuntu.com/ubuntu yakkety/main i386 tex-common all 6.05
404 Not Found
Err:6 http://in.archive.ubuntu.com/ubuntu yakkety/universe i386 octave-common all 4.0.3-2ubuntu3
404 Not Found
Err:8 http://in.archive.ubuntu.com/ubuntu yakkety/universe i386 octave-info all 4.0.3-2ubuntu3
404 Not Found
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/libx/libxml-libxml-perl/libxml-libxml-perl_2.0128+dfsg-1_amd64.deb 404 Not Found
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/p/pstoedit/pstoedit_3.70-1.1_amd64.deb 404 Not Found
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/t/tex-common/tex-common_6.05_all.deb 404 Not Found
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/t/texinfo/texinfo_6.1.0.dfsg.1-8_amd64.deb 404 Not Found
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/m/mesa/libosmesa6_12.0.6-0ubuntu0.16.10.1_amd64.deb 404 Not Found
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/o/octave/octave-common_4.0.3-2ubuntu3_all.deb 404 Not Found
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/o/octave/octave_4.0.3-2ubuntu3_amd64.deb 404 Not Found
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/o/octave/octave-info_4.0.3-2ubuntu3_all.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
I tried using "fix missing" and that didn't work. Tried using update and I got this:
Ign:1 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 InRelease
Get:2 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release [3,462 B]
Get:3 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release.gpg [801 B]
Ign:4 http://dl.google.com/linux/chrome/deb stable InRelease
Err:3 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release.gpg
The following signatures were invalid: EXPKEYSIG D68FA50FEA312927 MongoDB 3.2 Release Signing Key <packaging@mongodb.com>
Ign:5 http://in.archive.ubuntu.com/ubuntu yakkety InRelease
Hit:6 http://ppa.launchpad.net/ethereum/ethereum/ubuntu yakkety InRelease
Ign:7 http://in.archive.ubuntu.com/ubuntu yakkety-updates InRelease
Ign:8 http://security.ubuntu.com/ubuntu yakkety-security InRelease
Ign:9 http://us.archive.ubuntu.com/ubuntu wily InRelease
Ign:10 http://in.archive.ubuntu.com/ubuntu yakkety-backports InRelease
Ign:11 http://ppa.launchpad.net/octave/stable/ubuntu yakkety InRelease
Hit:12 http://dl.google.com/linux/chrome/deb stable Release
Err:13 http://security.ubuntu.com/ubuntu yakkety-security Release
404 Not Found
Err:14 http://us.archive.ubuntu.com/ubuntu wily Release
404 Not Found
Err:15 http://in.archive.ubuntu.com/ubuntu yakkety Release
404 Not Found
Err:17 http://in.archive.ubuntu.com/ubuntu yakkety-updates Release
404 Not Found
Hit:18 http://ppa.launchpad.net/webupd8team/java/ubuntu yakkety InRelease
Hit:19 http://repo.acestream.org/ubuntu trusty InRelease
Err:20 http://in.archive.ubuntu.com/ubuntu yakkety-backports Release
404 Not Found
Err:21 http://ppa.launchpad.net/octave/stable/ubuntu yakkety Release
404 Not Found
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release: The following signatures were invalid: EXPKEYSIG D68FA50FEA312927 MongoDB 3.2 Release Signing Key <packaging@mongodb.com>
E: The repository 'http://security.ubuntu.com/ubuntu yakkety-security Release' does no longer 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://us.archive.ubuntu.com/ubuntu wily 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://in.archive.ubuntu.com/ubuntu yakkety Release' does no longer 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://in.archive.ubuntu.com/ubuntu yakkety-updates Release' does no longer 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://in.archive.ubuntu.com/ubuntu yakkety-backports Release' does no longer 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: http://repo.acestream.org/ubuntu/dists/trusty/InRelease: Signature by key E1254F21D636B7EFDE41D2AF50E2BCF0E3805CD8 uses weak digest algorithm (SHA1)
E: The repository 'http://ppa.launchpad.net/octave/stable/ubuntu yakkety 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.
Can someone help me out here?