apt-get failing

Hello,

I am trying to install some new software as well as updating my
packages but apt-get install and apt-get update both fail. apt-get
update fails with:

Err http://security.debian.org etch/updates Release.gpg
Temporary failure resolving âsecurity.debian.orgâ
Err http://packages.dotdeb.org stable Release.gpg
Temporary failure resolving âpackages.dotdeb.orgâ
Err http://ftp.uk.debian.org etch Release.gpg
Temporary failure resolving âftp.uk.debian.orgâ
Err http://download.webmin.com sarge Release.gpg
Temporary failure resolving âdownload.webmin.comâ
Failed to fetch http://ftp.uk.debian.org/debian/dists/etch/Release.gpg
Temporary failure resolving âftp.uk.debian.o
Failed to fetch http://security.debian.org/dists/etch/updates/Release.gpg
Temporary failure resolving âsecurity.deb
Failed to fetch http://download.webmin.com/download/repository/dists/sarge/Release.gpg
Temporary failure resolving comâ
Failed to fetch http://packages.dotdeb.org/dists/stable/Release.gpg
Temporary failure resolving âpackages.dotdeb.or
Reading package lists... Done
W: Couldn't stat source package list http://packages.dotdeb.org
stable/
all Packages (/var/lib/apt/lists/packages.dotble_all_binary-
i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old
ones used instead.

When I do a apt-get check, I get the following error:

Reading package lists... Done
Building dependency tree... Done
W: Couldn't stat source package list http://packages.dotdeb.org
stable/
all Packages (/var/lib/apt/lists/
packages.dotdeb.org_dists_stable_all_binary-i386_Packages) - stat (2
No such file or directory)
W: You may want to run apt-get update to correct these problems

My /apt/sources.list file is as follows:

deb http://ftp.uk.debian.org/debian/ etch main
deb-src http://ftp.uk.debian.org/debian/ etch main
deb http://security.debian.org/ etch/updates main
deb-src http://security.debian.org/ etch/updates main
deb http://download.webmin.com/download/repository sarge contrib
deb http://packages.dotdeb.org stable all
deb-src http://packages.dotdeb.org stable all

I am able to ping external websites using both ip and name, The server
itself is running and functioning properly but this problem is really
worrying as a client needs to install php5-curl and I am unable to do
this as a result of the above problems.

Any help will be most appreciated.

No votes yet

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

apt-get failing

On Wed, Oct 31, 2007 at 03:17:24AM -0700, justsimplequestions wrote:
> Hello,
>
> I am trying to install some new software as well as updating my
> packages but apt-get install and apt-get update both fail. apt-get
> update fails with:
>
> Err http://security.debian.org etch/updates Release.gpg
> Temporary failure resolving âsecurity.debian.orgâ
> Err http://packages.dotdeb.org stable Release.gpg
> Temporary failure resolving âpackages.dotdeb.orgâ
> Err http://ftp.uk.debian.org etch Release.gpg
> Temporary failure resolving âftp.uk.debian.orgâ
> Err http://download.webmin.com sarge Release.gpg
> Temporary failure resolving âdownload.webmin.comâ
> Failed to fetch http://ftp.uk.debian.org/debian/dists/etch/Release.gpg
> Temporary failure resolving âftp.uk.debian.o
> Failed to fetch http://security.debian.org/dists/etch/updates/Release.gpg
> Temporary failure resolving âsecurity.deb
> Failed to fetch http://download.webmin.com/download/repository/dists/sarge/Release.gpg
> Temporary failure resolving comâ
> Failed to fetch http://packages.dotdeb.org/dists/stable/Release.gpg
> Temporary failure resolving âpackages.dotdeb.or
> Reading package lists... Done
> W: Couldn't stat source package list http://packages.dotdeb.org
> stable/
> all Packages (/var/lib/apt/lists/packages.dotble_all_binary-
> i386_Packages) - stat (2 No such file or directory)
> W: You may want to run apt-get update to correct these problems
> E: Some index files failed to download, they have been ignored, or old
> ones used instead.
>
> When I do a apt-get check, I get the following error:
>
> Reading package lists... Done
> Building dependency tree... Done
> W: Couldn't stat source package list http://packages.dotdeb.org
> stable/
> all Packages (/var/lib/apt/lists/
> packages.dotdeb.org_dists_stable_all_binary-i386_Packages) - stat (2
> No such file or directory)
> W: You may want to run apt-get update to correct these problems
>
> My /apt/sources.list file is as follows:
>
> deb http://ftp.uk.debian.org/debian/ etch main
> deb-src http://ftp.uk.debian.org/debian/ etch main
> deb http://security.debian.org/ etch/updates main
> deb-src http://security.debian.org/ etch/updates main
> deb http://download.webmin.com/download/repository sarge contrib
> deb http://packages.dotdeb.org stable all
> deb-src http://packages.dotdeb.org stable all
>
> I am able to ping external websites using both ip and name, The
server

great that you can ping external websites, but can you ping the debian
servers? those are the ones that count here ;) Also there are some
funky characters and missing characters in your apt output above. Is
that transcription error? or something else?

A

apt-get failing

On Oct 31, 4:00 pm, Andrew Sackville-West
wrote:
> On Wed, Oct 31, 2007 at 03:17:24AM -0700, justsimplequestions wrote:
> > Hello,
>
> > I am trying to install some new software as well as updating my
> > packages but apt-get install and apt-get update both fail. apt-get
> > update fails with:
>
> > Errhttp://security.debian.orgetch/updates Release.gpg
> > Temporary failure resolving âsecurity.debian.orgâ
> > Errhttp://packages.dotdeb.orgstable Release.gpg
> > Temporary failure resolving âpackages.dotdeb.orgâ
> > Errhttp://ftp.uk.debian.orgetch Release.gpg
> > Temporary failure resolving âftp.uk.debian.orgâ
> > Errhttp://download.webmin.comsarge Release.gpg
> > Temporary failure resolving âdownload.webmin.comâ
> > Failed to fetchhttp://ftp.uk.debian.org/debian/dists/etch/Release.gpg
> > Temporary failure resolving âftp.uk.debian.o
> > Failed to fetchhttp://security.debian.org/dists/etch/updates/Release.gpg
> > Temporary failure resolving âsecurity.deb
> > Failed to fetchhttp://download.webmin.com/download/repository/dists/sarge/Release.gpg
> > Temporary failure resolving comâ
> > Failed to fetchhttp://packages.dotdeb.org/dists/stable/Release.gpg
> > Temporary failure resolving âpackages.dotdeb.or
> > Reading package lists... Done
> > W: Couldn't stat source package listhttp://packages.dotdeb.org
> > stable/
> > all Packages (/var/lib/apt/lists/packages.dotble_all_binary-
> > i386_Packages) - stat (2 No such file or directory)
> > W: You may want to run apt-get update to correct these problems
> > E: Some index files failed to download, they have been ignored, or old
> > ones used instead.
>
> > When I do a apt-get check, I get the following error:
>
> > Reading package lists... Done
> > Building dependency tree... Done
> > W: Couldn't stat source package listhttp://packages.dotdeb.org
> > stable/
> > all Packages (/var/lib/apt/lists/
> > packages.dotdeb.org_dists_stable_all_binary-i386_Packages) - stat (2
> > No such file or directory)
> > W: You may want to run apt-get update to correct these problems
>
> > My /apt/sources.list file is as follows:
>
> > debhttp://ftp.uk.debian.org/debian/etch main
> > deb-srchttp://ftp.uk.debian.org/debian/etch main
> > debhttp://security.debian.org/etch/updates main
> > deb-srchttp://security.debian.org/etch/updates main
> > debhttp://download.webmin.com/download/repositorysarge contrib
> > debhttp://packages.dotdeb.orgstable all
> > deb-srchttp://packages.dotdeb.orgstable all
>
> > I am able to ping external websites using both ip and name, The
>
> server
>
> great that you can ping external websites, but can you ping the debian
> servers? those are the ones that count here ;) Also there are some
> funky characters and missing characters in your apt output above. Is
> that transcription error? or something else?
>
> A
>
> signature.asc
> 1KDownload

Thanks very much for replying. Could not ping the debian servers! I've
entered the ip address for the debian sites in the hosts an voila!
However, those are funky characters above... they worried me as well
and am not sure how and why they appear like that.

apt-get failing

On Wed, Oct 31, 2007 at 10:05:32AM -0700, justsimplequestions wrote:
> On Oct 31, 4:00 pm, Andrew Sackville-West
> wrote:
> > On Wed, Oct 31, 2007 at 03:17:24AM -0700, justsimplequestions wrote:
> > > Hello,
> >
> > > I am trying to install some new software as well as updating my
> > > packages but apt-get install and apt-get update both fail. apt-get
> > > update fails with:
> >
> > > Errhttp://security.debian.orgetch/updates Release.gpg
> > > Temporary failure resolving âsecurity.debian.orgâ
...apt errors
> >
> > > My /apt/sources.list file is as follows:
> >
> > > debhttp://ftp.uk.debian.org/debian/etch main
> > > deb-srchttp://ftp.uk.debian.org/debian/etch main
> > > debhttp://security.debian.org/etch/updates main
> > > deb-srchttp://security.debian.org/etch/updates main
> > > debhttp://download.webmin.com/download/repositorysarge contrib
> > > debhttp://packages.dotdeb.orgstable all
> > > deb-srchttp://packages.dotdeb.orgstable all
> >
> > > I am able to ping external websites using both ip and name, The
> >
> > great that you can ping external websites, but can you ping the debian
> > servers? those are the ones that count here ;) Also there are some
> > funky characters and missing characters in your apt output above. Is
> > that transcription error? or something else?
>
> Thanks very much for replying. Could not ping the debian servers! I've
> entered the ip address for the debian sites in the hosts an voila!
> However, those are funky characters above... they worried me as well
> and am not sure how and why they appear like that.
>
>

so you've got a name resolution problem. I'm betting that your
sources.list is not properly encoded somehow. try creating a new one
from scratch and see what happens. no copy and paste! retype it in a
basic text editor like vim, or in a small operating system like emacs.

The funky characters are the clue I'm looking at there...

A

apt-get failing

On Oct 31, 6:10 pm, Andrew Sackville-West
wrote:
> On Wed, Oct 31, 2007 at 10:05:32AM -0700, justsimplequestions wrote:
> > On Oct 31, 4:00 pm, Andrew Sackville-West
> > wrote:
> > > On Wed, Oct 31, 2007 at 03:17:24AM -0700, justsimplequestions wrote:
> > > > Hello,
>
> > > > I am trying to install some new software as well as updating my
> > > > packages but apt-get install and apt-get update both fail. apt-get
> > > > update fails with:
>
> > > > Errhttp://security.debian.orgetch/updatesRelease.gpg
> > > > Temporary failure resolving âsecurity.debian.orgâ
> ...apt errors
>
> > > > My /apt/sources.list file is as follows:
>
> > > > debhttp://ftp.uk.debian.org/debian/etchmain
> > > > deb-srchttp://ftp.uk.debian.org/debian/etchmain
> > > > debhttp://security.debian.org/etch/updatesmain
> > > > deb-srchttp://security.debian.org/etch/updatesmain
> > > > debhttp://download.webmin.com/download/repositorysargecontrib
> > > > debhttp://packages.dotdeb.orgstableall
> > > > deb-srchttp://packages.dotdeb.orgstableall
>
> > > > I am able to ping external websites using both ip and name, The
>
> > > great that you can ping external websites, but can you ping the debian
> > > servers? those are the ones that count here ;) Also there are some
> > > funky characters and missing characters in your apt output above. Is
> > > that transcription error? or something else?
>
> > Thanks very much for replying. Could not ping the debian servers! I've
> > entered the ip address for the debian sites in the hosts an voila!
> > However, those are funky characters above... they worried me as well
> > and am not sure how and why they appear like that.
>
> so you've got a name resolution problem. I'm betting that your
> sources.list is not properly encoded somehow. try creating a new one
> from scratch and see what happens. no copy and paste! retype it in a
> basic text editor like vim, or in a small operating system like emacs.
>
> The funky characters are the clue I'm looking at there...
>
> A
>
> signature.asc
> 1KDownload

You're absolutely right - its definitely a DNS issue. Without even
retyping the sources.list manually, it looks like I can not not ping
by name either. I know in my original post I said I could ping
external sites but it seems I was incorrect. I can not ping any sites
using name - ip address is fine however (100% sure!). This is further
proved by the fact that if I add the ip address associated with the
name of the website in the hosts file, as I have done for the debian
sites, all works fine. I have no dns server running on and not sure
what I can do to rectify? Your help is greatly appreciated.

dns? [Was: apt-get failing]

On Thu, Nov 01, 2007 at 12:55:48PM -0000, justsimplequestions wrote:

> You're absolutely right - its definitely a DNS issue. Without even
> retyping the sources.list manually, it looks like I can not not ping
> by name either. I know in my original post I said I could ping
> external sites but it seems I was incorrect. I can not ping any sites
> using name - ip address is fine however (100% sure!). This is further
> proved by the fact that if I add the ip address associated with the
> name of the website in the hosts file, as I have done for the debian
> sites, all works fine. I have no dns server running on and not sure
> what I can do to rectify? Your help is greatly appreciated.
>

My first suggestion then would be to change the name of the thread since
its no longer an apt issue. Something like "where's my dns gone?".

Send us your:

/etc/nsswitch.conf
/etc/resolv.conf (with the internet up if it's variable since if you
have the resolvconf package installed, the file
will change).

/etc/network/interfaces

the method you use to connect to the internet: ppp dialup, some type of
high-speed internet modem/router, whatever.

Where do you thing that your box normally gets dns service?

Doug

--

apt-get failing

See if you can get out to google.com with your browser and if you do so,
have your browser refresh the page and see if the google.com page comes up
again. If it doesn't you've either got a modem needing updating or
another internet connectivity problem. you could try dhclient -r &&
ifconfig eth0 -promisc && dhclient and see if your network comes up.
Then try apt-get update again to see what happens. Same failure, your
modem may need updating of software and/or firmware.

--

apt-get failing

On Nov 2, 12:40 am, Jude DaShiell wrote:
> See if you can get out to google.com with your browser and if you do so,
> have your browser refresh the page and see if the google.com page comes up
> again. If it doesn't you've either got a modem needing updating or
> another internet connectivity problem. you could try dhclient -r &&
> ifconfig eth0 -promisc && dhclient and see if your network comes up.
> Then tryapt-getupdate again to see what happens. Same failure, your
> modem may need updating of software and/or firmware.
>
> --

Syndicate content