[Solved] update not working

Archived topics about LMDE 1 and LMDE 2
Locked
tec_wiz

[Solved] update not working

Post by tec_wiz »

When I run the mint update utility I am receiving some errors. It says it can't reach some repositories, and can't get some packages. Below are the two error message I receive.



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

W: Failed to fetch http://packages.linuxmint.com/dists/deb ... ion-en.bz2 Could not resolve 'packages.linuxmint.com'

W: Failed to fetch http://packages.linuxmint.com/dists/deb ... -en_US.bz2 Could not resolve 'packages.linuxmint.com'

W: Failed to fetch http://packages.linuxmint.com/dists/deb ... ion-en.bz2 Could not resolve 'packages.linuxmint.com'

W: Failed to fetch http://packages.linuxmint.com/dists/deb ... -en_US.bz2 Could not resolve 'packages.linuxmint.com'

W: Failed to fetch http://packages.linuxmint.com/dists/deb ... ion-en.bz2 Could not resolve 'packages.linuxmint.com'

W: Failed to fetch http://packages.linuxmint.com/dists/deb ... -en_US.bz2 Could not resolve 'packages.linuxmint.com'

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

W: Failed to fetch http://www.debian-multimedia.org/dists/ ... ion-en.bz2 Could not resolve 'www.debian-multimedia.org'

W: Failed to fetch http://www.debian-multimedia.org/dists/ ... -en_US.bz2 Could not resolve 'www.debian-multimedia.org'

W: Failed to fetch http://www.debian-multimedia.org/dists/ ... ion-en.bz2 Could not resolve 'www.debian-multimedia.org'

W: Failed to fetch http://www.debian-multimedia.org/dists/ ... -en_US.bz2 Could not resolve 'www.debian-multimedia.org'

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







W: Failed to fetch http://www.debian-multimedia.org/pool/m ... 0_i386.deb
Could not resolve 'www.debian-multimedia.org'


W: Failed to fetch http://packages.linuxmint.com/pool/main ... 01_all.deb
Could not resolve 'packages.linuxmint.com'


W: Failed to fetch http://www.debian-multimedia.org/pool/m ... 0_i386.deb
Could not resolve 'www.debian-multimedia.org'


Can someone please help me with this.
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.
craigevil

Re: update not working

Post by craigevil »

What happens if you run apt-get update in a terminal?

Code: Select all

sudo apt-get update
tec_wiz

Re: update not working

Post by tec_wiz »

This is what I get when I run apt-get update




_______________________________________
( There will be big changes for you but )
( you will be happy. )
---------------------------------------
o
o \_\_ _/_/
o \__/
(oo)\_______
(__)\ )\/\
||----w |
|| ||
damean@damean-desktop ~ $ sudo apt-get update
[sudo] password for damean:
Hit http://security.debian.org testing/updates Release.gpg
Ign http://security.debian.org/ testing/updates/contrib Translation-en
Ign http://security.debian.org/ testing/updates/contrib Translation-en_US
Err http://packages.linuxmint.com debian Release.gpg
Could not resolve 'packages.linuxmint.com'
Err http://packages.linuxmint.com/ debian/import Translation-en
Could not resolve 'packages.linuxmint.com'
Err http://packages.linuxmint.com/ debian/import Translation-en_US
Could not resolve 'packages.linuxmint.com'
Err http://packages.linuxmint.com/ debian/main Translation-en
Could not resolve 'packages.linuxmint.com'
Err http://packages.linuxmint.com/ debian/main Translation-en_US
Could not resolve 'packages.linuxmint.com'
Err http://packages.linuxmint.com/ debian/upstream Translation-en
Could not resolve 'packages.linuxmint.com'
Err http://packages.linuxmint.com/ debian/upstream Translation-en_US
Could not resolve 'packages.linuxmint.com'
Ign http://security.debian.org/ testing/updates/main Translation-en
Ign http://security.debian.org/ testing/updates/main Translation-en_US
Ign http://security.debian.org/ testing/updates/non-free Translation-en
Ign http://security.debian.org/ testing/updates/non-free Translation-en_US
Err http://www.debian-multimedia.org testing Release.gpg
Could not resolve 'www.debian-multimedia.org'
Err http://www.debian-multimedia.org/ testing/main Translation-en
Could not resolve 'www.debian-multimedia.org'
Err http://www.debian-multimedia.org/ testing/main Translation-en_US
Could not resolve 'www.debian-multimedia.org'
Err http://www.debian-multimedia.org/ testing/non-free Translation-en
Could not resolve 'www.debian-multimedia.org'
Err http://www.debian-multimedia.org/ testing/non-free Translation-en_US
Could not resolve 'www.debian-multimedia.org'
Hit http://security.debian.org testing/updates Release
Hit http://security.debian.org testing/updates/main i386 Packages
Hit http://ftp.debian.org testing Release.gpg
Ign http://ftp.debian.org/debian/ testing/contrib Translation-en
Ign http://ftp.debian.org/debian/ testing/contrib Translation-en_US
Hit http://security.debian.org testing/updates/contrib i386 Packages
Hit http://security.debian.org testing/updates/non-free i386 Packages
Ign http://ftp.debian.org/debian/ testing/main Translation-en
Ign http://ftp.debian.org/debian/ testing/main Translation-en_US
Ign http://ftp.debian.org/debian/ testing/non-free Translation-en
Ign http://ftp.debian.org/debian/ testing/non-free Translation-en_US
Hit http://ftp.debian.org testing Release
Hit http://ftp.debian.org testing/main i386 Packages/DiffIndex
Hit http://ftp.debian.org testing/contrib i386 Packages/DiffIndex
Hit http://ftp.debian.org testing/non-free i386 Packages/DiffIndex
Reading package lists... Done
W: Failed to fetch http://packages.linuxmint.com/dists/debian/Release.gpg Could not resolve 'packages.linuxmint.com'

W: Failed to fetch http://packages.linuxmint.com/dists/deb ... ion-en.bz2 Could not resolve 'packages.linuxmint.com'

W: Failed to fetch http://packages.linuxmint.com/dists/deb ... -en_US.bz2 Could not resolve 'packages.linuxmint.com'

W: Failed to fetch http://packages.linuxmint.com/dists/deb ... ion-en.bz2 Could not resolve 'packages.linuxmint.com'

W: Failed to fetch http://packages.linuxmint.com/dists/deb ... -en_US.bz2 Could not resolve 'packages.linuxmint.com'

W: Failed to fetch http://packages.linuxmint.com/dists/deb ... ion-en.bz2 Could not resolve 'packages.linuxmint.com'

W: Failed to fetch http://packages.linuxmint.com/dists/deb ... -en_US.bz2 Could not resolve 'packages.linuxmint.com'

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

W: Failed to fetch http://www.debian-multimedia.org/dists/ ... ion-en.bz2 Could not resolve 'www.debian-multimedia.org'

W: Failed to fetch http://www.debian-multimedia.org/dists/ ... -en_US.bz2 Could not resolve 'www.debian-multimedia.org'

W: Failed to fetch http://www.debian-multimedia.org/dists/ ... ion-en.bz2 Could not resolve 'www.debian-multimedia.org'

W: Failed to fetch http://www.debian-multimedia.org/dists/ ... -en_US.bz2 Could not resolve 'www.debian-multimedia.org'

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

Re: update not working

Post by abercrombieande »

Those are exactly the errors I would expect to get if its apt-get cannot connect to the Internet. Maybe the port is blocked? What is the output of

Code: Select all

cat /etc/apt/sources.list 
twa

Re: update not working

Post by twa »

tec_wiz,
read this and change accordingly:
http://forum.videolan.org/viewtopic.php?f=13&t=70719
let's us know.
tec_wiz

Re: update not working

Post by tec_wiz »

twa wrote:tec_wiz,
read this and change accordingly:
http://forum.videolan.org/viewtopic.php?f=13&t=70719
let's us know.
I read that and it only refrences VLC. I can't beleive that the only thing in the debian-multimedia repo is VLC. I do understand what the post is saying though, and if I run into problems with VLC then I will work around them.

However, this doesn't explain why I can't reach the debian-multimedia, or linuxmint repos.
abercrombieande wrote:Those are exactly the errors I would expect to get if its apt-get cannot connect to the Internet. Maybe the port is blocked? What is the output of

Code: Select all

cat /etc/apt/sources.list 
i will take a look at this when I get home.
twa

Re: update not working

Post by twa »

tec_wiz,
I had your same problem with debian multimedia repository and have solved following the link I gave.
For the other problems post your sources.list as requested.
tec_wiz

Re: update not working

Post by tec_wiz »

twa wrote:tec_wiz,
I had your same problem with debian multimedia repository and have solved following the link I gave.
For the other problems post your sources.list as requested.
The reason this fixes the debian-multimedia repo issue is because the link tells you to remove that repository from your sources list. This does not solve my problem, only removes the problem. I would like to be able to use the debian-multimedia repo if I am supposed to use it.

I do appreciate the help though.
tec_wiz

Re: update not working

Post by tec_wiz »

abercrombieande wrote:Those are exactly the errors I would expect to get if its apt-get cannot connect to the Internet. Maybe the port is blocked? What is the output of

Code: Select all

cat /etc/apt/sources.list 
here is what is shown after I use that command

damean@damean-desktop ~ $ cat /etc/apt/sources.list
deb http://packages.linuxmint.com/ debian main upstream import
deb http://ftp.debian.org/debian 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
craigevil

Re: update not working

Post by craigevil »

Not to be a party pooper but VLC is not in the debian-multimedia.org repo it is in the main Debian repos.

$ apt-cache policy vlc
vlc:
Installed: 1.1.4-1
Candidate: 1.1.4-1
Version table:
*** 1.1.4-1 0
101 http://ftp.debian.org/debian/ experimental/main i386 Packages
100 /var/lib/dpkg/status
1.1.3-1 0
500 http://mirrors.kernel.org/debian/ sid/main i386 Packages

The VLC thread really only applies to Stable, very people running Testing have had issues using the dmm repo. While I do not know of anyone that has issues with vlc in sid.


Now back on topic, can you post your /etc/resolv.conf

Also check /etc/apt/apt.conf it should either be empty or it might not even exist.

I had a similar issue a while back, my router is setup to use DHCP and OpenDNS nameservers, but apt-get kept throwing errors so I edited dhcp.conf and added the nameservers to my desktop.

https://store.opendns.com/familyshield/ ... tem/ubuntu
tec_wiz

Re: update not working

Post by tec_wiz »

craigevil wrote: Now back on topic, can you post your /etc/resolv.conf
# Generated by NetworkManager
domain Damean
search Damean
nameserver 192.168.2.1
craigevil wrote: Also check /etc/apt/apt.conf it should either be empty or it might not even exist.
This is what is in my apt.conf file:
APT::Get::AllowUnauthenticated 1;
craigevil wrote: I had a similar issue a while back, my router is setup to use DHCP and OpenDNS nameservers, but apt-get kept throwing errors so I edited dhcp.conf and added the nameservers to my desktop.

https://store.opendns.com/familyshield/ ... tem/ubuntu
I tried this and it worked!!!! Thank you so much. I added the opendns servers to my dhcp.config file and everything seems to be working fine now.
tec_wiz

Re: update not working

Post by tec_wiz »

Just so anyone who looks this up in the future knows. I ended up using the google DNS server 8.8.8.8 and 8.8.4.4 instead of the opendns one. The open dns server was blocking a few sites I reguarly visit because it had parental controls enabled.

Just FYI.
newfie

Re: [Solved] update not working

Post by newfie »

I am having this issue right now as well, and nothing in the above posts would fix it. I have the exact same issue when trying to update:

Code: Select all

Hit http://www.debian-multimedia.org testing Release.gpg
Ign http://www.debian-multimedia.org/ testing/main Translation-en              
Hit http://security.debian.org testing/updates Release.gpg                     
Ign http://security.debian.org/ testing/updates/contrib Translation-en         
Ign http://security.debian.org/ testing/updates/contrib Translation-en_GB      
Hit http://ftp.ca.debian.org testing Release.gpg                               
Ign http://www.debian-multimedia.org/ testing/main Translation-en_GB           
Ign http://www.debian-multimedia.org/ testing/non-free Translation-en          
Ign http://security.debian.org/ testing/updates/main Translation-en            
Ign http://security.debian.org/ testing/updates/main Translation-en_GB         
Ign http://security.debian.org/ testing/updates/non-free Translation-en        
Ign http://security.debian.org/ testing/updates/non-free Translation-en_GB     
Hit http://security.debian.org testing/updates Release                         
Ign http://ftp.ca.debian.org/debian/ testing/contrib Translation-en            
Ign http://ftp.ca.debian.org/debian/ testing/contrib Translation-en_GB         
Ign http://ftp.ca.debian.org/debian/ testing/main Translation-en               
Ign http://ftp.ca.debian.org/debian/ testing/main Translation-en_GB            
Ign http://www.debian-multimedia.org/ testing/non-free Translation-en_GB       
Hit http://www.debian-multimedia.org testing Release                           
Ign http://ftp.ca.debian.org/debian/ testing/non-free Translation-en           
Ign http://ftp.ca.debian.org/debian/ testing/non-free Translation-en_GB        
Ign http://linuxmint.daniel-vigano.de debian Release.gpg                       
Ign http://linuxmint.daniel-vigano.de/ debian/import Translation-en            
Ign http://linuxmint.daniel-vigano.de/ debian/import Translation-en_GB         
Hit http://ftp.ca.debian.org testing Release                                   
Ign http://linuxmint.daniel-vigano.de/ debian/main Translation-en              
Ign http://linuxmint.daniel-vigano.de/ debian/main Translation-en_GB           
Ign http://linuxmint.daniel-vigano.de/ debian/upstream Translation-en          
Ign http://linuxmint.daniel-vigano.de/ debian/upstream Translation-en_GB       
Ign http://linuxmint.daniel-vigano.de debian Release                           
Hit http://security.debian.org testing/updates/main i386 Packages              
Hit http://www.debian-multimedia.org testing/main i386 Packages/DiffIndex      
Hit http://ftp.ca.debian.org testing/main i386 Packages/DiffIndex              
Ign http://linuxmint.daniel-vigano.de debian/main i386 Packages/DiffIndex      
Hit http://security.debian.org testing/updates/contrib i386 Packages           
Hit http://security.debian.org testing/updates/non-free i386 Packages          
Hit http://www.debian-multimedia.org testing/non-free i386 Packages/DiffIndex  
Hit http://ftp.ca.debian.org testing/contrib i386 Packages/DiffIndex           
Ign http://linuxmint.daniel-vigano.de debian/import i386 Packages/DiffIndex    
Ign http://linuxmint.daniel-vigano.de debian/upstream i386 Packages/DiffIndex  
Hit http://ftp.ca.debian.org testing/non-free i386 Packages/DiffIndex
Ign http://linuxmint.daniel-vigano.de debian/main i386 Packages
Get:1 http://mozilla.debian.net ./ Release.gpg [828 B]
Ign http://mozilla.debian.net/packages/ ./ Translation-en
Ign http://mozilla.debian.net/packages/ ./ Translation-en_GB
Ign http://linuxmint.daniel-vigano.de debian/import i386 Packages
Get:2 http://mozilla.debian.net ./ Release [1,167 B]
Ign http://mozilla.debian.net ./ Release                  
Ign http://linuxmint.daniel-vigano.de debian/upstream i386 Packages
Ign http://mozilla.debian.net ./ Packages/DiffIndex
Ign http://linuxmint.daniel-vigano.de debian/main i386 Packages
Ign http://mozilla.debian.net ./ Packages      
Ign http://linuxmint.daniel-vigano.de debian/import i386 Packages
Ign http://mozilla.debian.net ./ Packages
Ign http://linuxmint.daniel-vigano.de debian/upstream i386 Packages
Hit http://mozilla.debian.net ./ Packages
Err http://linuxmint.daniel-vigano.de debian/main i386 Packages
  404  Not Found
Err http://linuxmint.daniel-vigano.de debian/import i386 Packages
  404  Not Found
Err http://linuxmint.daniel-vigano.de debian/upstream i386 Packages
  404  Not Found
Fetched 829 B in 4s (202 B/s)
W: GPG error: http://mozilla.debian.net ./ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 85A3D26506C4AE2A
W: Failed to fetch http://linuxmint.daniel-vigano.de/dists/debian/main/binary-i386/Packages.gz  404  Not Found

W: Failed to fetch http://linuxmint.daniel-vigano.de/dists/debian/import/binary-i386/Packages.gz  404  Not Found

W: Failed to fetch http://linuxmint.daniel-vigano.de/dists/debian/upstream/binary-i386/Packages.gz  404  Not Found

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

The GPG error isn't a concern, that's just the Iceweasel 4 repo without a key.

Edit: Maybe a thread like this should be Stickied?
Locked

Return to “LMDE Archive”