Ubuntu17.10 apt-get update no working

Asked by prabhat

Whenever I try to do apt-get update following error comes:

prabhat@prabhat-HP-Pavilion-Notebook:~$ sudo apt-get update
Get:1 file:/var/cuda-repo-9-1-local InRelease
Ign:1 file:/var/cuda-repo-9-1-local InRelease
Ign:2 cdrom://Ubuntu 17.10 _Artful Aardvark_ - Release amd64 (20171018) artful InRelease
Err:3 cdrom://Ubuntu 17.10 _Artful Aardvark_ - Release amd64 (20171018) artful Release
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Get:4 file:/var/cuda-repo-9-1-local Release [574 B]
Get:4 file:/var/cuda-repo-9-1-local Release [574 B]
Hit:6 http://archive.canonical.com/ubuntu artful InRelease
Get:7 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu artful InRelease [21.3 kB]
Get:8 http://packages.microsoft.com/repos/vscode stable InRelease [2,802 B]
Ign:9 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu artful InRelease
Get:10 http://packages.microsoft.com/repos/vscode stable/main amd64 Packages [46.4 kB]
Hit:11 https://download.sublimetext.com apt/stable/ InRelease
Get:12 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu artful/main amd64 Packages [10.3 kB]
Hit:13 http://archive.ubuntu.com/ubuntu artful InRelease
Get:14 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu artful/main i386 Packages [10.4 kB]
Get:15 http://archive.ubuntu.com/ubuntu artful-updates InRelease [81.7 kB]
Get:16 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu artful/main Translation-en [3,216 B]
Get:17 http://archive.ubuntu.com/ubuntu artful-backports InRelease [72.2 kB]
Get:18 http://archive.ubuntu.com/ubuntu artful-security InRelease [78.6 kB]
Err:19 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu artful Release
  404 Not Found
Get:20 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 Packages [229 kB]
Get:21 http://archive.ubuntu.com/ubuntu artful-updates/main i386 Packages [225 kB]
Get:22 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 DEP-11 Metadata [83.3 kB]
Get:23 http://archive.ubuntu.com/ubuntu artful-updates/main DEP-11 64x64 Icons [54.0 kB]
Get:24 http://archive.ubuntu.com/ubuntu artful-updates/universe amd64 DEP-11 Metadata [65.1 kB]
Get:25 http://archive.ubuntu.com/ubuntu artful-updates/universe DEP-11 64x64 Icons [79.8 kB]
Get:26 http://archive.ubuntu.com/ubuntu artful-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:27 http://archive.ubuntu.com/ubuntu artful-backports/universe amd64 DEP-11 Metadata [5,092 B]
Get:28 http://archive.ubuntu.com/ubuntu artful-security/main amd64 DEP-11 Metadata [17.2 kB]
Get:29 http://archive.ubuntu.com/ubuntu artful-security/main DEP-11 64x64 Icons [27.5 kB]
Get:30 http://archive.ubuntu.com/ubuntu artful-security/universe amd64 DEP-11 Metadata [21.6 kB]
Get:31 http://archive.ubuntu.com/ubuntu artful-security/universe DEP-11 64x64 Icons [24.1 kB]
Reading package lists... Done
E: The repository 'cdrom://Ubuntu 17.10 _Artful Aardvark_ - Release amd64 (20171018) artful 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://ppa.launchpad.net/openjdk-r/ppa/ubuntu artful 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.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Bashing-om
Solved:
Last query:
Last reply:
Revision history for this message
Best Bashing-om (bashing-om) said :
#1

prabhat; Hello

1) Uncheck the CD-rom box in software-sources . The CD is not needed at this time.

2) http://ppa.launchpad.net/openjdk-r/ppa/ubuntu/dists/ :: is not updated to support artful . Disable it also .

-hope this helps-

Revision history for this message
prabhat (prabhat7298) said :
#2

Thanks Bashing-om, that solved my question.