Unable to install the default jdk package on Debian

Help with issues regarding installation of Debian

Unable to install the default jdk package on Debian

Postby Lindell365 » 2019-03-12 10:40

I'm a Debian newbie and trying to install JDK on my new OS, receiving the following error: Please insert the disk labeled: Debian GNU/Linux 7.8.0 Wheezy - Official amd64 DVD Binary-1 20150110-14:43 in drive /media/cdrom/

I am using the following commands: apt-get update + apt-get install default-jdk

I searched for the requested file but with no success but with no luck. I'd be happy to get an explanation to this error and where can I find the requested file. The OS is installed as a Virtual Box guest mypremiercreditcard.

/etc/apt/sources.list:

Code: Select all
#

# deb cdrom:[Debian GNU/Linux 7.8.0 _Wheezy_ - Official amd64 DVD Binary-1 20150110-14:43]/ wheezy contrib main

deb cdrom:[Debian GNU/Linux 7.8.0 _Wheezy_ - Official amd64 DVD Binary-1 20150110-14:43]/ wheezy contrib main

deb http://debian.co.il/debian/ wheezy main
deb-src http://debian.co.il/debian/ wheezy main

deb http://security.debian.org/ wheezy/updates main contrib
deb-src http://security.debian.org/ wheezy/updates main contrib

# wheezy-updates, previously known as 'volatile'
deb http://debian.co.il/debian/ wheezy-updates main contrib
deb-src http://debian.co.il/debian/ wheezy-updates main contrib
Last edited by Lindell365 on 2019-03-13 10:57, edited 1 time in total.
Lindell365
 
Posts: 1
Joined: 2019-03-12 10:38

Re: Unable to install the default jdk package on Debian

Postby dilberts_left_nut » 2019-03-12 10:50

You should comment out the second "deb cdrom" line.
Also all of the "deb-src" lines while you are there.

You are aware that Wheezy is old?
EOL was May 2018 - https://www.debian.org/releases/wheezy/
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 5017
Joined: 2009-10-05 07:54
Location: enzed


Return to Installation

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable