LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 09-04-2013, 05:20 PM   #1
NachitoCumbia
LQ Newbie
 
Registered: Sep 2013
Posts: 4

Rep: Reputation: Disabled
Proble with apt-get update: Some index files failed to download.


Hello, I'm new in Debian (I have Wheezy 7.1.0). Whenever I try to run apt-get update I get this:

Code:
root@nacho:/home/nacho# apt-get update
Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official i386 DVD Binary-1 20130615-21:54] wheezy Release.gpg
Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official i386 DVD Binary-1 20130615-21:54] wheezy Release
Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official i386 DVD Binary-1 20130615-21:54] wheezy/contrib i386 Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official i386 DVD Binary-1 20130615-21:54] wheezy/main i386 Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official i386 DVD Binary-1 20130615-21:54] wheezy/contrib Translation-es_AR
Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official i386 DVD Binary-1 20130615-21:54] wheezy/contrib Translation-es
Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official i386 DVD Binary-1 20130615-21:54] wheezy/main Translation-es_AR
Obj http://http.us.debian.org wheezy Release.gpg                               
Ign http://ppa.launchpad.net wheezy Release.gpg                                
Obj http://security.debian.org wheezy/updates Release.gpg
Obj http://http.us.debian.org wheezy Release           
Ign http://ppa.launchpad.net wheezy Release                                  
Obj http://security.debian.org wheezy/updates Release  
Obj http://http.us.debian.org wheezy/contrib i386 Packages                   
Obj http://http.us.debian.org wheezy/main i386 Packages
Obj http://security.debian.org wheezy/updates/main Sources
Obj http://http.us.debian.org wheezy/contrib Translation-en
Obj http://security.debian.org wheezy/updates/contrib Sources
Obj http://http.us.debian.org wheezy/main Translation-es
Obj http://security.debian.org wheezy/updates/main i386 Packages
Obj http://http.us.debian.org wheezy/main Translation-en
Obj http://security.debian.org wheezy/updates/contrib i386 Packages
Obj http://security.debian.org wheezy/updates/contrib Translation-en
Obj http://security.debian.org wheezy/updates/main Translation-en
Err http://ppa.launchpad.net wheezy/main Sources
  404  Not Found
Err http://ppa.launchpad.net wheezy/main i386 Packages
  404  Not Found
Ign http://ppa.launchpad.net wheezy/main Translation-es_AR
Ign http://ppa.launchpad.net wheezy/main Translation-es
Ign http://ppa.launchpad.net wheezy/main Translation-en
W: Imposible obtener http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu/dists/wheezy/main/source/Sources  404  Not Found

W: Imposible obtener http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu/dists/wheezy/main/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
This is my sources.list:

Code:
# 

deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official i386 DVD Binary-1 20130615-21:54]/ wheezy contrib main

deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official i386 DVD Binary-1 20130615-21:54]/ wheezy contrib 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'
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://ftp.debian.org/debian/ wheezy-updates main contrib
deb http://http.us.debian.org/debian/ wheezy contrib main
# deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib
Thank you very much!
 
Old 09-05-2013, 10:51 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Thsi can't be the complete list of sources. Have a look into /etc/apt.sources.list.d/ for additional files containing software sources.
 
Old 09-05-2013, 11:07 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
Err http://ppa.launchpad.net wheezy/main Sources
404 Not Found
Err http://ppa.launchpad.net wheezy/main i386 Packages
404 Not Found
There is no "debian" or "wheezy" at http://ppa.launchpad.net/
.. You will have to disable / delete that repo : /etc/apt.sources.list.d/
 
Old 09-05-2013, 11:09 AM   #4
NachitoCumbia
LQ Newbie
 
Registered: Sep 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks for answering! Inside the folder /etc/apt/sources.list.d/ I've found two files:

webupd8team-y-ppa-manager-wheezy.list, wich contains:

Code:
deb http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu wheezy main
deb-src http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu wheezy main
and webupd8team-y-ppa-manager-wheezy.list. save, wich contains exactly the same:

Code:
deb http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu wheezy main
deb-src http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu wheezy main
 
Old 09-05-2013, 11:14 AM   #5
NachitoCumbia
LQ Newbie
 
Registered: Sep 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Quote:
Err http://ppa.launchpad.net wheezy/main Sources
404 Not Found
Err http://ppa.launchpad.net wheezy/main i386 Packages
404 Not Found
There is no "debian" or "wheezy" at http://ppa.launchpad.net/
.. You will have to disable / delete that repo : /etc/apt.sources.list.d/
I tried this and now I get this:

Code:
root@nacho:/home/nacho# sudo apt-get update
Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official i386 DVD Binary-1 20130615-21:54] wheezy Release.gpg
Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official i386 DVD Binary-1 20130615-21:54] wheezy Release
Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official i386 DVD Binary-1 20130615-21:54] wheezy/contrib i386 Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official i386 DVD Binary-1 20130615-21:54] wheezy/main i386 Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official i386 DVD Binary-1 20130615-21:54] wheezy/contrib Translation-es_AR
Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official i386 DVD Binary-1 20130615-21:54] wheezy/contrib Translation-es
Ign cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official i386 DVD Binary-1 20130615-21:54] wheezy/main Translation-es_AR
Obj http://http.us.debian.org wheezy Release.gpg                        
Obj http://security.debian.org wheezy/updates Release.gpg
Obj http://http.us.debian.org wheezy Release
Obj http://security.debian.org wheezy/updates Release
Obj http://http.us.debian.org wheezy/contrib i386 Packages
Obj http://http.us.debian.org wheezy/main i386 Packages
Obj http://security.debian.org wheezy/updates/main Sources
Obj http://http.us.debian.org wheezy/contrib Translation-en
Obj http://security.debian.org wheezy/updates/contrib Sources
Obj http://http.us.debian.org wheezy/main Translation-es
Obj http://http.us.debian.org wheezy/main Translation-en
Obj http://security.debian.org wheezy/updates/main i386 Packages
Obj http://security.debian.org wheezy/updates/contrib i386 Packages
Obj http://security.debian.org wheezy/updates/contrib Translation-en
Obj http://security.debian.org wheezy/updates/main Translation-en
Leyendo lista de paquetes... Hecho
W: Duplicate sources.list entry cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official i386 DVD Binary-1 20130615-21:54]/ wheezy/contrib i386 Packages (/var/lib/apt/lists/Debian%20GNU_Linux%207.1.0%20%5fWheezy%5f%20-%20Official%20i386%20DVD%20Binary-1%2020130615-21:54_dists_wheezy_contrib_binary-i386_Packages)
W: Duplicate sources.list entry cdrom://[Debian GNU/Linux 7.1.0 _Wheezy_ - Official i386 DVD Binary-1 20130615-21:54]/ wheezy/main i386 Packages (/var/lib/apt/lists/Debian%20GNU_Linux%207.1.0%20%5fWheezy%5f%20-%20Official%20i386%20DVD%20Binary-1%2020130615-21:54_dists_wheezy_main_binary-i386_Packages)
W: Tal vez quiera ejecutar «apt-get update» para corregir estos problemas
 
Old 09-05-2013, 11:43 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 5 .

Please try : Comment the "DVD lines" with a hash mark ( # ) :

# deb cdrom: .............
# deb cdrom: .......


This is my sources.list :
Code:
deb http://ftp.dk.debian.org/debian/ wheezy main
deb http://ftp.dk.debian.org/debian/ wheezy contrib
deb http://ftp.dk.debian.org/debian/ wheezy non-free
deb-src http://ftp.dk.debian.org/debian/ wheezy main


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

# wheezy-updates, previously known as 'volatile'
deb http://ftp.dk.debian.org/debian/ wheezy-updates main
deb-src http://ftp.dk.debian.org/debian/ wheezy-updates main
 
Old 09-05-2013, 12:01 PM   #7
NachitoCumbia
LQ Newbie
 
Registered: Sep 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
# 5 .

Please try : Comment the "DVD lines" with a hash mark ( # ) :

# deb cdrom: .............
# deb cdrom: .......


This is my sources.list :
Code:
deb http://ftp.dk.debian.org/debian/ wheezy main
deb http://ftp.dk.debian.org/debian/ wheezy contrib
deb http://ftp.dk.debian.org/debian/ wheezy non-free
deb-src http://ftp.dk.debian.org/debian/ wheezy main


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

# wheezy-updates, previously known as 'volatile'
deb http://ftp.dk.debian.org/debian/ wheezy-updates main
deb-src http://ftp.dk.debian.org/debian/ wheezy-updates main
Thank you! I put the hash marks and it solved the problem.
 
  


Reply



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] System Failed to fetch an apt-get update Ztcoracat Debian 21 09-12-2012 01:51 AM
apt-get update giving error- no download from software center or terminal fortran Linux - Software 2 05-12-2012 02:23 AM
Apt Security Update Failed carlosinfl Debian 2 04-24-2011 07:33 PM
Some index files failed to download, they have been ignored, or old ones used instead ifranklin Linux - Newbie 1 10-27-2010 03:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:57 PM.

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
Open Source Consulting | Domain Registration