On Tue, May 06, 2008 at 12:46:23PM -0400, [EMAIL PROTECTED] wrote:
> On 5/6/08, NN_il_Confusionario <[EMAIL PROTECTED]> wrote:
> > > > strace -f -o /tmp/apt-get.log apt-get update
> http://wa9als.com/apt-get.log

In this strace I am not able to see any _obvious_ cause for your error
(such as strange preloaded libraries which can change the standard glibc
behavoiur).

However,

grep "/etc/\|/lib/\|/usr/\|/var/" apt-get.log 
shows many files which "apt-get update" uses.
Did you restore procedure change any of these files?

In the file, one sees _many_ "unfinished", "Bad file descriptor" and
"Resource temporarily unavailable" messages. I do not like them, but I
cannot see the cause of them. (The various "No such file or directory"
are not a problem in theis specific case)

The attempt for the resolution of names seems correct (and this was
expected, given the "getent hosts" results in your previous messages):

after the first lines "URI: http:" one sees

/etc/nsswitch.conf
(many accesses to libraries)
/etc/services
/var/run/nscd/socket (is nscd running? if it is, do you really need it?)
/etc/resolv.conf (with nameserver 64.105.189.27)
/etc/hosts

but then

URI Failure\nURI: http:

Is there any special firewall rule (on the host itself, or on some
router)? For example a rate limiting of udp port 53 o a block of tcp
port 53 ? These can cause strange and intermittent name resolution
problems.

Does it help defining in /etc/hosts the http hosts of your sources.list ?

> > Moreover, what happened when in sources.list you used the ip in place of
> > security.debian.org ?
> 
> Replacing the name with the IP mostly works - There was some problem
> with ftp.us.debian.org

replacing a name with the ip (which point to a apache webserver) should
work if and only if the default apache site for that ip correspond to
the replaced name.

> The URL for the apt-get.log is above - Nasty looking format but maybe
> it will speak to one of you!

I hope that my superficial and elementary analysis (see above) give you
an idea of what you can obtain by reading the strace logs (even if in
this specific case I was not able to obtain very much)

-- 
Chi usa software non libero avvelena anche te. Digli di smettere.
Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale.
Informatica=bomba: intelligente solo per gli stupidi che ci credono.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to