[Solved] apt-get update W: Failed to fetch ...

Post your update and upgrade related errors here
Forum rules
Before you post please read this

[Solved] apt-get update W: Failed to fetch ...

Postby shadow29c on Sat Jun 16, 2012 2:53 pm

Hi,

I'm using LMDE xfce Update Pack 4 2012.04.05 32bit and, since this morning, i can't make my update or installing my soft.
apt-get:
Code: Select all
sudo apt-get update
Hit http://debian.linuxmint.com testing InRelease
Hit http://debian.linuxmint.com testing/updates InRelease
Ign http://packages.linuxmint.com debian InRelease                   
Ign http://debian.linuxmint.com testing InRelease                       
Get:1 http://packages.linuxmint.com debian Release.gpg [197 B]
Hit http://debian.linuxmint.com testing/main i386 Packages/DiffIndex
Hit http://debian.linuxmint.com testing/contrib i386 Packages/DiffIndex
Get:2 http://packages.linuxmint.com debian Release [12.2 kB]
Hit http://debian.linuxmint.com testing/non-free i386 Packages/DiffIndex
Ign http://debian.linuxmint.com testing/contrib TranslationIndex
Hit http://debian.linuxmint.com testing/main TranslationIndex
Ign http://debian.linuxmint.com testing/non-free TranslationIndex
Hit http://debian.linuxmint.com testing/updates/main i386 Packages
Hit http://debian.linuxmint.com testing/updates/contrib i386 Packages
Hit http://debian.linuxmint.com testing/updates/non-free i386 Packages
Ign http://debian.linuxmint.com testing/updates/contrib TranslationIndex
Ign http://debian.linuxmint.com testing/updates/main TranslationIndex
Ign http://debian.linuxmint.com testing/updates/non-free TranslationIndex
Get:3 http://packages.linuxmint.com debian/main i386 Packages [13.9 kB]
Hit http://debian.linuxmint.com testing Release.gpg   
Hit http://debian.linuxmint.com testing/contrib Translation-en
Hit http://debian.linuxmint.com testing/main Translation-en
Hit http://debian.linuxmint.com testing/non-free Translation-en
Hit http://debian.linuxmint.com testing Release           
Get:4 http://packages.linuxmint.com debian/upstream i386 Packages [8,659 B]   
Hit http://debian.linuxmint.com testing/main i386 Packages/DiffIndex
Hit http://debian.linuxmint.com testing/non-free i386 Packages/DiffIndex
Ign http://debian.linuxmint.com testing/main TranslationIndex
Ign http://debian.linuxmint.com testing/non-free TranslationIndex
Get:5 http://packages.linuxmint.com debian/import i386 Packages [55.4 kB]
Ign http://debian.linuxmint.com testing/contrib Translation-en_CA
Ign http://debian.linuxmint.com testing/non-free Translation-en_CA
Ign http://debian.linuxmint.com testing/updates/contrib Translation-en_CA
Ign http://debian.linuxmint.com testing/updates/contrib Translation-en
Ign http://debian.linuxmint.com testing/updates/main Translation-en_CA
Ign http://debian.linuxmint.com testing/updates/main Translation-en
Ign http://debian.linuxmint.com testing/updates/non-free Translation-en_CA
Ign http://debian.linuxmint.com testing/updates/non-free Translation-en
Ign http://packages.linuxmint.com debian/import TranslationIndex
Ign http://packages.linuxmint.com debian/main TranslationIndex
Ign http://packages.linuxmint.com debian/upstream TranslationIndex
Ign http://debian.linuxmint.com testing/main Translation-en_CA
Ign http://debian.linuxmint.com testing/main Translation-en
Ign http://debian.linuxmint.com testing/non-free Translation-en_CA
Ign http://debian.linuxmint.com testing/non-free Translation-en
Err http://packages.linuxmint.com debian/import Translation-en_CA             
  Could not connect to packages.linuxmint.com:80 (204.45.82.194). - connect (110: Connection timed out)
Err http://packages.linuxmint.com debian/import Translation-en
  Unable to connect to packages.linuxmint.com:http:
Err http://packages.linuxmint.com debian/main Translation-en_CA
  Unable to connect to packages.linuxmint.com:http:
Err http://packages.linuxmint.com debian/main Translation-en
  Unable to connect to packages.linuxmint.com:http:
Err http://packages.linuxmint.com debian/upstream Translation-en_CA
  Unable to connect to packages.linuxmint.com:http:
Err http://packages.linuxmint.com debian/upstream Translation-en
  Unable to connect to packages.linuxmint.com:http:
Fetched 90.3 kB in 1min 5s (1,374 B/s)
W: Failed to fetch http://packages.linuxmint.com/dists/debian/import/i18n/Translation-en_CA  Could not connect to packages.linuxmint.com:80 (204.45.82.194). - connect (110: Connection timed out)

W: Failed to fetch http://packages.linuxmint.com/dists/debian/import/i18n/Translation-en  Unable to connect to packages.linuxmint.com:http:

W: Failed to fetch http://packages.linuxmint.com/dists/debian/main/i18n/Translation-en_CA  Unable to connect to packages.linuxmint.com:http:

W: Failed to fetch http://packages.linuxmint.com/dists/debian/main/i18n/Translation-en  Unable to connect to packages.linuxmint.com:http:

W: Failed to fetch http://packages.linuxmint.com/dists/debian/upstream/i18n/Translation-en_CA  Unable to connect to packages.linuxmint.com:http:

W: Failed to fetch http://packages.linuxmint.com/dists/debian/upstream/i18n/Translation-en  Unable to connect to packages.linuxmint.com:http:

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

Code: Select all
sudo cat /etc/apt/sources.list
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

Code: Select all
ping packages.linuxmint.com
PING packages.linuxmint.com (204.45.82.194) 56(84) bytes of data.
64 bytes from server.gutterclutterbuster.com (204.45.82.194): icmp_req=1 ttl=56 time=81.6 ms
64 bytes from server.gutterclutterbuster.com (204.45.82.194): icmp_req=2 ttl=56 time=82.7 ms
64 bytes from server.gutterclutterbuster.com (204.45.82.194): icmp_req=3 ttl=56 time=80.9 ms
--- packages.linuxmint.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 80.909/81.759/82.760/0.763 ms

Thanks you for your help
Last edited by shadow29c on Sat Jun 16, 2012 6:00 pm, edited 2 times in total.
shadow29c
Level 1
Level 1
 
Posts: 8
Joined: Sat Jun 16, 2012 2:37 pm

Linux Mint is funded by ads and donations.
 

Re: apt-get update W: Failed to fetch ...

Postby zerozero on Sat Jun 16, 2012 2:57 pm

the server has been down see viewtopic.php?f=34&t=105238
User avatar
zerozero
Level 16
Level 16
 
Posts: 6435
Joined: Tue Jul 07, 2009 2:29 pm

Re: apt-get update W: Failed to fetch ...

Postby shadow29c on Sat Jun 16, 2012 3:14 pm

Thanks for your quick reply zerozero.
Unfortunately, I'm not a advance user, and I just don't know what i can do with this kind of information:

Package: *
Pin: origin mirror.csclub.uwaterloo.ca
Pin-Priority: 700

or

http://mirror.csclub.uwaterloo.ca/linuxmint-packages/

And I can't find synaptic under Xfce.

When you say server has been down. That's permanent or is just down for maintenance?
shadow29c
Level 1
Level 1
 
Posts: 8
Joined: Sat Jun 16, 2012 2:37 pm

Re: apt-get update W: Failed to fetch ...

Postby zerozero on Sat Jun 16, 2012 4:51 pm

the server is temporarily down, the thing is some of us are to impatient and look for a fix in the next minute :lol: should be up soon.

about the other question (and because synaptic is a beautiful peace of software that everybody should use) i believe that you can find it under menu > system.
anyway you can always call it through the terminal with
Code: Select all
gksu synaptic
User avatar
zerozero
Level 16
Level 16
 
Posts: 6435
Joined: Tue Jul 07, 2009 2:29 pm

Re: apt-get update W: Failed to fetch ...

Postby shadow29c on Sat Jun 16, 2012 5:18 pm

thanks again zerozero for your reply :D
Since my last post i did a lot of search. Can you tell me if I'm right or not for future reference please?


Code: Select all
sudo nano /etc/apt/sources.list
#deb http://packages.linuxmint.com/ debian main upstream import
#deb http://debian.linuxmint.com/latest testing main contrib non-free
deb http://mirror.csclub.uwaterloo.ca/linuxmint-packages/ debian main upstream import
deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/latest/multimedia testing main non-free


Code: Select all
sudo nano /etc/apt/preferences
Package: *
Pin: release o=linuxmint
Pin-Priority: 700

#Package: *
#Pin: origin packages.linuxmint.com
#Pin-Priority: 700

Package: *
Pin: origin mirror.csclub.uwaterloo.ca
Pin-Priority: 700

Package: *
Pin: release o=Debian
Pin-Priority: 500


and finely

Code: Select all
sudo apt-get update



But I will restore LMDE default setting when the server will be back.
shadow29c
Level 1
Level 1
 
Posts: 8
Joined: Sat Jun 16, 2012 2:37 pm

Re: apt-get update W: Failed to fetch ...

Postby zerozero on Sat Jun 16, 2012 5:24 pm

it's almost everything spot-on :D but you need
Code: Select all
deb http://debian.linuxmint.com/latest testing main contrib non-free
enabled (that is, without the #) the only one affected is packages.linuxmint

as for the rest, super 8)
User avatar
zerozero
Level 16
Level 16
 
Posts: 6435
Joined: Tue Jul 07, 2009 2:29 pm

Re: apt-get update W: Failed to fetch ...

Postby shadow29c on Sat Jun 16, 2012 5:37 pm

I really appreciate your speed and your answer :)
Now really really noob question :( how I can change my topic in [Solved] topic?
shadow29c
Level 1
Level 1
 
Posts: 8
Joined: Sat Jun 16, 2012 2:37 pm

Re: apt-get update W: Failed to fetch ...

Postby zerozero on Sat Jun 16, 2012 5:39 pm

no problem
go to the first post of the topic, edit and add [solved] to the subject, save the edit. done.
8)
User avatar
zerozero
Level 16
Level 16
 
Posts: 6435
Joined: Tue Jul 07, 2009 2:29 pm

Re: [Solved] apt-get update W: Failed to fetch ...

Postby Michi on Sat Jun 16, 2012 7:47 pm

I also have this problem, I get timeouts from packages.linuxmint.com.

But what me really worries is the server packages.linuxmint.com points to:
server.gutterclutterbuster.com

Is this the correct server?
The combination of gutterclutterbusters and linux is ... odd.
Add to it that some days ago Ubuntu posted a security advisory about a possible
man in the middle attack (http://www.ubuntu.com/usn/usn-1477-1/).

Therefore I would like to ask if someone from the server team could verify that
server.gutterclutterbuster.com is indeed the correct server for the package
repository and that no one has fooled around with the DNS to smuggle compromised
packages on our systems.

Could anyone do that please?

cheers (hope so)
Michi
Michi
Level 1
Level 1
 
Posts: 2
Joined: Sat Jun 16, 2012 7:32 pm

Re: [Solved] apt-get update W: Failed to fetch ...

Postby zerozero on Sat Jun 16, 2012 8:03 pm

a simple search would show you that is simple a mirror for linuxmint
http://server.gutterclutterbuster.com/
and a pretty old one (with entries from 2009)
http://server.gutterclutterbuster.com/pool/
User avatar
zerozero
Level 16
Level 16
 
Posts: 6435
Joined: Tue Jul 07, 2009 2:29 pm

Re: [Solved] apt-get update W: Failed to fetch ...

Postby Michi on Sat Jun 16, 2012 9:23 pm

When you say the server is ok and you have seen it before in the list,
that's then fine with me.

Just checking if the server actually contains the directory structure of the
package repository was not enough to convince me.
Because, if the server was really set up to contain compromised packages,
it would of course try to mimic a regular repository layout.
And falsifying the modification dates should also not be too difficult
if you really want to set up a trojan horse.

Thanks for checking!

cu
Michi
Michi
Level 1
Level 1
 
Posts: 2
Joined: Sat Jun 16, 2012 7:32 pm

Linux Mint is funded by ads and donations.
 

Return to Update/Upgrade Issues

Who is online

Users browsing this forum: No registered users and 3 guests