LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-07-2011, 09:55 PM   #16
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497

Go to Synaptic>Settings>Repositories. There will be a couple alternatives in the drop down that shows a repo name. Click on that and pick a different repo.

If not sure, try "other". Among other things it will offer to ping all the mirrors and pick the fastest one from your box.

This is not always the best choice as it may be a little mirror with no traffic at the time you try that option. It will work though and be good to know that one is available.

This will alter your /etc/apt/sources.list for you. Hit the reload button and you should be all set.
 
1 members found this post helpful.
Old 09-07-2011, 10:02 PM   #17
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Original Poster
Rep: Reputation: 210Reputation: 210Reputation: 210
Thanks Caravel. Finding another mirror did solve it. I replaced the kernel.org repository with one from York University, and it now works.

Code:
# latest clamav clamav-daemon and avscan for squeeze
# deb http://mirrors.kernel.org/debian squeeze-updates main contrib
deb http://debian.yorku.ca/debian squeeze-updates main contrib
 
Old 09-08-2011, 03:21 AM   #18
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Originally Posted by widget View Post
Go to Synaptic>Settings>Repositories.
Personally I would advise against this method for several reasons - most notably that you will never understand the sources.list file syntax (it's very simple indeed once you get used to it) and thus will be effectively crippled if xorg breaks and you're e.g. faced with a virtual terminal wanting to change repos to pull in a package from another branch...

There was a thread at the debian forums some months ago where someone reinstalled the whole OS just to generate a new sources.list file...

There is a howto here for editing and understanding sources.list: http://www.debianuserforums.org/viewtopic.php?f=9&t=388

(It's not a complete guide, but it gives a noob a decent run down of the minimum they need to know.)

Code:
Err http://mirrors.kernel.org squeeze-updates Release.gpg                                                                                                                                                           
  Could not resolve 'mirrors.kernel.org'
When you see "could not resolve" it means that your networking is borked or the mirror is down. For future reference, in such cases you only need to replace the mirror, thats this part: "http://mirrors.kernel.org" with one of these:

http://www.debian.org/mirror/list
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Configure Automatic Updates On Debian Squeeze LXer Syndicated Linux News 0 07-27-2011 05:51 PM
[SOLVED] python 3.2 on squeeze... things not working well comp_brad1136 Linux - Software 2 04-02-2011 12:46 PM
LXer: Debian Squeeze updates gdm3 today, and goofy spaceship theme is on the login screen too LXer Syndicated Linux News 0 12-09-2010 06:00 PM
[SOLVED] ati 3d accelation not working on debian squeeze (tried everything on google) tuxxxxx Linux - Hardware 8 11-01-2010 07:28 AM
[SOLVED] sysv-rc, squeeze updates, how do I fix these errors? radiodee1 Debian 4 11-13-2009 05:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration