Problem with apt-get on my home network

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Problem with apt-get on my home network

Postby skymanj on Tue Nov 22, 2011 2:33 pm

Hi, recently installed mint. On my home network, when I run apt-get, I get the following error.

Code: Select all
Err http://security.debian.org testing/updates InRelease
 
Err http://www.debian-multimedia.org testing InRelease                         
 
Err http://debian.linuxmint.com testing InRelease                             
 
Err http://www.debian-multimedia.org testing Release.gpg                       
  Could not resolve 'www.debian-multimedia.org'
Err http://security.debian.org testing/updates Release.gpg                     
  Could not resolve 'security.debian.org'
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'
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://security.debian.org/dists/testing/updates/InRelease 

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

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

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

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: Some index files failed to download. They have been ignored, or old ones used instead.


However, I took the notebook to school, where it was able to update fine. Is there a fix for this somehow?

(also, my old Ubuntu install had no problem on my home network)
skymanj
Level 1
Level 1
 
Posts: 2
Joined: Tue Nov 22, 2011 2:25 pm

Linux Mint is funded by ads and donations.
 

Re: Problem with apt-get on my home network

Postby rich_roast on Tue Nov 22, 2011 2:59 pm

There are too many variables here to be completely confident about either of the following possibilities: either 1. the repository was down when you were trying to update from home or 2. your dns isn't working on your home network, hence the couldn't resolve errors. Is this the only time this has occurred at home (in which case possibility 1 seems most likely)?
User avatar
rich_roast
Level 6
Level 6
 
Posts: 1136
Joined: Sat Sep 05, 2009 4:37 pm

Re: Problem with apt-get on my home network

Postby skymanj on Tue Nov 22, 2011 3:12 pm

Yes, it only happens at home. However, I have tried Sunday (all day), Monday, and today, which leads me to think it isn't the repository. Also, I doubt it is 2, because my home pc is having no trouble downloading anything (not running mint however).
skymanj
Level 1
Level 1
 
Posts: 2
Joined: Tue Nov 22, 2011 2:25 pm

Re: Problem with apt-get on my home network

Postby Anakinholland on Tue Nov 22, 2011 3:21 pm

rich_roast wrote:There are too many variables here to be completely confident about either of the following possibilities: either 1. the repository was down when you were trying to update from home or 2. your dns isn't working on your home network, hence the couldn't resolve errors. Is this the only time this has occurred at home (in which case possibility 1 seems most likely)?

Server down would result in a "host could not be reached" I reckon? My bet's on DHCP/DNS.

You're right on their being to many variables. Sky, does your machine even get an IP-address? Are you using a static or dynamic configuration? Does regular internet work on this and other machines? Can you ping one of the failing servers from another machine? If you're on wireless network when it doesn't work, does it work if you're on cabled network?

If it doesn't work, please provide information using the following commands:

Code: Select all
sudo ifconfig
sudo cat /etc/resolv.conf
sudo route
sudo cat /etc/hosts

Also provide the IP-address of the router is there is any.

Regards,

Anakin
Please Edit your initial post title and add [SOLVED] once your question is resolved.
User avatar
Anakinholland
Level 3
Level 3
 
Posts: 145
Joined: Sun Oct 30, 2011 8:09 am


Return to Newbie Questions

Who is online

Users browsing this forum: librin.so.1 and 32 guests