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

Re: apt-proxy einrichten



Thomas Wegner <thomas_wegner@gmx.net> wrote:
> On Thu, Aug 08, 2002 at 09:02:04AM +0200, Chris Halls wrote:
> Hi Chris!
> 
>> On Thu, Aug 08, 2002 at 12:11:17AM +0200, Thomas Wegner wrote:
>> > ---------------------schnipp---------------------------
>> > chef:/home/tommi# apt-proxy-import -d /var/cache/apt/archives 
>> > Backend /var/cache/apt-proxy/debian/ does not have filelists - skipped
>> > Backend /var/cache/apt-proxy/non-US/ does not have filelists - skipped
>> > Backend /var/cache/apt-proxy/security/ does not have filelists - skipped
>> > apt-proxy-import: No backend filelists found.
>> > --------------------schnapp---------------------------------
>> > Was muss ich machen? Ein apt-get update hatte ich vorher gerade
>> > durchlaufen lassen. apt-proxy-import habe ich als root ausgeführt?
>> 
>> Als du 'apt-get update' durchgefuhrt hast, ging das wirklich durch
>> apt-proxy?  Du must sources.list ändern.  Schau in /var/log/apt-proxy.log,
>> ob apt-proxy was macht.

> Diese Datei gibt es nicht bei mir. Läuft apt-proxy als daemon? Hier
> ist nämlich nichts in /etc/init.d.

apt-proxy (v1) läuft über inetd

> Ich sitze hier am Rechner, der eigentlich als Proxy dienen
> soll. Diesen Rechner will ich so konfigurieren, dass er seinseits
> Pakte aus dem Internet mittels apt-proxy abholt. Wenn ich die
> Sources.list anpasse z. B.:
> 
> deb ftp://ftp.de.debian.org:9999/debian testing main contrib non-free

Nein, so läuft das nicht.

So muss das aussehen:

deb http://ds9:9999/main unstable main contrib non-free
deb http://ds9:9999/non-US unstable/non-US main contrib non-free
deb http://ds9:9999/apt-proxy unstable/
deb http://ds9:9999/blackdown woody non-free
deb http://ds9:9999/security stable/updates main contrib non-free
deb http://ds9:9999/security testing/updates main contrib non-free
deb-src http://ds9:9999/main unstable main contrib non-free
deb-src http://ds9:9999/non-US unstable/non-US main contrib non-free
deb-src http://ds9:9999/apt-proxy unstable/

Statt "ds9" wie bei mir muss dein Rechner stehen, oder "localhost", wenn
du auf dem gleichen Rechner wie der apt-proxy bist.

S°

-- 
Fachbegriffe der Informatik - Einfach erklärt
51: Version x.5
       Mit neuen Icons! (Kristian Köhntopp)



Reply to: