[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Apt fails to access repository when ran over ssh connection: bug or feature?



I want to be able to install some packages on a debian machine by
executing a script over ssh connection. Apt works fine with deb ftp://
sites but fails with deb http://... ?

ssh root@eos29 "apt-get update" 
Password:
Reading Package Lists... Done
Building Dependency Tree
Initializing package states... Done
Reading task descriptions... Done
Hit ftp://ftp.usyd.edu.au testing/main Packages
Hit ftp://ftp.usyd.edu.au testing/main Release
Err http://z42.de debian/ Packages
  Could not connect to z42.de:80 (82.165.0.237), connection timed out
Err http://z42.de debian/ Release
  Could not connect to z42.de:80 (82.165.0.237), connection timed out
70% [Connecting to z42.de (82.165.0.237)]Killed by signal 2.

Works perfectly when connect remotely first.

ivan@cobalt:$ slogin -l root eos26
Password:
Last login: Mon Sep 27 11:05:51 2004 from cobalt.es.usyd.edu.au
eos26:~# apt-get update
Hit ftp://ftp.usyd.edu.au testing/main Packages
Hit ftp://ftp.usyd.edu.au testing/main Release
Hit http://z42.de debian/ Packages
Hit http://z42.de debian/ Release
Hit http://z42.de debian/ Sources
Hit http://z42.de debian/ Release
Reading Package Lists... Done

Thank you?


-- 
================================================================================
Ivan Teliatnikov

phone: +61 2 9351 2031
fax: +61 2 9351 0184 
mobile_phone: +61 402 173 179 
email: ivan@es.usyd.edu.au 

School of Geosciences
F05 - Edgeworth David Building
The University of Sydney
NSW 2006 Australia

================================================================================
IMPORTANT NOTICES
================================================================================
This email (including any documents referred to in, or attached, to this
email) may contain information that is personal, confidential or the
subject of copyright or other proprietary rights in favour of the
University of Sydney, its affiliates or third parties. This email is
intended only for the named addressee. Any privacy, confidence,
copyright or other proprietary rights in favour of University of Sydney,
its affiliates or third parties, is not lost because this email was sent
to you by mistake.

If you received this email by mistake you should: (i) not copy,
disclose, distribute or otherwise use it, or its contents, without the
consent of University of Sydney or the owner of the relevant rights;
(ii) let us know of the mistake by reply email or by telephone (+61 2
9351 2031); and (iii) delete it from your system and destroy all copies.

Any personal information contained in this email must be handled in
accordance with applicable privacy laws.

Electronic and INTERNET communications can be interfered with or
affected by viruses and other defects. As a result, such communications
may not be successfully received or, if received, may cause interference
with the integrity of receiving, processing or related systems
(including hardware, software and data or information on, or using, that
hardware or software).  University of Sydney gives no assurances in
relation to these matters.

If you have any doubts about the veracity or integrity of any electronic
communication we appear to have sent you, please call +61 2 9351 2031
for clarification.

================================================================================



Reply to: