LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-15-2014, 05:16 PM   #1
DKI
Member
 
Registered: Nov 2014
Posts: 46

Rep: Reputation: Disabled
Question E: Unable to locate package ...


Hey,
i am very new in working with Linux, and I want to "install" a Minecraft Server on my vServer.
But by some things I became an Error like "E: Unable to locate package..." for example, when I use the command
Quote:
apt-get install oracle-java7-set-dafault
I became this Error:
Quote:
root@srv38182:/# apt-get install oracle-java7-set-dafault
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package oracle-java7-set-dafault
root@srv38182:/#
Can somebody help me, please?


Thanks
DKI
 
Old 11-15-2014, 07:05 PM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,479

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
It means there is no such package available to your system.
 
Old 11-16-2014, 01:29 AM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Can you tell us what distro you're using. Can you post the contents of your /etc/apt/sources.list file. Given the non-free name of the package (oracle...) you may have to go to the oracle website to get this package or else download the .deb file from the website that mentions oracle-java7-set-dafault.
jdk
 
Old 11-16-2014, 03:20 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,654

Rep: Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280
"oracle-java7-set-dafault" is of course a typo.


``oracle-java7-set-default´´
http://www.ubuntuupdates.org/package...a7-set-default


-
 
Old 11-16-2014, 03:58 AM   #5
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
^^^^^^^ Good catch
 
Old 11-16-2014, 06:00 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,654

Rep: Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280Reputation: 3280
← #7 .

Except that the java packages 'oracle-java7-set-default' and
'oracle-java7-installer' have been removed from all Ubuntu repo´s,
I think.
 
Old 11-16-2014, 07:00 AM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Are you trying to install java?
It's openjdk & icedtea-plugin in the repo's. If you want oracle java
https://sites.google.com/site/easylinuxtipsproject/java
 
Old 11-16-2014, 03:40 PM   #8
DKI
Member
 
Registered: Nov 2014
Posts: 46

Original Poster
Rep: Reputation: Disabled
Thanks for all answers, I thought the Problem was a stupid typing error because "oracle-java7-set-default" is right intead off "oracle-java7-set-dafault".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] E: Unable to locate package openvpn CrypticUser Linux - Newbie 14 07-22-2014 03:29 PM
E:unable to locate package hafiznasrullah Linux - Server 7 09-10-2012 07:42 AM
[SOLVED] E: Unable to locate package nova-comm E: Unable to locate package python-psycopq2 mint12 Linux - Virtualization and Cloud 2 01-05-2012 12:07 PM
Unable to locate package VSFTP LoneWolf69 Linux - Newbie 2 08-22-2011 04:58 PM
[SOLVED] E: Unable to locate package lamis0 Ubuntu 4 03-27-2011 06:33 AM


All times are GMT -5. The time now is 02:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration