LinuxQuestions.org
Help answer threads with 0 replies.
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 10-14-2011, 01:15 PM   #1
nesrail
Member
 
Registered: Jan 2009
Distribution: Differs
Posts: 121

Rep: Reputation: 15
Apt-get update drives me nuts!!!


Hello.
Just install Debian Testing. And when I use apt-get update I get an error, saying
Code:
W: Failed to fetch http://www.debian-multimedia.org/dists/testing/InRelease 

W: Failed to fetch http://security.debian.org/dists/testing/updates/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'
Some times its not a problem and it updates as normal. But when it doesn't it drives me f**ing nuts!

My source list is:
Code:
deb http://ftp.dk.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.dk.debian.org/debian/ testing main contrib non-free

deb http://www.debian-multimedia.org testing main non-free

deb http://security.debian.org/ testing/updates main
deb-src http://security.debian.org/ testing/updates main
Anyone got a fix or know what the problem is?
 
Old 10-14-2011, 01:56 PM   #2
etech3
Senior Member
 
Registered: Jul 2009
Location: Virginia
Distribution: Debian Stable Testing Sid Slackware CentOS
Posts: 1,055
Blog Entries: 2

Rep: Reputation: 45
Ypu have some choices on the multimedia:

For wheezy (testing) amd64, armel, i386, ia64, mipsel, powerpc and sparc packages
add in your /etc/apt/sources.list
deb http://www.debian-multimedia.org wheezy main non-free
or
deb ftp://ftp.debian-multimedia.org wheezy main non-free
or
deb http://www.debian-multimedia.org testing main non-free
or
deb ftp://ftp.debian-multimedia.org testing main non-free

How is your dns and gateway setup?

Might be a dns issue.
 
Old 10-14-2011, 02:10 PM   #3
nesrail
Member
 
Registered: Jan 2009
Distribution: Differs
Posts: 121

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by etech3 View Post
Ypu have some choices on the multimedia:

For wheezy (testing) amd64, armel, i386, ia64, mipsel, powerpc and sparc packages
add in your /etc/apt/sources.list
deb http://www.debian-multimedia.org wheezy main non-free
or
deb ftp://ftp.debian-multimedia.org wheezy main non-free
or
deb http://www.debian-multimedia.org testing main non-free
or
deb ftp://ftp.debian-multimedia.org testing main non-free

How is your dns and gateway setup?

Might be a dns issue.
I added the four links to my sources.list. And now debian-multimedia updates without problem. http://security.debian.org/dists/tes...ates/InRelease and http://security.debian.org/dists/tes...es/Release.gpg is still a problem. I think my dns is alright. Don't know how to tjeck if is not.

btw. Why do I need to add all four links? Isn't one enough?
 
Old 10-14-2011, 02:24 PM   #4
etech3
Senior Member
 
Registered: Jul 2009
Location: Virginia
Distribution: Debian Stable Testing Sid Slackware CentOS
Posts: 1,055
Blog Entries: 2

Rep: Reputation: 45
You don't have to add all four, pick one and comment out the others for now. If the problem comes up again, just switch.

If I remember, at the top of the Debian forum is the sources list sticky. Read through that.

Take a look at netselct to find some fast sources. Just add with apt-get install.

Read the man pages or:
Code:
apt-cache show netselect
 
Old 10-14-2011, 03:54 PM   #5
nesrail
Member
 
Registered: Jan 2009
Distribution: Differs
Posts: 121

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by etech3 View Post
You don't have to add all four, pick one and comment out the others for now. If the problem comes up again, just switch.

If I remember, at the top of the Debian forum is the sources list sticky. Read through that.

Take a look at netselct to find some fast sources. Just add with apt-get install.

Read the man pages or:
Code:
apt-cache show netselect
Now it failed again.
 
Old 10-14-2011, 04:08 PM   #6
etech3
Senior Member
 
Registered: Jul 2009
Location: Virginia
Distribution: Debian Stable Testing Sid Slackware CentOS
Posts: 1,055
Blog Entries: 2

Rep: Reputation: 45
You tried pinging? How about tracert?
 
Old 10-14-2011, 05:05 PM   #7
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
The command should be

Code:
apt-cache policy netselect
Regardless, ftp is working http is not. Are you behind an http proxy? Can browsers connect to http ok?

If you are connecting through a proxy and you configured your browser for that, then apt also needs to know about it - so you'll need to set up the proxy in apt.conf (google, man pages, etc). Or you can just use ftp sources if they all work ok.
 
Old 10-14-2011, 06:27 PM   #8
etech3
Senior Member
 
Registered: Jul 2009
Location: Virginia
Distribution: Debian Stable Testing Sid Slackware CentOS
Posts: 1,055
Blog Entries: 2

Rep: Reputation: 45
apt-cache show <PACKAGE> will give information about the package, like a description.

apt-cache policy <PACKAGE> will show if it installed or not and version info.

Code:
apt-cache policy netselect-apt
netselect-apt:
  Installed: (none)
  Candidate: 0.3.ds1-14
  Version table:
     0.3.ds1-14 0
        500 cdrom://[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Official i386 DVD Binary-2 20110626-15:45]/ squeeze/main i386 Packages
        500 http://ftp.us.debian.org/debian/ squeeze/main i386 Packages
and

Code:
apt-cache show netselect-apt
Package: netselect-apt
Priority: optional
Section: net
Installed-Size: 60
Maintainer: Filippo Giunchedi <filippo@debian.org>
Architecture: all
Source: netselect
Version: 0.3.ds1-14
Depends: wget, netselect (>= 0.3.ds1-1)
Filename: pool/main/n/netselect/netselect-apt_0.3.ds1-14_all.deb
Size: 10476
MD5Sum: 53f6337108845119f370ed062c0a7ab8
SHA1: 9190289e73786b0e64cffd75476342575785640c
SHA256: 5a40c2087b00dca2e689286298e4778927d9c50cfb6c9a190f1e215192b8fe2b
Description: speed tester for choosing a fast Debian mirror
 This package provides a utility that can choose the best Debian mirror
 by downloading the full mirror list and using netselect to find the
 fastest/closest one.
 .
 It can output a sources.list(5) file that can be used with package
 management tools such as apt or aptitude.
Enhances: apt
Homepage: http://alumnit.ca/~apenwarr/netselect/
Tag: implemented-in::shell, interface::commandline, network::scanner, role::program, scope::utility, suite::debian, use::downloading
 
Old 10-15-2011, 01:45 AM   #9
nesrail
Member
 
Registered: Jan 2009
Distribution: Differs
Posts: 121

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by etech3 View Post
apt-cache show <PACKAGE> will give information about the package, like a description.

apt-cache policy <PACKAGE> will show if it installed or not and version info.

Code:
apt-cache policy netselect-apt
netselect-apt:
  Installed: (none)
  Candidate: 0.3.ds1-14
  Version table:
     0.3.ds1-14 0
        500 cdrom://[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Official i386 DVD Binary-2 20110626-15:45]/ squeeze/main i386 Packages
        500 http://ftp.us.debian.org/debian/ squeeze/main i386 Packages
and

Code:
apt-cache show netselect-apt
Package: netselect-apt
Priority: optional
Section: net
Installed-Size: 60
Maintainer: Filippo Giunchedi <filippo@debian.org>
Architecture: all
Source: netselect
Version: 0.3.ds1-14
Depends: wget, netselect (>= 0.3.ds1-1)
Filename: pool/main/n/netselect/netselect-apt_0.3.ds1-14_all.deb
Size: 10476
MD5Sum: 53f6337108845119f370ed062c0a7ab8
SHA1: 9190289e73786b0e64cffd75476342575785640c
SHA256: 5a40c2087b00dca2e689286298e4778927d9c50cfb6c9a190f1e215192b8fe2b
Description: speed tester for choosing a fast Debian mirror
 This package provides a utility that can choose the best Debian mirror
 by downloading the full mirror list and using netselect to find the
 fastest/closest one.
 .
 It can output a sources.list(5) file that can be used with package
 management tools such as apt or aptitude.
Enhances: apt
Homepage: http://alumnit.ca/~apenwarr/netselect/
Tag: implemented-in::shell, interface::commandline, network::scanner, role::program, scope::utility, suite::debian, use::downloading
Have no idea what you guys is talking about. Why do I enter these commands again??
 
Old 10-15-2011, 08:01 AM   #10
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
apt-cache policy <packagename> will show you what is available and installable. As you've posted no output for anything you've been asked for since the start of the thread, no one can really help you out.

I asked if you were connecting via a proxy? I ask because you can only connect to ftp sources, not http sources. Try pinging the http sources and see if they respond, if they don't, check your network and proxy settings.

@etech3: sorry I thought you were trying to see if it was installed or not, my mistake.

Last edited by cynwulf; 10-15-2011 at 08:02 AM.
 
Old 10-15-2011, 08:09 AM   #11
etech3
Senior Member
 
Registered: Jul 2009
Location: Virginia
Distribution: Debian Stable Testing Sid Slackware CentOS
Posts: 1,055
Blog Entries: 2

Rep: Reputation: 45
nesrail,

Did you take a look at the sticky on sources?
http://www.linuxquestions.org/questi...e-list-330913/
 
Old 10-15-2011, 11:07 AM   #12
nesrail
Member
 
Registered: Jan 2009
Distribution: Differs
Posts: 121

Original Poster
Rep: Reputation: 15
@caravel Sorry

Code:
netselect:
  Installeret: (ingen)
  Kandidat:    0.3.ds1-21
  Versionstabel:
     0.3.ds1-21 0
        500 http://ftp.dk.debian.org/debian/ wheezy/main i386 Packages

@etech3 yes looked at the sticky. will try and use the sources.list from there
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Howdy from a newbie. Linux drives me nuts BUT Windose make me angry. doccpu LinuxQuestions.org Member Intro 1 07-01-2011 08:21 AM
Howabout apt-get update ; apt-get upgrade -f -y --force-yes in the crontab every week frenchn00b Debian 1 04-05-2008 07:47 AM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
apt-get install then my system goes nuts and breaks! SonoranFun Linux - Software 1 12-27-2004 08:00 AM
Does 'apt-get update' update the database used by 'apt-cache'? davidas Debian 5 04-20-2004 01:27 AM

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

All times are GMT -5. The time now is 01:00 AM.

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