Unable to locate package default-jdk on Ubuntu 16.10 [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I am trying to install Java on my system.



when i run
sudo apt-get install default-jdk



I get




E: Unable to locate package default-jdk




and before that i used
sudo apt-get update && apt-get upgrade



and got:



>Ign:1 http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu yakkety InRelease 
.
.
.
Err:16 http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu yakkety/main amd64 Packages
404 Not Found
.
.
.
yakkety/main DEP-11 64x64 Icons
Err:26 http://ppa.launchpad.net/jonathonf/vlc/ubuntu yakkety/main i386 Packages
404 Not Found
.
.
.
Fetched 2,802 B in 18s (154 B/s)
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu yakkety Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://ppa.launchpad.net/jonathonf/vlc/ubuntu yakkety Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu/dists/yakkety/main/binary-amd64/Packages 404 Not Found
E: Failed to fetch http://ppa.launchpad.net/jonathonf/vlc/ubuntu/dists/yakkety/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.


I also tried fixing the PPA repositories but i'm not exactly sure i'm in the right direction with this.



How do i solve this?










share|improve this question















closed as off-topic by muru, karel, dessert, Rinzwind, Charles Green Feb 1 at 14:18


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is specific to an end of life Ubuntu release. These are no longer supported and are therefore off-topic here. To upgrade, see: How to install software or upgrade from old unsupported release?" – muru, dessert, Rinzwind, Charles Green
If this question can be reworded to fit the rules in the help center, please edit the question.












  • Possible duplicate of How to install software or upgrade from an old unsupported release?
    – karel
    Feb 1 at 11:37














up vote
0
down vote

favorite












I am trying to install Java on my system.



when i run
sudo apt-get install default-jdk



I get




E: Unable to locate package default-jdk




and before that i used
sudo apt-get update && apt-get upgrade



and got:



>Ign:1 http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu yakkety InRelease 
.
.
.
Err:16 http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu yakkety/main amd64 Packages
404 Not Found
.
.
.
yakkety/main DEP-11 64x64 Icons
Err:26 http://ppa.launchpad.net/jonathonf/vlc/ubuntu yakkety/main i386 Packages
404 Not Found
.
.
.
Fetched 2,802 B in 18s (154 B/s)
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu yakkety Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://ppa.launchpad.net/jonathonf/vlc/ubuntu yakkety Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu/dists/yakkety/main/binary-amd64/Packages 404 Not Found
E: Failed to fetch http://ppa.launchpad.net/jonathonf/vlc/ubuntu/dists/yakkety/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.


I also tried fixing the PPA repositories but i'm not exactly sure i'm in the right direction with this.



How do i solve this?










share|improve this question















closed as off-topic by muru, karel, dessert, Rinzwind, Charles Green Feb 1 at 14:18


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is specific to an end of life Ubuntu release. These are no longer supported and are therefore off-topic here. To upgrade, see: How to install software or upgrade from old unsupported release?" – muru, dessert, Rinzwind, Charles Green
If this question can be reworded to fit the rules in the help center, please edit the question.












  • Possible duplicate of How to install software or upgrade from an old unsupported release?
    – karel
    Feb 1 at 11:37












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am trying to install Java on my system.



when i run
sudo apt-get install default-jdk



I get




E: Unable to locate package default-jdk




and before that i used
sudo apt-get update && apt-get upgrade



and got:



>Ign:1 http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu yakkety InRelease 
.
.
.
Err:16 http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu yakkety/main amd64 Packages
404 Not Found
.
.
.
yakkety/main DEP-11 64x64 Icons
Err:26 http://ppa.launchpad.net/jonathonf/vlc/ubuntu yakkety/main i386 Packages
404 Not Found
.
.
.
Fetched 2,802 B in 18s (154 B/s)
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu yakkety Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://ppa.launchpad.net/jonathonf/vlc/ubuntu yakkety Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu/dists/yakkety/main/binary-amd64/Packages 404 Not Found
E: Failed to fetch http://ppa.launchpad.net/jonathonf/vlc/ubuntu/dists/yakkety/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.


I also tried fixing the PPA repositories but i'm not exactly sure i'm in the right direction with this.



How do i solve this?










share|improve this question















I am trying to install Java on my system.



when i run
sudo apt-get install default-jdk



I get




E: Unable to locate package default-jdk




and before that i used
sudo apt-get update && apt-get upgrade



and got:



>Ign:1 http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu yakkety InRelease 
.
.
.
Err:16 http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu yakkety/main amd64 Packages
404 Not Found
.
.
.
yakkety/main DEP-11 64x64 Icons
Err:26 http://ppa.launchpad.net/jonathonf/vlc/ubuntu yakkety/main i386 Packages
404 Not Found
.
.
.
Fetched 2,802 B in 18s (154 B/s)
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu yakkety Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://ppa.launchpad.net/jonathonf/vlc/ubuntu yakkety Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu/dists/yakkety/main/binary-amd64/Packages 404 Not Found
E: Failed to fetch http://ppa.launchpad.net/jonathonf/vlc/ubuntu/dists/yakkety/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.


I also tried fixing the PPA repositories but i'm not exactly sure i'm in the right direction with this.



How do i solve this?







java jdk






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 1 at 11:23









Soren A

3,0781724




3,0781724










asked Feb 1 at 10:25









Ori

31




31




closed as off-topic by muru, karel, dessert, Rinzwind, Charles Green Feb 1 at 14:18


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is specific to an end of life Ubuntu release. These are no longer supported and are therefore off-topic here. To upgrade, see: How to install software or upgrade from old unsupported release?" – muru, dessert, Rinzwind, Charles Green
If this question can be reworded to fit the rules in the help center, please edit the question.




closed as off-topic by muru, karel, dessert, Rinzwind, Charles Green Feb 1 at 14:18


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is specific to an end of life Ubuntu release. These are no longer supported and are therefore off-topic here. To upgrade, see: How to install software or upgrade from old unsupported release?" – muru, dessert, Rinzwind, Charles Green
If this question can be reworded to fit the rules in the help center, please edit the question.











  • Possible duplicate of How to install software or upgrade from an old unsupported release?
    – karel
    Feb 1 at 11:37
















  • Possible duplicate of How to install software or upgrade from an old unsupported release?
    – karel
    Feb 1 at 11:37















Possible duplicate of How to install software or upgrade from an old unsupported release?
– karel
Feb 1 at 11:37




Possible duplicate of How to install software or upgrade from an old unsupported release?
– karel
Feb 1 at 11:37










1 Answer
1






active

oldest

votes

















up vote
-1
down vote



accepted










It happened to me before, although my release version was a supported one (sometimes oracle repo updates Java and ppa tries to download installer from the old link).



In this link you can see the following:



Ubuntu 16.10 Yakkety Yak is no longer supported by Canonical (and thus, Launchpad and this PPA). The PPA supports Ubuntu 17.10, 17.04, 16.04, 14.04 and 12.04.



Although, if you require to install Java in Ubuntu, I'd rather recommend to install directly .tar.gz file from here, follow the instructions for installing, you just need to uncompress .tar.gz file and update alternatives for Java as this link explain.






share|improve this answer




















  • It worked. Thanks!
    – Ori
    Feb 1 at 12:18

















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
-1
down vote



accepted










It happened to me before, although my release version was a supported one (sometimes oracle repo updates Java and ppa tries to download installer from the old link).



In this link you can see the following:



Ubuntu 16.10 Yakkety Yak is no longer supported by Canonical (and thus, Launchpad and this PPA). The PPA supports Ubuntu 17.10, 17.04, 16.04, 14.04 and 12.04.



Although, if you require to install Java in Ubuntu, I'd rather recommend to install directly .tar.gz file from here, follow the instructions for installing, you just need to uncompress .tar.gz file and update alternatives for Java as this link explain.






share|improve this answer




















  • It worked. Thanks!
    – Ori
    Feb 1 at 12:18














up vote
-1
down vote



accepted










It happened to me before, although my release version was a supported one (sometimes oracle repo updates Java and ppa tries to download installer from the old link).



In this link you can see the following:



Ubuntu 16.10 Yakkety Yak is no longer supported by Canonical (and thus, Launchpad and this PPA). The PPA supports Ubuntu 17.10, 17.04, 16.04, 14.04 and 12.04.



Although, if you require to install Java in Ubuntu, I'd rather recommend to install directly .tar.gz file from here, follow the instructions for installing, you just need to uncompress .tar.gz file and update alternatives for Java as this link explain.






share|improve this answer




















  • It worked. Thanks!
    – Ori
    Feb 1 at 12:18












up vote
-1
down vote



accepted







up vote
-1
down vote



accepted






It happened to me before, although my release version was a supported one (sometimes oracle repo updates Java and ppa tries to download installer from the old link).



In this link you can see the following:



Ubuntu 16.10 Yakkety Yak is no longer supported by Canonical (and thus, Launchpad and this PPA). The PPA supports Ubuntu 17.10, 17.04, 16.04, 14.04 and 12.04.



Although, if you require to install Java in Ubuntu, I'd rather recommend to install directly .tar.gz file from here, follow the instructions for installing, you just need to uncompress .tar.gz file and update alternatives for Java as this link explain.






share|improve this answer












It happened to me before, although my release version was a supported one (sometimes oracle repo updates Java and ppa tries to download installer from the old link).



In this link you can see the following:



Ubuntu 16.10 Yakkety Yak is no longer supported by Canonical (and thus, Launchpad and this PPA). The PPA supports Ubuntu 17.10, 17.04, 16.04, 14.04 and 12.04.



Although, if you require to install Java in Ubuntu, I'd rather recommend to install directly .tar.gz file from here, follow the instructions for installing, you just need to uncompress .tar.gz file and update alternatives for Java as this link explain.







share|improve this answer












share|improve this answer



share|improve this answer










answered Feb 1 at 11:20









Alvaro Niño

2337




2337











  • It worked. Thanks!
    – Ori
    Feb 1 at 12:18
















  • It worked. Thanks!
    – Ori
    Feb 1 at 12:18















It worked. Thanks!
– Ori
Feb 1 at 12:18




It worked. Thanks!
– Ori
Feb 1 at 12:18


Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491