From: wa9als on
On a recently restored etch server, I can't apt-get update because it
can't resolve anything in my sources.list, e.g. ftp.us.debian.org.
Right after I did a fresh etch install, update worked fine, but now
after restoring my previous files, it doesn't. If I try to INSTALL a
package instead of UPDATE, I get a different problem. It warns me
that it won't be able to authenticate the files.

I'm at a loss here - Can someone explain or direct me to where to look
for the problem?

Thanks - John


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: NN_il_Confusionario on
> * From: "wa9als(a)gmail.com" <wa9als(a)gmail.com>
>On a recently restored etch server, I can't apt-get update because it
>can't resolve anything in my sources.list, e.g. ftp.us.debian.org.

(1) check the correctness of /etc/resolv.conf

(2) correct /etc/resolv.conf and then try again
If you have no idea, try using opendns:
208.67.222.222
208.67.220.220

(3) as a temporary last resort put a suitable line in /etc/hosts given that

host -a ftp.us.debian.org
ftp.us.debian.org A 35.9.37.225
ftp.us.debian.org A 64.50.236.52
ftp.us.debian.org A 64.50.238.52
ftp.us.debian.org A 128.30.2.36

getent hosts security.debian.org
212.211.132.32 security.debian.org
212.211.132.250 security.debian.org
128.31.0.36 security.debian.org
130.89.175.54 security.debian.org

If nothing seem to help: what is your output of

getent hosts ftp.us.debian.org
getent hosts security.debian.org
getent hosts www.google.com
getent hosts www.wikipedia.org

?

>Right after I did a fresh etch install, update worked fine, but now
>after restoring my previous files, it doesn't.

it is possible that your restore method is not so good.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: wa9als on
On 5/5/08, NN_il_Confusionario <pinkof.pallus(a)tiscalinet.it> wrote:
> > * From: "wa9als(a)gmail.com" <wa9als(a)gmail.com>
> >On a recently restored etch server, I can't apt-get update because it
> >can't resolve anything in my sources.list, e.g. ftp.us.debian.org.
>
> (1) check the correctness of /etc/resolv.conf

I have:
nameserver 64.105.189.27
nameserver 64.105.179.139

(has always worked for me)

> (2) correct /etc/resolv.conf and then try again
> If you have no idea, try using opendns:
> 208.67.222.222
> 208.67.220.220

Doesn't make any difference.

> getent hosts ftp.us.debian.org
> getent hosts security.debian.org
> getent hosts www.google.com
> getent hosts www.wikipedia.org

Those return the expected results!

The problem seems to be specific to apt-get and aptitude.

- John


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Osamu Aoki on
On Mon, May 05, 2008 at 07:49:59AM -0400, wa9als(a)gmail.com wrote:
> On a recently restored etch server, I can't apt-get update because it
> can't resolve anything in my sources.list, e.g. ftp.us.debian.org.
> Right after I did a fresh etch install, update worked fine, but now
> after restoring my previous files, it doesn't. If I try to INSTALL a
> package instead of UPDATE, I get a different problem. It warns me
> that it won't be able to authenticate the files.
>
> I'm at a loss here - Can someone explain or direct me to where to look
> for the problem?

Did you nstalled resolvconf? Is it working fine.

What does /etc/resolv.conf say?

Osamu


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: NN_il_Confusionario on
> * From: "wa9als(a)gmail.com" <wa9als(a)gmail.com>
>The problem seems to be specific to apt-get and aptitude.

then check apt configuration files in /etc/apt/ and subdirectories
(proxy or other unusual configuration settings? corrupted files?)

And post the complete and exact outpt of apt-get / aptitude


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org