Error message: Failed to fetch ... (SOLVED)

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

Error message: Failed to fetch ... (SOLVED)

Postby Tony.B on Sun Mar 11, 2012 8:12 am

My apologies if this has already been dealt with. I've read lots & lots but can't find the right answers.

Today I received this error message:

I looked at the Update Pack Info and have this message:
    Your system is pointing to the latest 'Linux Mint Debian Latest' repository

Any assistance, as always, would be gratefully appreciated.
Last edited by Tony.B on Sun Mar 11, 2012 6:16 pm, edited 1 time in total.
User avatar
Tony.B
Level 2
Level 2
 
Posts: 60
Joined: Mon Oct 25, 2010 3:51 pm
Location: Kent, UK & KZN, South Africa

Linux Mint is funded by ads and donations.
 

Re: Error message: Failed to fetch ...

Postby kc1di on Sun Mar 11, 2012 8:40 am

Tony.B wrote:My apologies if this has already been dealt with. I've read lots & lots but can't find the right answers.

Today I received this error message:

I looked at the Update Pack Info and have this message:
    Your system is pointing to the latest 'Linux Mint Debian Latest' repository

Any assistance, as always, would be gratefully appreciated.

this usually happens when apt-get can not access the repository server. It could be that the server was down for a time and will come back soon.
try going to a terminal and typing
Code: Select all
sudo apt-get update

if you get the same error we will go from there.
Which version of mint are you using mint lmde?
John 3:16
Morse code an Early
Digital Mode
Registered Linux User #462608
Image
User avatar
kc1di
Level 6
Level 6
 
Posts: 1429
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Error message: Failed to fetch ...

Postby Tony.B on Sun Mar 11, 2012 8:50 am

Thanks for the prompt reply, kc1di.
kc1di wrote:Which version of mint are you using mint lmde?

Yes, I'm using LMDE.

Here is the output of sudo apt-get update:
Code: Select all
[sudo] password for tony:
Err http://www.debian.linuxmint.com testing InRelease
 
Err http://www.debian.linuxmint.com testing Release.gpg                       
  Could not resolve 'www.debian.linuxmint.com'
Hit http://debian.linuxmint.com testing InRelease                             
Hit http://debian.linuxmint.com testing/updates InRelease                     
Ign http://packages.linuxmint.com debian InRelease                     
Hit http://debian.linuxmint.com testing/main i386 Packages/DiffIndex
Get:1 http://packages.linuxmint.com debian Release.gpg [197 B]
Hit http://debian.linuxmint.com testing/contrib i386 Packages/DiffIndex
Hit http://debian.linuxmint.com testing/non-free i386 Packages/DiffIndex
Get:2 http://packages.linuxmint.com debian Release [12.2 kB]
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 [12.6 kB]
Get:4 http://packages.linuxmint.com debian/upstream i386 Packages [5,208 B]
Get:5 http://packages.linuxmint.com debian/import i386 Packages [20.4 kB]
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/contrib Translation-en_GB   
Ign http://debian.linuxmint.com testing/contrib Translation-en
Ign http://debian.linuxmint.com testing/non-free Translation-en_GB
Ign http://debian.linuxmint.com testing/non-free Translation-en
Ign http://debian.linuxmint.com testing/updates/contrib Translation-en_GB
Ign http://debian.linuxmint.com testing/updates/contrib Translation-en
Ign http://debian.linuxmint.com testing/updates/main Translation-en_GB
Ign http://debian.linuxmint.com testing/updates/main Translation-en
Ign http://debian.linuxmint.com testing/updates/non-free Translation-en_GB
Ign http://debian.linuxmint.com testing/updates/non-free Translation-en
Ign http://packages.linuxmint.com debian/import Translation-en_GB
Ign http://packages.linuxmint.com debian/import Translation-en
Ign http://packages.linuxmint.com debian/main Translation-en_GB
Ign http://packages.linuxmint.com debian/main Translation-en
Ign http://packages.linuxmint.com debian/upstream Translation-en_GB
Ign http://packages.linuxmint.com debian/upstream Translation-en
Fetched 50.6 kB in 4s (10.8 kB/s)
Reading package lists... Done
W: Failed to fetch http://www.debian.linuxmint.com/latest/multimedia/dists/testing/InRelease 

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

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


Unfortunately I'm going to be offline for a few hours after posting this message, so please don't think I'm ignoring any offers of help :wink:

Thanks in advance,
Tony
User avatar
Tony.B
Level 2
Level 2
 
Posts: 60
Joined: Mon Oct 25, 2010 3:51 pm
Location: Kent, UK & KZN, South Africa

Re: Error message: Failed to fetch ...

Postby zerozero on Sun Mar 11, 2012 9:03 am

Tony,
Code: Select all
gksu gedit /etc/apt/sources.list
and replace the debian multimedia entry in there with
Code: Select all
deb http://debian.linuxmint.com/latest/multimedia testing main non-free
(yours has as extra www so is an non-existing repo)
save the file, close and update and dist-upgrade (now it should be fine)
zerozero
Level 16
Level 16
 
Posts: 6471
Joined: Tue Jul 07, 2009 2:29 pm

Re: Error message: Failed to fetch ...

Postby squeezy on Sun Mar 11, 2012 9:03 am

There's no such server as http://www.debian.linuxmint.com

Your sources should look like this for a standard LMDE install.

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


Change "latest" to "incoming" if you want to test the upcoming Update Pack 4.
squeezy
Level 5
Level 5
 
Posts: 567
Joined: Thu Feb 23, 2012 2:05 pm
Location: The Land of Enchantment

Re: Error message: Failed to fetch ...

Postby squeezy on Sun Mar 11, 2012 9:05 am

D'oh!! :lol:
squeezy
Level 5
Level 5
 
Posts: 567
Joined: Thu Feb 23, 2012 2:05 pm
Location: The Land of Enchantment

Re: Error message: Failed to fetch ...

Postby kc1di on Sun Mar 11, 2012 9:13 am

zerozero beat me to it but his suggestion should fix the problem.
Cheers
John 3:16
Morse code an Early
Digital Mode
Registered Linux User #462608
Image
User avatar
kc1di
Level 6
Level 6
 
Posts: 1429
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Error message: Failed to fetch ...

Postby Tony.B on Sun Mar 11, 2012 6:16 pm

Thank you, zerozero.
Thank you, squeezy.
And thank you kc1di.

Yes, it all worked fine. I hadn't noticed the "www" which somehow crept in there - senile dementia no doubt.

And, squeezy, thanks also for the heads-up on how to obtain Update Pack 4 - but I think I'll play safe and stay with "latest" rather than "incoming". My penguin isn't ready to throw away its L-plates yet.

Thanks again to all of you.
Cheers,
Tony
User avatar
Tony.B
Level 2
Level 2
 
Posts: 60
Joined: Mon Oct 25, 2010 3:51 pm
Location: Kent, UK & KZN, South Africa

Re: Error message: Failed to fetch ... (SOLVED)

Postby zerozero on Sun Mar 11, 2012 7:18 pm

Tony,
you 're welcome, glad it's working for you now.

squeezy wrote:D'oh!! :lol:
:lol: and again :lol:
zerozero
Level 16
Level 16
 
Posts: 6471
Joined: Tue Jul 07, 2009 2:29 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 2 guests