(Solved)E: Some index files failed to download

New to Debian (Or Linux in general)? Ask your questions here!

(Solved)E: Some index files failed to download

Postby sarksloane » 2017-03-17 14:01

When I tried to update using
Code: Select all
apt-get update
I noticed the below, what does it mean? thanks.

Code: Select all
W: Failed to fetch cdrom://[Debian GNU/Linux 8.7.1 _Jessie_ - Official amd64 CD Binary-1 20170116-11:01]/dists/jessie/main/binary-i386/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

E: Some index files failed to download. They have been ignored, or old ones used instead.
Last edited by sarksloane on 2017-03-18 06:49, edited 1 time in total.
sarksloane
 
Posts: 27
Joined: 2017-01-17 04:21

Re: E: Some index files failed to download

Postby GarryRicketson » 2017-03-17 14:39

How to update and install packages on Debian
=====
https://www.debian.org/doc/manuals/debian-faq/ch-pkgtools.en.html
=====
https://wiki.debian.org/DebianPackageManagement
There is much more on all of this, I recommend reading as much as you can.
==================
There is not much details in you post,..like what version of Debian ?
If this is a fresh install, you need to edit your /etc/apt/sources.list
file,... the lines for CD should be commented out, or removed.
Unless you are trying to use a cd to update ?
It would help to see what your actual /etc/apt/sources.list file has in it.
There is a example of what it should have in it here:
https://wiki.debian.org/SourcesList

Also:
https://manpages.debian.org/jessie/apt/sources.list.5.en.html
User avatar
GarryRicketson
 
Posts: 3858
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: E: Some index files failed to download

Postby sarksloane » 2017-03-18 06:48

GarryRicketson wrote:How to update and install packages on Debian
=====
https://www.debian.org/doc/manuals/debian-faq/ch-pkgtools.en.html
=====
https://wiki.debian.org/DebianPackageManagement
There is much more on all of this, I recommend reading as much as you can.
==================
There is not much details in you post,..like what version of Debian ?
If this is a fresh install, you need to edit your /etc/apt/sources.list
file,... the lines for CD should be commented out, or removed.
Unless you are trying to use a cd to update ?
It would help to see what your actual /etc/apt/sources.list file has in it.
There is a example of what it should have in it here:
https://wiki.debian.org/SourcesList

Also:
https://manpages.debian.org/jessie/apt/sources.list.5.en.html


Thank you very much Mr. Garry.. :)

I edited my sources.list and put # to
Code: Select all
deb cdrom:[Debian GNU/Linux 8.7.1 _Jessie_ - Official amd64 CD Binary-1 20170116-11:01]/ jessie main
to make it comment.
sarksloane
 
Posts: 27
Joined: 2017-01-17 04:21


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable