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

Archived topics about LMDE 1 and LMDE 2
Locked
Tony.B

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

Post by Tony.B »

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 LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
kc1di
Level 18
Level 18
Posts: 8175
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Error message: Failed to fetch ...

Post by kc1di »

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?
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
Tony.B

Re: Error message: Failed to fetch ...

Post by Tony.B »

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
zerozero

Re: Error message: Failed to fetch ...

Post by zerozero »

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)
squeezy

Re: Error message: Failed to fetch ...

Post by squeezy »

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

Re: Error message: Failed to fetch ...

Post by squeezy »

D'oh!! :lol:
User avatar
kc1di
Level 18
Level 18
Posts: 8175
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Error message: Failed to fetch ...

Post by kc1di »

zerozero beat me to it but his suggestion should fix the problem.
Cheers
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
Tony.B

Re: Error message: Failed to fetch ...

Post by Tony.B »

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
zerozero

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

Post by zerozero »

Tony,
you 're welcome, glad it's working for you now.
squeezy wrote:D'oh!! :lol:
:lol: and again :lol:
Locked

Return to “LMDE Archive”