apt-proxy und Error 404

2003-09-22 Thread Oliver Vecernik
Hallo Leute!

Ich versuche auf meinem Debian Woody apt-proxy einzurichten, bisher aber 
ohne Erfolg. Ich habe folgende Einträge:

/etc/apt-proxy/apt-proxy.conf:
.
.
.
add_backend /main/  \
$APT_PROXY_CACHE/debian/\
ftp.at.debian.org::debian/  \
ftp.de.debian.org::debian/  \
ftp2.de.debian.org::debian/ \
ftp.uk.debian.org::debian/  \
ftp.us.debian.org::debian/
.
.
.
/etc/apt/sources.list:
.
.
.
deb http://p500:/main woody main contrib non-free
.
.
.
Ich bekomme folgende Meldungen:

p500:/home/ov# apt-get update
Err http://p500 woody/main Packages
  404 is not serviced by this server
Ign http://p500 woody/main Release
Err http://p500 woody/contrib Packages
  404 is not serviced by this server
Ign http://p500 woody/contrib Release
Err http://p500 woody/non-free Packages
  404 is not serviced by this server
Ign http://p500 woody/non-free Release
Failed to fetch 
http://p500:/debian/dists/woody/main/binary-i386/Packages  404 is 
not serviced by this server
Failed to fetch 
http://p500:/debian/dists/woody/contrib/binary-i386/Packages  404 is 
not serviced by this server
Failed to fetch 
http://p500:/debian/dists/woody/non-free/binary-i386/Packages  404 
is not serviced by this server
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list http://p500 woody/main Packages 
(/var/lib/apt/lists/p500:_debian_dists_woody_main_binary-i386_Packages) 
- stat (2 No such file or directory)
W: Couldn't stat source package list http://p500 woody/contrib Packages 
(/var/lib/apt/lists/p500:_debian_dists_woody_contrib_binary-i386_Packages) 
- stat (2 No such file or directory)
W: Couldn't stat source package list http://p500 woody/non-free Packages 
(/var/lib/apt/lists/p500:_debian_dists_woody_non-free_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.

Kann mir jemand sagen, was ich falsch mache?

Grüße
Oliver
--
Haeufig gestellte Fragen und Antworten (FAQ):
http://www.de.debian.org/debian-user-german-FAQ/
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)


Re: apt-proxy und Error 404

2003-09-23 Thread Rene Drießel
Am Mo, 2003-09-22 um 18.05 schrieb Oliver Vecernik:
Hallo

> /etc/apt-proxy/apt-proxy.conf:
> .
> .
> .
> add_backend /main/\
>   $APT_PROXY_CACHE/debian/\
>   ftp.at.debian.org::debian/  \
>   ftp.de.debian.org::debian/  \
>   ftp2.de.debian.org::debian/ \
>   ftp.uk.debian.org::debian/  \
>   ftp.us.debian.org::debian/
> .
> .
> .
> 
> /etc/apt/sources.list:
> .
> .
> .
> deb http://p500:/main woody main contrib non-free

Schau einmal in deine Logdateien (/var/log/apt-proxy.log). Vielleicht
können einfach nur die Verzeichnisse in /var/cache/apt-proxy/ nicht
angelegt werden. Ich hatte das Problem, das die Rechte nicht gestimmt
haben. 

René


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: apt-proxy und Error 404

2003-09-25 Thread Udo Mueller
Hi Oliver,

Oliver Vecernik wrote:
Ich versuche auf meinem Debian Woody apt-proxy einzurichten, bisher aber 
ohne Erfolg. Ich habe folgende Einträge:
Kein Wunder!

/etc/apt-proxy/apt-proxy.conf:
.
add_backend /main/\
$APT_PROXY_CACHE/debian/\
ftp.at.debian.org::debian/\
ftp.de.debian.org::debian/\
ftp2.de.debian.org::debian/\
ftp.uk.debian.org::debian/\
ftp.us.debian.org::debian/
Das ist rsync-Notation!

/etc/apt/sources.list:
.
deb http://p500:/main woody main contrib non-free
Und das ist http-Notation!

Ich bekomme folgende Meldungen:

p500:/home/ov# apt-get update
Err http://p500 woody/main Packages
  404 is not serviced by this server
Er sucht auf dem Server eine http-Quelle.

Kann mir jemand sagen, was ich falsch mache?
Trage folgendes in die apt-proxy ein:

add_backend /debian/\
$APT_PROXY_CACHE/debian/\
http://ftp.de.debian.org/debian/\
http://ftp2.de.debian.org/debian/
dann klappt es!

Gruss Udo

--
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)


Re: apt-proxy und Error 404

2003-09-25 Thread Heiko Schlittermann
On Tue, Sep 23, 2003 at 09:02:50AM +0200, Udo Mueller wrote:
> Hi Oliver,
> >Ich versuche auf meinem Debian Woody apt-proxy einzurichten, bisher aber 
> >ohne Erfolg. Ich habe folgende Einträge:
> 
> >/etc/apt-proxy/apt-proxy.conf:
> >.
> >add_backend /main/\
> >$APT_PROXY_CACHE/debian/\
...
> >ftp.us.debian.org::debian/
> 
> Das ist rsync-Notation!
> >/etc/apt/sources.list:

> >deb http://p500:/main woody main contrib non-free
> Und das ist http-Notation!

Das eine hat mit dem anderen nichts zu tun.  apt macht an den Proxy 
http-Requests, der wiederum versucht per rsync die Files zu holen.  Ist
doch ok.

Haste mal im apt-proxy-Log nachgeschaut?  Was steht dort?

Heiko



-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: apt-proxy und Error 404

2003-09-25 Thread Martin Kokol
hi,
da ich das selbe problem hatte, glaub ich auch das es an den rechten liegt.
schau mal in dein apt-proxy verzeichnis und kontrolliere das aptproxy als
user eingetragen ist.

lg martin




-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: apt-proxy und Error 404

2003-09-25 Thread Oliver Vecernik
Rene Drießel schrieb:
[...]
Schau einmal in deine Logdateien (/var/log/apt-proxy.log). Vielleicht
können einfach nur die Verzeichnisse in /var/cache/apt-proxy/ nicht
angelegt werden. Ich hatte das Problem, das die Rechte nicht gestimmt
haben. 
Hallo Rene!

Nach Vorschlag von Uwe steht jetzt in apt-proxy.conf:
add_backend /debian/\
$APT_PROXY_CACHE/debian/\
http://ftp.de.debian.org::debian/   \
http://ftp2.de.debian.org::debian/
add_backend /non-US/\
$APT_PROXY_CACHE/non-US/\
http://ftp.de.debian.org::debian-non-US/\
http://ftp2.de.debian.org::debian-non-US/
add_backend /security/  \
$APT_PROXY_CACHE/security/  \
http://security.debian.org::debian-security/\
http://non-us.debian.org::debian-security/  
und in sources.list:
deb http://localhost:/debian stable main contrib non-free
deb http://localhost:/non-US stable/non-US main contrib non-free
deb http://localhost:/security stable/updates main contrib non-free
Ein apt-get update liefert aber immer noch:
p500:/var/cache# apt-get update
Err http://localhost stable/main Packages
  404 directory does not exist on any server
Ign http://localhost stable/main Release
Err http://localhost stable/contrib Packages
  404 directory does not exist on any server
Ign http://localhost stable/contrib Release
Err http://localhost stable/non-free Packages
  404 directory does not exist on any server
Ign http://localhost stable/non-free Release
Err http://localhost stable/non-US/main Packages
  404 directory does not exist on any server
Ign http://localhost stable/non-US/main Release
Err http://localhost stable/non-US/contrib Packages
  404 directory does not exist on any server
Ign http://localhost stable/non-US/contrib Release
Err http://localhost stable/non-US/non-free Packages
  404 directory does not exist on any server
Ign http://localhost stable/non-US/non-free Release
Err http://localhost stable/updates/main Packages
  404 directory does not exist on any server
Ign http://localhost stable/updates/main Release
Err http://localhost stable/updates/contrib Packages
  404 directory does not exist on any server
Ign http://localhost stable/updates/contrib Release
Err http://localhost stable/updates/non-free Packages
  404 directory does not exist on any server
Ign http://localhost stable/updates/non-free Release
Failed to fetch 
http://localhost:/debian/dists/stable/main/binary-i386/Packages  404 
directory does not exist on any server
Failed to fetch 
http://localhost:/debian/dists/stable/contrib/binary-i386/Packages 
404 directory does not exist on any server
Failed to fetch 
http://localhost:/debian/dists/stable/non-free/binary-i386/Packages 
 404 directory does not exist on any server
Failed to fetch 
http://localhost:/non-US/dists/stable/non-US/main/binary-i386/Packages 
 404 directory does not exist on any server
Failed to fetch 
http://localhost:/non-US/dists/stable/non-US/contrib/binary-i386/Packages 
 404 directory does not exist on any server
Failed to fetch 
http://localhost:/non-US/dists/stable/non-US/non-free/binary-i386/Packages 
 404 directory does not exist on any server
Failed to fetch 
http://localhost:/security/dists/stable/updates/main/binary-i386/Packages 
 404 directory does not exist on any server
Failed to fetch 
http://localhost:/security/dists/stable/updates/contrib/binary-i386/Packages 
 404 directory does not exist on any server
Failed to fetch 
http://localhost:/security/dists/stable/updates/non-free/binary-i386/Packages 
 404 directory does not exist on any server
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list http://localhost stable/main 
Packages 
(/var/lib/apt/lists/localhost:_debian_dists_stable_main_binary-i386_Packages) 
- stat (2 No such file or directory)
W: Couldn't stat source package list http://localhost stable/contrib 
Packages 
(/var/lib/apt/lists/localhost:_debian_dists_stable_contrib_binary-i386_Packages) 
- stat (2 No such file or directory)
W: Couldn't stat source package list http://localhost stable/non-free 
Packages 
(/var/lib/apt/lists/localhost:_debian_dists_stable_non-free_binary-i386_Packages) 
- stat (2 No such file or directory)
W: Couldn't stat source package list http://localhost stable/non-US/main 
Packages 
(/var/lib/apt/lists/localhost:_non-US_dists_stable_non-US_main_binary-i386_Packages) 
- stat (2 No such file or directory)
W: Couldn't stat source package list http://localhost 
stable/non-US/contrib Packages 
(/var/lib/apt/lists/localhost:_non-US_dists_stable_non-US_contrib_binary-i386_Packages) 
- stat (2 No such file or directory)
W: Couldn't stat source package list http://localhost 
stable/non-US/non-free Packages 

Re: apt-proxy und Error 404

2003-09-25 Thread Andreas Pakulat
On 23.Sep 2003 - 23:16:57, Oliver Vecernik wrote:
> Rene Drießel schrieb:
> >[...]
> >Schau einmal in deine Logdateien (/var/log/apt-proxy.log). Vielleicht
> >können einfach nur die Verzeichnisse in /var/cache/apt-proxy/ nicht
> >angelegt werden. Ich hatte das Problem, das die Rechte nicht gestimmt
> >haben. 
> 
> BTW: Ich habe die drei angelegten Verzeichnisse händisch dem Benutzer 
> aptproxy zugewiesen:
> p500:/var/cache/apt-proxy# ll
> insgesamt 12
> drwxr-xr-x3 aptproxy root 4096 23. Sep 23:10 debian
> drwxr-xr-x3 aptproxy root 4096 23. Sep 23:02 non-US
> drwxr-xr-x3 aptproxy root 4096 23. Sep 23:02 security
> 
> 
> Warum funktioniert das immer noch nicht? Muß ich da alle Verzeichnisse 
> händisch anlegen?

Also ich würd einfach, sofern du nicht schon Pakete mal mit apt-proxy
installiert hast, unter /var/cache/apt-proxy alles löschen und dann
noch nen Versuch starten.

Bei mir gehören übrigens, sowohl das apt-proxy Verzeichnis als auch die
Unterverzeichnisse aptproxy:nogroup

Andreas

-- 
Wenn du nicht hast, was du liebst, dann mußt du lieben, was du hast.


--
Haeufig gestellte Fragen und Antworten (FAQ):
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: apt-proxy und Error 404

2003-09-26 Thread Uwe Laverenz
Oliver Vecernik wrote:

Nach Vorschlag von Uwe steht jetzt in apt-proxy.conf:
HALT! Jetzt guck bitte noch einmal genau auf die Beispiele, die ich Dir 
geschickt habe, und dann nimm endlich die Doppelpunkte nach den 
Servernamen weg, die eben nur für rsync richtig wären, und ersetze sie 
durch einen slash!

add_backend /debian/\
$APT_PROXY_CACHE/debian/\
http://ftp.de.debian.org::debian/\
http://ftp2.de.debian.org::debian/
   ^^
   die hier
und in sources.list:
deb http://localhost:/debian stable main contrib non-free
Und "localhost" gilt natürlich nur, wenn der Proxy auf dem selben 
Rechner läuft wie das apt, daß sich _diese_ sources.list holt.

Warum funktioniert das immer noch nicht? Muß ich da alle Verzeichnisse 
händisch anlegen?
Weil Du nicht sorgfältig liest, weder die Doku noch die Beispiele, die 
man Dir sendet. :-/

cu,
Uwe
--
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)


Re: apt-proxy und Error 404

2003-09-26 Thread Chris Halls
On Tue, Sep 23, 2003 at 11:16:57PM +0200, Oliver Vecernik wrote:
> Nach Vorschlag von Uwe steht jetzt in apt-proxy.conf:
> add_backend /debian/  \
>   $APT_PROXY_CACHE/debian/\
>   http://ftp.de.debian.org::debian/   \
>   http://ftp2.de.debian.org::debian/

Die sine keine glutige URLs, also:

add_backend /debian/\
$APT_PROXY_CACHE/debian/\
http://ftp.de.debian.org/debian/\
http://ftp2.de.debian.org/debian/

USW
Chris


pgp0.pgp
Description: PGP signature