Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Unable to install the default jdk package on Debian

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
Lindell365
Posts: 1
Joined: 2019-03-12 10:38

Unable to install the default jdk package on Debian

#1 Post by Lindell365 »

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.

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5343
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 12 times
Been thanked: 66 times

Re: Unable to install the default jdk package on Debian

#2 Post by dilberts_left_nut »

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...

Post Reply