some index files failed to download - fresh install

deb http://debian.linuxmint.com

some index files failed to download - fresh install

Postby pythonscript on Wed Nov 09, 2011 3:56 pm

I just did a fresh install of LMDE testing, and when I run sudo apt-get update, I get the error message saying that "some index files failed to download." I can browse the internet just fine and ping various sites (or visit them through FF) so it's not my connection. Here's the error:

Code: Select all
Err http://debian.linuxmint.com testing InRelease
 
Err http://debian.linuxmint.com testing Release.gpg                           
  Could not resolve 'debian.linuxmint.com'
Err http://packages.linuxmint.com debian InRelease                             
 
Err http://packages.linuxmint.com debian Release.gpg                           
  Could not resolve 'packages.linuxmint.com'
Hit http://security.debian.org testing/updates InRelease                       
Err http://www.debian-multimedia.org testing InRelease                         
 
Err http://www.debian-multimedia.org testing Release.gpg             
  Could not resolve 'www.debian-multimedia.org'
Hit http://security.debian.org testing/updates/main i386 Packages
Hit http://security.debian.org testing/updates/contrib i386 Packages
Hit http://security.debian.org testing/updates/non-free i386 Packages
Ign http://security.debian.org testing/updates/contrib TranslationIndex
Ign http://security.debian.org testing/updates/main TranslationIndex
Ign http://security.debian.org testing/updates/non-free TranslationIndex
Ign http://security.debian.org testing/updates/contrib Translation-en_GB
Ign http://security.debian.org testing/updates/contrib Translation-en
Ign http://security.debian.org testing/updates/main Translation-en_GB
Ign http://security.debian.org testing/updates/main Translation-en
Ign http://security.debian.org testing/updates/non-free Translation-en_GB
Ign http://security.debian.org testing/updates/non-free Translation-en
W: Failed to fetch http://packages.linuxmint.com/dists/debian/InRelease 

W: Failed to fetch http://debian.linuxmint.com/latest/dists/testing/InRelease 

W: Failed to fetch http://www.debian-multimedia.org/dists/testing/InRelease 

W: Failed to fetch http://debian.linuxmint.com/latest/dists/testing/Release.gpg  Could not resolve 'debian.linuxmint.com'

W: Failed to fetch http://packages.linuxmint.com/dists/debian/Release.gpg  Could not resolve 'packages.linuxmint.com'

W: Failed to fetch http://www.debian-multimedia.org/dists/testing/Release.gpg  Could not resolve 'www.debian-multimedia.org'

W: Some index files failed to download. They have been ignored, or old ones used instead.


Here's the content of my /etc/apt/sources.list file:
Code: Select all
deb http://packages.linuxmint.com/ debian main upstream import
deb http://debian.linuxmint.com/latest testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb http://www.debian-multimedia.org testing main non-free


How can I fix this quickly? I just moved to LMDE from Ubuntu (I think that's happening a lot lately) but I travel, so I'm trying to get this resolved before I leave in a few days.

Thank you!
pythonscript
Level 2
Level 2
 
Posts: 53
Joined: Wed Nov 09, 2011 3:49 pm

Linux Mint is funded by ads and donations.
 

Re: some index files failed to download - fresh install

Postby pythonscript on Wed Nov 09, 2011 4:04 pm

I think this might have been posted in the wrong section accidentally. Please move it to wherever it's most likely to get an answer. Thank you!
pythonscript
Level 2
Level 2
 
Posts: 53
Joined: Wed Nov 09, 2011 3:49 pm

Re: some index files failed to download - fresh install

Postby twa on Thu Nov 10, 2011 3:00 am

pythonscript,
change your sources.list to this:
deb http://packages.linuxmint.com/ debian main upstream import
deb http://debian.linuxmint.com/latest testing main contrib non-free
deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/latest/multimedia testing main non-free
d

save and close the file
and
Code: Select all
sudo apt-get update && sudo apt-get dist-upgrade

read here:
http://blog.linuxmint.com/?paged=5
cheers
When an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread.
User avatar
twa
Level 4
Level 4
 
Posts: 231
Joined: Fri Sep 17, 2010 8:11 am
Location: Somewhere in the sky

Re: some index files failed to download - fresh install

Postby pythonscript on Thu Nov 10, 2011 6:37 pm

I edited my source file, saved it, and exited gedit, but I still get the same errors when updating:

Code: Select all
Err http://packages.linuxmint.com debian InRelease
 
Err http://packages.linuxmint.com debian Release.gpg
  Could not resolve 'packages.linuxmint.com'
Err http://debian.linuxmint.com testing InRelease
 
Err http://debian.linuxmint.com testing/updates InRelease
 
Err http://debian.linuxmint.com testing InRelease
 
Err http://debian.linuxmint.com testing Release.gpg
  Could not resolve 'debian.linuxmint.com'
Err http://debian.linuxmint.com testing/updates Release.gpg
  Could not resolve 'debian.linuxmint.com'
Err http://debian.linuxmint.com testing Release.gpg
  Could not resolve 'debian.linuxmint.com'
Reading package lists... Done
W: Failed to fetch http://packages.linuxmint.com/dists/debian/InRelease 

W: Failed to fetch http://debian.linuxmint.com/latest/dists/testing/InRelease 

W: Failed to fetch http://debian.linuxmint.com/latest/security/dists/testing/updates/InRelease 

W: Failed to fetch http://debian.linuxmint.com/latest/multimedia/dists/testing/InRelease 

W: Failed to fetch http://packages.linuxmint.com/dists/debian/Release.gpg  Could not resolve 'packages.linuxmint.com'

W: Failed to fetch http://debian.linuxmint.com/latest/dists/testing/Release.gpg  Could not resolve 'debian.linuxmint.com'

W: Failed to fetch http://debian.linuxmint.com/latest/security/dists/testing/updates/Release.gpg  Could not resolve 'debian.linuxmint.com'

W: Failed to fetch http://debian.linuxmint.com/latest/multimedia/dists/testing/Release.gpg  Could not resolve 'debian.linuxmint.com'

W: Some index files failed to download. They have been ignored, or old ones used instead.


I copied directly from what you posted, and when that didn't work, directly from the blog in case of typos (which I didn't find). Any ideas? My internet connection is still working fine on this computer, so I don't know the problem.
pythonscript
Level 2
Level 2
 
Posts: 53
Joined: Wed Nov 09, 2011 3:49 pm

Re: some index files failed to download - fresh install

Postby twa on Thu Nov 10, 2011 6:53 pm

Hi,
sorry..gave U wrong page:
http://blog.linuxmint.com/?paged=6
did U read this ??
When an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread.
User avatar
twa
Level 4
Level 4
 
Posts: 231
Joined: Fri Sep 17, 2010 8:11 am
Location: Somewhere in the sky

Re: some index files failed to download - fresh install

Postby pythonscript on Thu Nov 10, 2011 8:04 pm

From the page you just posted (page 6, according to your link), this is what I put in my /etc/apt/sources.list file:

Code: Select all
deb http://packages.linuxmint.com/ debian main upstream import
deb http://debian.linuxmint.com/latest testing main contrib non-free
deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/latest/multimedia testing main non-free


The error is still the same.
pythonscript
Level 2
Level 2
 
Posts: 53
Joined: Wed Nov 09, 2011 3:49 pm

Re: some index files failed to download - fresh install

Postby twa on Fri Nov 11, 2011 3:29 am

pythonscript
open a terminal, copy&paste
Code: Select all
inxi -r

and show us the output.
another try could be to open Mintupdate (left click the tray icon) then go to Edit/Software Sources/ Download From. Select Other then Select Best Server. Whatever server it chooses just make sure it is not the one you are already using (I think you are using the Main server). Once you have chosen a different server your 'sources.list' file will be rewritten with the correct addresses. If for some reason you specifically want to use the Main server then change back to it again AFTER you have moved to a different server (ie repeat the process I have just described but choose main server instead). You will probably be better off using a nearer server anyway.
When an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread.
User avatar
twa
Level 4
Level 4
 
Posts: 231
Joined: Fri Sep 17, 2010 8:11 am
Location: Somewhere in the sky

Re: some index files failed to download - fresh install

Postby pythonscript on Fri Nov 11, 2011 8:20 am

Output from inxi -r:
Code: Select all
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://mirror.tuxis.nl/packages/ debian main upstream import
           deb http://debian.linuxmint.com/latest testing main contrib non-free
           deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
           deb http://debian.linuxmint.com/latest/multimedia testing main non-free


I still receive the same error, but after selecting a few different mirrors, I can download updates, albeit at around 0.9 kb/s. Are there no mirrors in the Americas outside of Canada? I´m in Latin America much of the time, so a closer mirror would be nice.

Another small note. Maybe it´s just the few themes I´ve experimented with, but when I run the inxi -r command, I don´t see any output. It´s only after I copy all of the ¨blank lines¨ after it that I see the output. Is this normal?

EDIT: After downloaded one or two update packages at the slow speed, the problem is back, seemingly regardless of which mirror I select:
Code: Select all
W: Failed to fetch http://mirror.csclub.uwaterloo.ca/linuxmint-packages/dists/debian/InRelease

W: Failed to fetch http://debian.linuxmint.com/latest/dists/testing/InRelease

W: Failed to fetch http://debian.linuxmint.com/latest/security/dists/testing/updates/InRelease

W: Failed to fetch http://debian.linuxmint.com/latest/multimedia/dists/testing/InRelease

W: Failed to fetch http://mirror.csclub.uwaterloo.ca/linuxmint-packages/dists/debian/Release.gpg  Could not resolve 'mirror.csclub.uwaterloo.ca'

W: Failed to fetch http://debian.linuxmint.com/latest/dists/testing/Release.gpg  Could not resolve 'debian.linuxmint.com'

W: Failed to fetch http://debian.linuxmint.com/latest/security/dists/testing/updates/Release.gpg  Could not resolve 'debian.linuxmint.com'

W: Failed to fetch http://debian.linuxmint.com/latest/multimedia/dists/testing/Release.gpg  Could not resolve 'debian.linuxmint.com'

W: Some index files failed to download. They have been ignored, or old ones used instead.


This is the error I get when I try to actually download most packages:
Code: Select all
W: Failed to fetch http://debian.linuxmint.com/latest/pool/main/f/fontconfig/libfontconfig1_2.8.0-3_i386.deb
  Could not resolve 'debian.linuxmint.com'


W: Failed to fetch http://debian.linuxmint.com/latest/pool/main/f/fontconfig/fontconfig-config_2.8.0-3_all.deb
  Could not resolve 'debian.linuxmint.com'


W: Failed to fetch http://debian.linuxmint.com/latest/pool/main/p/pixman/libpixman-1-0_0.22.2-1_i386.deb
  Could not resolve 'debian.linuxmint.com'


W: Failed to fetch http://debian.linuxmint.com/latest/pool/main/f/fontconfig/fontconfig_2.8.0-3_i386.deb
  Could not resolve 'debian.linuxmint.com'


W: Failed to fetch http://debian.linuxmint.com/latest/pool/main/c/cairo/libcairo2_1.10.2-6_i386.deb
  Could not resolve 'debian.linuxmint.com'


W: Failed to fetch http://debian.linuxmint.com/latest/pool/main/g/gtk2-engines-murrine/gtk2-engines-murrine_0.98.1.1-2_i386.deb
  Could not resolve 'debian.linuxmint.com'


W: Failed to fetch http://debian.linuxmint.com/latest/pool/main/c/cairo/libcairo-gobject2_1.10.2-6_i386.deb
  Could not resolve 'debian.linuxmint.com'


W: Failed to fetch http://debian.linuxmint.com/latest/pool/main/m/murrine-themes/murrine-themes_0.98.1_all.deb
  Could not resolve 'debian.linuxmint.com'
pythonscript
Level 2
Level 2
 
Posts: 53
Joined: Wed Nov 09, 2011 3:49 pm

Re: some index files failed to download - fresh install

Postby twa on Fri Nov 11, 2011 9:58 am

pythonscript,
my mintupdate has 2 mirrors in Brazil, see attachment
look's like U missing following packages...see in synaptic whether they R installed:
libfontconfig1
fontconfig-config
fontconfig
libpixman-1-0
libcairo2
libcairo-gobject2
gtk2-engines-murrine
murrine-themes
Attachments
Schermata-Choose a Download Server.png
Schermata-Choose a Download Server.png (25.28 KiB) Viewed 9852 times
When an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread.
User avatar
twa
Level 4
Level 4
 
Posts: 231
Joined: Fri Sep 17, 2010 8:11 am
Location: Somewhere in the sky

Re: some index files failed to download - fresh install

Postby sdibaja on Fri Nov 11, 2011 12:31 pm

this worked for me:

notes from http://www.youtube.com/watch?gl=US&v=BiIvVPgivuE

in terminal:

sudo apt-get update
sudo apt-get upgrade


when it stalls/crashes close terminal, reopen terminal
(may require reboot)

sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade
take default options when asked

run update manager...
User avatar
sdibaja
Level 2
Level 2
 
Posts: 74
Joined: Sun May 08, 2011 12:57 pm
Location: Mexico

Re: some index files failed to download - fresh install

Postby pythonscript on Fri Nov 11, 2011 2:49 pm

@twa - I saw the mirrors from Brasil. I was hoping for something in central America or the United States, but it´s irrelevant if I can´t connect to the repositories regardless. All of the packages you listed are already installed.

@sdibaja - That solution did not work for me. Running sudo dpkg --configure -a doesn´t seem to have any effect, and I rebooted after running it and tried the next set of commands (sudo apt-get update, etc.) and the errors are still the same.

Ay. I expected rough edges when I moved from Ubuntu to Debian, but I wasn´t expecting the standard repositories to be nonfunctional. Are there any other files I can post to help resolve this problem quickly? Whatever the case, thank you for the help; I greatly appreciate it.

EDIT: Is this part of the problem? Here is my /etc/resolv.conf file:
Code: Select all
# Generated by NetworkManager
nameserver 192.168.7.254
pythonscript
Level 2
Level 2
 
Posts: 53
Joined: Wed Nov 09, 2011 3:49 pm

Re: some index files failed to download - fresh install

Postby twa on Fri Nov 11, 2011 6:01 pm

pythonscript,
don't know.
in my /etc/resolv.conf have another folder named update-libc.d with inside avahi-daemon
#!/bin/sh
#
# If we have an unicast .local domain, we immediately disable avahi to avoid
# conflicts with the multicast IP4LL .local domain

if [ -x /usr/lib/avahi/avahi-daemon-check-dns.sh ]; then
exec /usr/lib/avahi/avahi-daemon-check-dns.sh
fi

can't help U further. sorry
When an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread.
User avatar
twa
Level 4
Level 4
 
Posts: 231
Joined: Fri Sep 17, 2010 8:11 am
Location: Somewhere in the sky

Re: some index files failed to download - fresh install

Postby pythonscript on Sat Nov 12, 2011 12:58 am

I don't think /etc/resolv.conf is the problem, then, since in my /etc/resolvconf directory, I have the directory and file you specified with its content the same as well.

Can this thread be moved to some place where people will know more? I appreciate your help, but since as now, my system is still almost completely non-functional, I can't just leave it and not worry about it. I need to be able to update my system...
pythonscript
Level 2
Level 2
 
Posts: 53
Joined: Wed Nov 09, 2011 3:49 pm

Re: some index files failed to download - fresh install

Postby twa on Sat Nov 12, 2011 8:24 am

pythonscript,
on nov.09 U wrote
I just did a fresh install of LMDE

if a solution to your problem does not come out and
to avoid further headache
I'll suggest make another fresh install, update the sources.list and intall the UP 3 again ???
http://blog.linuxmint.com/?paged=7
by the way...which ISO did U use ?
When an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread.
User avatar
twa
Level 4
Level 4
 
Posts: 231
Joined: Fri Sep 17, 2010 8:11 am
Location: Somewhere in the sky

Re: some index files failed to download - fresh install

Postby pythonscript on Sat Nov 12, 2011 9:18 am

I installed the ISO from this page:
http://www.linuxmint.com/edition.php?id=88

Do I need to install the update pack 3 separately? I can try reinstalling as a last resort, but if the problem persists even after a reinstall, I'm back to the start.
pythonscript
Level 2
Level 2
 
Posts: 53
Joined: Wed Nov 09, 2011 3:49 pm

Re: some index files failed to download - fresh install

Postby twa on Sat Nov 12, 2011 11:43 am

pythonscript,
the link for the ISO is correct, but did U check if the md5 sum matched ??
12b6ba38ae84998bd054e0ef936bc7d5
if only 1 nbr does not correspond, that means the ISO is corrupted.
if U elect for a new fresh install, immediately after installation has finished, change the repos accordingly
deb http://packages.linuxmint.com/ debian main upstream import
deb http://debian.linuxmint.com/latest testing main contrib non-free
deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/latest/multimedia testing main non-free

then
Code: Select all
sudo apt-get update && sudo apt-get dist-upgrade

and install UP3 as instructed here:
http://blog.linuxmint.com/?paged=7
the UP3 must be installed separately, once installed the update manager must be like this
Attachments
Schermata-Update Pack Info - Update Manager.png
Schermata-Update Pack Info - Update Manager.png (50.27 KiB) Viewed 9740 times
When an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread.
User avatar
twa
Level 4
Level 4
 
Posts: 231
Joined: Fri Sep 17, 2010 8:11 am
Location: Somewhere in the sky

Re: some index files failed to download - fresh install

Postby pythonscript on Sat Nov 12, 2011 8:24 pm

Ah, this is getting ridiculous. I did a fresh install and verified the md5 sum. As soon as I installed (before I connected to the internet) I updated /etc/apt/sources.list. Then I connected to the internet. However, when I run sudo apt-get update, I get the same error.

You said that the update pack needs to be installed separately. How do I install it? The Linux Mint blog says to:

1. Change the repositories - I did this.
2. Have the update manager update itself - no updates show up, probably because the repositories aren't resolving. When I open the update manager, I click the "update pack info" button, but nothing happens.

I had minor issues with Ubuntu, but not being able to update my system or install packages immediately after install? That's basically a deal breaker for Linux Mint Debian for me unless the problem is fixed quickly. Maybe I'll have to wait six months and download the ISO again and hope the problem has since been corrected when UP3 is eventually integrated.

EDIT: I've tried searching online, but is there some place I can download the update pack separately and install it? I have access to plenty of working computers, so maybe if I could install it separately it could fix the problem. As of know, the computer in question is useless to me. Also, I get this error when I click the "update pack info" button in mintupdate (I see this error when I run mintupdate from the terminal)

Code: Select all
File "/usr/lib/linuxmint/mintUpdate/mintUpdate.py", line 1244, in open_pack_info
    html = urllib2.urlopen(url)
  File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.6/urllib2.py", line 391, in open
    response = self._open(req, data)
  File "/usr/lib/python2.6/urllib2.py", line 409, in _open
    '_open', req)
  File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.6/urllib2.py", line 1181, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/python2.6/urllib2.py", line 1156, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [Errno -2] Name or service not known>


Clearly something is not working properly.
pythonscript
Level 2
Level 2
 
Posts: 53
Joined: Wed Nov 09, 2011 3:49 pm

Re: some index files failed to download - fresh install

Postby zerozero on Sat Nov 12, 2011 8:41 pm

pythonscript,
- i noticed this topic now and definitely there's something wrong: you could get that error once if the repos were down (can happen) but not all the time;
- i may get myself into something i don't fully understand, but the only possible explanation i can find for that is you being behind a internet proxy, it's the only plausible explanation i can find for your problems.
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6489
Joined: Tue Jul 07, 2009 2:29 pm

Re: some index files failed to download - fresh install

Postby pythonscript on Sat Nov 12, 2011 8:46 pm

I'm not behind an internet proxy; just the wireless in my flat. Also, I can ping debian.linuxmint.com and the other sources perfectly fine. They simply don't resolve when I update, either through mintupdate or the terminal.

Do you know where I can download update pack 3 separately, without using the update utilites? Just through a browser, so I can install it separately?
pythonscript
Level 2
Level 2
 
Posts: 53
Joined: Wed Nov 09, 2011 3:49 pm

Re: some index files failed to download - fresh install

Postby zerozero on Sat Nov 12, 2011 8:56 pm

as far as i know (may be wrong) you can't install the pkgs the way you are thinking, anyway that wouldn't solve the real problem.

let's see, you changed the sources.list, didn't you?
give us, please
Code: Select all
inxi -r
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6489
Joined: Tue Jul 07, 2009 2:29 pm

Linux Mint is funded by ads and donations.
 
Next

Return to Update Packs Repositories

Who is online

Users browsing this forum: No registered users and 2 guests