Re: apt-proxy läuft nicht in sarge

2005-07-21 Diskussionsfäden Thomas Wegner
Am Mittwoch, den 20.07.2005, 06:44 +0200 schrieb Frank Dietrich:

 Vielleicht hilft das auch bei Dir. Ich hatte beim upgrade von Woody-
 auf Sarge-apt-proxy auch Probleme. Behoben hab ich es so:
 - apt-get remove --purge apt-proxy
 - Kontrolle das unter /etc/apt-proxy, /etc/init.d nichts mehr auf apt-
 proxy hinweist und auch kein apt-proxy mehr läuft
 - evtl. die /etc/apt/sources.list anpassen, wenn nicht schon alle
 Pakete für apt-proxy in /var/cache/apt liegen
 - apt-get install apt-proxy
 - die Konfiguration von apt-proxy und apt anpassen, apt-proxy
 neustarten

Hallo Frank!

Das hat tatsächlich geholfen.  :-))
Ich habe alles per apt-get remove --purge entfernt. Die /etc/apt-proxy
und /usr/lib/python2.3/site-packages/apt-proxy verschoben und mittels
apt-get apt-proxy nochmal alles installiert.

-- 
Gruß

Thomas Wegner [EMAIL PROTECTED]



Re: apt-proxy läuft nicht in sarge

2005-07-19 Diskussionsfäden Tobias Krais
Hi Thomas,

 Ich habe auf Sarge upgegradet. Laut Mailingliste müßte apt-proxy in
 sarge ja laufen. Bei mir startet apt-proxy nicht.
 Wenn in der Konsole /etc/init.d/apt-proxy start eingebe, erscheint
 folgende Fehlermeldung:
 chef:/home/tommi# /etc/init.d/apt-proxy start
 Updating twisted's process module.
 No updating required.
 Traceback (most recent call last):
   File /etc/init.d/apt-proxy, line 31, in ?
 application.run(0)
 AttributeError: Componentized instance has no attribute 'run'
 
 Leider komme ich an der Stelle nicht weiter. Hat jemand einen Tipp?

Ich habe gerade mal gegooglet nach Updating twisted's process module.
Und es gibt seehr viele postings dazu auch verschiedene Lösungsansätze.
Haben die bei dir noch nicht funktioniert?

Dann: Poste mal deine apt-proxy conf und mache evt. ein reinstall. Das
hatte bei mir wunder bewirkt.

Grüssle, Tobi


-- 
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 läuft nicht in sarge

2005-07-19 Diskussionsfäden Thomas Wegner
Am Dienstag, den 19.07.2005, 10:29 +0200 schrieb Tobias Krais:
Hallo Tobias!

  Ich habe auf Sarge upgegradet. Laut Mailingliste müßte apt-proxy in
  sarge ja laufen. Bei mir startet apt-proxy nicht.
  Wenn in der Konsole /etc/init.d/apt-proxy start eingebe, erscheint
  folgende Fehlermeldung:
  chef:/home/tommi# /etc/init.d/apt-proxy start
  Updating twisted's process module.
  No updating required.
  Traceback (most recent call last):
File /etc/init.d/apt-proxy, line 31, in ?
  application.run(0)
  AttributeError: Componentized instance has no attribute 'run'
  
  Leider komme ich an der Stelle nicht weiter. Hat jemand einen Tipp?
 
 Ich habe gerade mal gegooglet nach Updating twisted's process module.
 Und es gibt seehr viele postings dazu auch verschiedene Lösungsansätze.
 Haben die bei dir noch nicht funktioniert?
Also nach Eingabe Deiner genannten Zeile, habe ich ungefähr 4 Quellen
gefunden, von denen keine eine Lösung aufzeigt.

 Dann: Poste mal deine apt-proxy conf und mache evt. ein reinstall. Das
 hatte bei mir wunder bewirkt.
Das reinstall liefert folgende Meldungen:
chef:/usr/src/linux-2.6.11# apt-get install --reinstall apt-proxy
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut... Fertig
0 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen
und 0 nicht aktualisiert.
Es müssen noch 0B von 61,2kB Archiven geholt werden.
Nach dem Auspacken werden 0B Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] j
W: Kann nicht auf die Liste http://192.168.1.2 testing/main Packages
(/var/lib/apt/lists/192.168.1.2:_marillat_dists_testing_main_binary-i386_Packages)
 der Quellpakete zugreifen. - stat (2 Datei oder Verzeichnis nicht gefunden)
Vorkonfigurieren der Pakete ...
(Lese Datenbank ... 162620 Dateien und Verzeichnisse sind derzeit
installiert.)
Vorbereiten zum Ersetzen von apt-proxy 1.9.29
(durch .../apt-proxy_1.9.29_all.deb) ...
Updating twisted's process module.
No updating required.
Traceback (most recent call last):
  File /etc/init.d/apt-proxy, line 31, in ?
application.run(0)
AttributeError: Componentized instance has no attribute 'run'
invoke-rc.d: initscript apt-proxy, action stop failed.
Entpacke Ersatz für apt-proxy ...
Richte apt-proxy ein (1.9.29) ...
update-rc.d: warning: /etc/rc1.d/K20apt-proxy is not a link
to ../init.d/apt-proxy
update-rc.d: warning: /etc/rc2.d/S20apt-proxy is not a link
to ../init.d/apt-proxy
update-rc.d: warning: /etc/rc3.d/S20apt-proxy is not a link
to ../init.d/apt-proxy
update-rc.d: warning: /etc/rc5.d/K20apt-proxy is not a link
to ../init.d/apt-proxy
update-rc.d: warning: /etc/rc6.d/K20apt-proxy is not a link
to ../init.d/apt-proxy
Updating twisted's process module.
No updating required.
Traceback (most recent call last):
  File /etc/init.d/apt-proxy, line 31, in ?
application.run(0)
AttributeError: Componentized instance has no attribute 'run'
invoke-rc.d: initscript apt-proxy, action start failed.

localepurge: checking system for new locale ...
localepurge: processing locale files ...
localepurge: processing man pages ...
,,/usr/share/man/fr/man8/apt-proxy.8.gz entfernt
W: Kann nicht auf die Liste http://192.168.1.2 testing/main Packages
(/var/lib/apt/lists/192.168.1.2:_marillat_dists_testing_main_binary-i386_Packages)
 der Quellpakete zugreifen. - stat (2 Datei oder Verzeichnis nicht gefunden)
W: Sie möchten vielleicht »apt-get update« aufrufen, um diese Probleme
zu lösen

Das hilft mir so auch nicht weiter. Ich hänge mal die conf dran.
Vielleicht hat ja jemand noch eine Idee. Ansonsten müßte ich sehen, dass
ich auf die woody-version umsteige.



-- 
Gruß

Thomas Wegner [EMAIL PROTECTED]
# Configuration for apt-proxy von der sourceforge-Homepage
#angepasst von Tommi am 30.08.2004

# Change this path if you do not want to keep your cache under var
APT_PROXY_CACHE=/var/cache/apt-proxy

### Rsync Backends
# Three or more fields each:
# 1) URL prefix
# 2) Dir to put files in (remember the trailing /!)
# 3...) http/ftp/rsync backends to replace it with (remember the trailing /!)

# You can specify multiple backends like this example:
#add_backend /debian/   \
#   $APT_PROXY_CACHE/debian/\
#   http://SERVERONE/debian/\
#   http://SERVERTWO/debian/\

# HINT: Any request matching none of these is not served, making
# partial caching easy.
#
# You can also specify a different backend for control files
# by prefixing with a '+'.  This is particularly useful for
# using rsync for Packages and http/ftp for .deb/.tar.gzs
#
# This is a shell script and the backslashes at the end of
# the line denote that the line continues on the next line,
# so do not try to comment out one line without moving it!
#
# The 'deb' lines are examples that you can place in clients' 
# sources.list that correspond to the apt-proxy backends.

# Debian main
#deb http://APTPROXY:/debian stable main contrib

Re: apt-proxy läuft nicht in sarge

2005-07-19 Diskussionsfäden Frank Dietrich
Hallo Thomas,

Thomas Wegner [EMAIL PROTECTED] wrote:
 Das reinstall liefert folgende Meldungen:
 chef:/usr/src/linux-2.6.11# apt-get install --reinstall apt-proxy
 Paketlisten werden gelesen... Fertig

Vielleicht hilft das auch bei Dir. Ich hatte beim upgrade von Woody-
auf Sarge-apt-proxy auch Probleme. Behoben hab ich es so:
- apt-get remove --purge apt-proxy
- Kontrolle das unter /etc/apt-proxy, /etc/init.d nichts mehr auf apt-
proxy hinweist und auch kein apt-proxy mehr läuft
- evtl. die /etc/apt/sources.list anpassen, wenn nicht schon alle
Pakete für apt-proxy in /var/cache/apt liegen
- apt-get install apt-proxy
- die Konfiguration von apt-proxy und apt anpassen, apt-proxy
neustarten

Seither geht es ohne Probleme.

Frank
-- 
 If it doesn't work, force it.
   If it breaks, it needed replacing anyway.



apt-proxy läuft nicht in sarge

2005-07-18 Diskussionsfäden Thomas Wegner
Hi!

Ich habe auf Sarge upgegradet. Laut Mailingliste müßte apt-proxy in
sarge ja laufen. Bei mir startet apt-proxy nicht.
Wenn in der Konsole /etc/init.d/apt-proxy start eingebe, erscheint
folgende Fehlermeldung:
chef:/home/tommi# /etc/init.d/apt-proxy start
Updating twisted's process module.
No updating required.
Traceback (most recent call last):
  File /etc/init.d/apt-proxy, line 31, in ?
application.run(0)
AttributeError: Componentized instance has no attribute 'run'

Leider komme ich an der Stelle nicht weiter. Hat jemand einen Tipp?


-- 
Gruß

Thomas Wegner [EMAIL PROTECTED]



Re: apt-proxy funktioniert nicht

2004-04-15 Diskussionsfäden Matthias Taube
Andreas Pakulat wrote:

 Restarte mal inetd und checke vorher das kein apt-proxy laeuft.
 Manchmal mag der einfach nicht starten, bzw. wieder starten wenn man
 ihn mal abgeschossen hat...

Das war es auch nicht.
Was mich auch wundert ist das 
thor:~# rpcinfo -p
   Program Vers Proto   Port
102   tcp111  portmapper
102   udp111  portmapper
1000241   udp  32768  status
1000241   tcp  32768  status
132   udp   2049  nfs
132   tcp   2049  nfs
151   udp771  mountd
152   udp771  mountd
151   tcp774  mountd
152   tcp774  mountd

den Port  nicht ausgibt, ist das normal?
auch war  nicht in /etc/services eingetragen, aber dies zu ändern hat
auch nichts gebracht.


-- 
mfg
Matthias Taube


-- 
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 funktioniert nicht

2004-04-15 Diskussionsfäden Andreas Pakulat
On 15.Apr 2004 - 21:00:36, Matthias Taube wrote:
 Andreas Pakulat wrote:
 
  Restarte mal inetd und checke vorher das kein apt-proxy laeuft.
  Manchmal mag der einfach nicht starten, bzw. wieder starten wenn man
  ihn mal abgeschossen hat...
 
 Das war es auch nicht.
 Was mich auch wundert ist das 
 thor:~# rpcinfo -p
 
 den Port  nicht ausgibt, ist das normal?
 auch war  nicht in /etc/services eingetragen, aber dies zu ändern hat
 auch nichts gebracht.

Ist ja auch klar, apt-proxy wird ueber inetd gestartet. Sprich wenn
der inetd eine Anfrage an  kriegt startet er den apt-proxy erst...

BTW: rpcinfo ist nicht sehr aussagekraeftig, der zeigt bei mir z.B.
nichteinmal meine server an...

Lieber netstat nehmen.

Andreas

-- 
Nothing ever becomes real till it is experienced -- even a
proverb is no proverb to you till your life has illustrated it.
-- John Keats


-- 
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)



apt-proxy funktioniert nicht

2004-04-14 Diskussionsfäden Matthias Taube
Hi,

ich bekomme apt-proxy einfach nicht zum laufen.

thor:/etc# apt-get update
Err http://localhost woody/main Packages
  Could not connect to localhost: (127.0.0.1). - connect (111 Connection
refused) [IP: 127.0.0.1 ]

Weder in /var/log/apt-proxy.log noch in /var/log/daemon.log finden sich
irgendwelche Einträge nach den Fehlversuchen.

thor:/etc# grep apt /etc/inetd.conf
   stream  tcp nowait.400 
aptproxy /usr/sbin/tcpd /usr/sbin/apt-proxy
-l /var/log/apt-proxy.log

thor:/etc# cat /etc/apt-proxy/apt-proxy.conf

APT_PROXY_CACHE=/var/cache/apt-proxy
add_backend /main/  \
$APT_PROXY_CACHE/debian/\
http://ftp.us.debian.org/debian/\
http://ftp.de.debian.org/debian/\
http://ftp2.de.debian.org/debian/   \
http://ftp.uk.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/

CLEANUP_DAYS=14
CLEAN_SWEEP=90
MAX_VERSIONS=2
BACKEND_FREQ=240
RSYNC_TIMEOUT=30
WGET_TIMEOUT=30
WGET=wget
#RSYNC=rsync
#KEEP_STATS=1
#DEBUG=true

thor:/etc# cat /etc/hosts.allow
# /etc/hosts.allow: list of hosts that are allowed to access the system.
#   See the manual pages hosts_access(5), hosts_options(5)
#   and /usr/doc/netbase/portmapper.txt.gz
#
# Example:ALL: LOCAL @some_netgroup
# ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
#
# If you're going to protect the portmapper use the name portmap for the
# daemon name. Remember that you can only use the keyword ALL and IP
# addresses (NOT host or domain names) for the portmapper. See portmap(8)
# and /usr/doc/portmap/portmapper.txt.gz for further information.
#
ALL: LOCAL


-- 
mfg
Matthias Taube


-- 
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 funktioniert nicht

2004-04-14 Diskussionsfäden Andreas Pakulat
On 14.Apr 2004 - 22:00:05, Matthias Taube wrote:
 Hi,
 
 ich bekomme apt-proxy einfach nicht zum laufen.
    stream  tcp nowait.400 
 aptproxy /usr/sbin/tcpd /usr/sbin/apt-proxy
 -l /var/log/apt-proxy.log

Restarte mal inetd und checke vorher das kein apt-proxy laeuft.
Manchmal mag der einfach nicht starten, bzw. wieder starten wenn man
ihn mal abgeschossen hat...

Andreas

-- 
I prefer to think that God is not dead, just drunk 
-- John Huston


-- 
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 will nicht

2002-04-04 Diskussionsfäden Michael Tuschik


Hi,

 -Ursprüngliche Nachricht-
 Von: Gerhard Engler [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 2. April 2002 22:13


 Wenn ich jetzt allerdings apt-get update eingebe erhalte ich:

 Err http://gustav.duck woody/main Packages
Connection failed
...

Die Namensauflösung für gustav.duck funktioniert auch, ja ? Also
host gustav.duck liefert auch deine IP ?

Gruß
Micha


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




Re: apt-proxy will nicht

2002-04-04 Diskussionsfäden Gerhard Engler

Udo Mueller wrote:
 Hallo Gerhard,
 
 * Gerhard Engler [EMAIL PROTECTED] [03-04-02 21:53]:
 
Dirk Haage wrote:

Am Die, 2002-04-02 um 22.13 schrieb Gerhard Engler:

...
Failed to fetch 
hppt://gustav.duck:/main/dists/woody/main/binary-i386/Packages 
Connection failed

apt-proxy läuft aber.

Schick doch mal bitte die relevanten Teile aus /etc/apt/sources.list
/etc/apt-proxy/apt-proxy.conf und /etc/inetd.conf

In der /var/log/apt-proxy.log steht ständig:

/usr/sbin/apt-proxy: /etc/apt-proxy/apt-proxy.conf: Permission denied

 
 Welche Rechte hat /etc/apt-proxy/apt-proxy.conf?

Ach Gott, ich blindes Huhn! /etc/apt-proxy/apt-proxy.conf hatte 
natürlich nur root-Rechte. Wer lesen kann hat eindeutig mehr vom Leben!

Vielen Dank!

Gerhard




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




Re: apt-proxy will nicht

2002-04-03 Diskussionsfäden Chris Halls

On Tue, Apr 02, 2002 at 10:13:01PM +0200, Gerhard Engler wrote:
 Wenn ich jetzt allerdings apt-get update eingebe erhalte ich:
 
 Err http://gustav.duck woody/main Packages
   Connection failed
 ...
 apt-proxy läuft aber.
...aber schreibt nichts in /var/log/apt-proxy.log, richtig?

 Woran könnte das liegen?

apt-proxy wird per tcpd gesartet.  Vielleicht erlaubt tcpd dieine Verbindung
nicht.

grep apt-proxy /var/log/daemon.log

Was siehst du?  apt-proxy[...]: connect from xxx 
oder...refused connect from xxx?

Wenn refused connect, sollst du hosts.allow/deny prufen.  Wenn connect
from, sollst du normallerweise etwas in apt-proxy.log sehen.

Chris
-- 
Chris Halls | Frankfurt, Germany



msg04999/pgp0.pgp
Description: PGP signature


Re: apt-proxy will nicht

2002-04-03 Diskussionsfäden Dirk Haage

Am Die, 2002-04-02 um 22.13 schrieb Gerhard Engler:

 Wenn ich jetzt allerdings apt-get update eingebe erhalte ich:
 
 Err http://gustav.duck woody/main Packages
Connection failed
 Err http://gustav.duck woody/main Release
Connection failed
 Err http://gustav.duck woody/contrib Packages
Connection failed
 Err http://gustav.duck woody/contrib Release
Connection failed
 Err http://gustav.duck woody/non-free Packages
Connection failed
 Err http://gustav.duck woody/non-free Release
Connection failed
 Err http://gustav.duck woody/non-US/main Packages
Connection failed
 Err http://gustav.duck woody/non-US/main Release
Connection failed
 
 ...
 Failed to fetch 
 hppt://gustav.duck:/main/dists/woody/main/binary-i386/Packages 
 Connection failed
 
 ...
 
 apt-proxy läuft aber.

Schick doch mal bitte die relevanten Teile aus /etc/apt/sources.list
/etc/apt-proxy/apt-proxy.conf und /etc/inetd.conf

/dirk


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




Re: apt-proxy will nicht

2002-04-03 Diskussionsfäden Udo Mueller

Hallo Gerhard,

* Gerhard Engler [EMAIL PROTECTED] [03-04-02 21:53]:
 Dirk Haage wrote:
 Am Die, 2002-04-02 um 22.13 schrieb Gerhard Engler:
 ...
 Failed to fetch 
 hppt://gustav.duck:/main/dists/woody/main/binary-i386/Packages 
 Connection failed
 
 apt-proxy läuft aber.
 
 Schick doch mal bitte die relevanten Teile aus /etc/apt/sources.list
 /etc/apt-proxy/apt-proxy.conf und /etc/inetd.conf
 
 In der /var/log/apt-proxy.log steht ständig:
 
 /usr/sbin/apt-proxy: /etc/apt-proxy/apt-proxy.conf: Permission denied

Welche Rechte hat /etc/apt-proxy/apt-proxy.conf?

Gruss Udo

-- 
ComputerService Müller |  You want my PGP-Key?  |   Tel: 0441-36167578
Kaspersweg 11a | mail  -s get pgp-key | Fax: 01212-511073287 
26131 Oldenburg| AD0EEC22 is not guilty |  Mobil: 0162-4365411
 Registrierter Linux-User #225706 auf Debian GNU/Linux 2.4.17



msg05056/pgp0.pgp
Description: PGP signature


Re: apt-proxy will nicht

2002-04-03 Diskussionsfäden Dirk Haage

Am Mit, 2002-04-03 um 21.53 schrieb Gerhard Engler:

  Schick doch mal bitte die relevanten Teile aus /etc/apt/sources.list
  /etc/apt-proxy/apt-proxy.conf und /etc/inetd.conf
  
  /dirk
 
 Sehr gerne:
 
 /etc/apt/sources.list
 
 ...
 deb http://gustav.duck:/main woody main contrib non-free
 deb http://gustav.duck:/non-US woody non-US/main
 ...

OK

 
 /etc/apt-proxy/apt-proxy.conf
 ...
 add_backend /main/\
   $APT_PROXY_CACHE/debian/\
   ftp.us.debian.org::debian/  \
   ftp.de.debian.org::debian/  \
   ftp2.de.debian.org::debian/ \
   ftp.uk.debian.org::debian/
 
 add_backend /non-US/  \
   $APT_PROXY_CACHE/non-US/\
   ftp.de.debian.org::debian-non-US/   \
   ftp2.de.debian.org::debian-non-US/  \
   ftp.uk.debian.org::debian/non-US/
 
 add_backend /security/\
   $APT_PROXY_CACHE/security/  \
   security.debian.org::debian-security/   \
   non-us.debian.org::debian-security/ 
 
 CLEANUP_DAYS=7
 CLEAN_SWEEP=30
 #MAX_VERSIONS=2
 BACKEND_FREQ=240
 RSYNC_TIMEOUT=30
 #KEEP_STATS=1
 DEBUG=true
 
Passt zu dem da oben
 
 /etc/inetd.conf
    stream  tcp nowait.400  aptproxy
 /usr/sbin/tcpd /usr/sbin/apt-proxy -l /var/log/apt-proxy.log

auch ok

 In der /var/log/apt-proxy.log steht ständig:
 
 /usr/sbin/apt-proxy: /etc/apt-proxy/apt-proxy.conf: Permission denied

Und was sagt ein ls -la /etc/apt-proxy/apt-proxy.conf?

HTH
/dirk


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




Re: apt-proxy will nicht

2002-04-02 Diskussionsfäden Chris Halls

Hallo Gerhard

On Fri, Mar 29, 2002 at 11:04:27AM +0100, Gerhard Engler wrote:
 Making directory /var/cache/apt-proxy/debian//dists
 mkdir: cannot create directory `/var/cache/apt-proxy/debian//dists': 
 Permission denied
 Bad configuration /var/cache/apt-proxy/debian//dists is not a directory, 
 and mkdir failed

Gehört /var/cache/apt-proxy/debian deine apt-proxy Benutzer (aptproxy)?

Zu prüfen:

# find /var/cache/apt-proxy -not -user aptproxy -ls

Mit chown kannst du es korrigieren:

# chown -R aptproxy /var/cache/apt-proxy

Chris
-- 
Chris Halls | Frankfurt, Germany



msg04944/pgp0.pgp
Description: PGP signature


Re: apt-proxy will nicht

2002-04-02 Diskussionsfäden Gerhard Engler

Chris Halls wrote:
 Hallo Gerhard
 
 On Fri, Mar 29, 2002 at 11:04:27AM +0100, Gerhard Engler wrote:
 
Making directory /var/cache/apt-proxy/debian//dists
mkdir: cannot create directory `/var/cache/apt-proxy/debian//dists': 
Permission denied
Bad configuration /var/cache/apt-proxy/debian//dists is not a directory, 
and mkdir failed

 
 Gehört /var/cache/apt-proxy/debian deine apt-proxy Benutzer (aptproxy)?
 
 Zu prüfen:
 
 # find /var/cache/apt-proxy -not -user aptproxy -ls
 
 Mit chown kannst du es korrigieren:
 
 # chown -R aptproxy /var/cache/apt-proxy
 
 Chris
 

Vielen Dank Chris, damit habe ich eine Hürde schon mal geschafft.

Wenn ich jetzt allerdings apt-get update eingebe erhalte ich:

Err http://gustav.duck woody/main Packages
   Connection failed
Err http://gustav.duck woody/main Release
   Connection failed
Err http://gustav.duck woody/contrib Packages
   Connection failed
Err http://gustav.duck woody/contrib Release
   Connection failed
Err http://gustav.duck woody/non-free Packages
   Connection failed
Err http://gustav.duck woody/non-free Release
   Connection failed
Err http://gustav.duck woody/non-US/main Packages
   Connection failed
Err http://gustav.duck woody/non-US/main Release
   Connection failed

...
Failed to fetch 
hppt://gustav.duck:/main/dists/woody/main/binary-i386/Packages 
Connection failed

...

apt-proxy läuft aber.

Woran könnte das liegen?

Vielen Dank!

Gerhard



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




apt-proxy will nicht

2002-03-29 Diskussionsfäden Gerhard Engler

Hallo Mailingliste,

ich möchte apt-proxy einrichten. Leider funktioniert es nicht.

Wenn ich apt-get update eingebe erhalte ich in der /var/log/apt-proxy.log:

[11653 10:51:05]: GET /main/dists/woody/Contents-i386.gz HTTP/1.0
[11653 10:51:05]: User-Agent: Wget/1.8.1
[11653 10:51:05]: Host: gustav.duck:
[11653 10:51:05]: Accept: */*
[11653 10:51:05]: Connection: Keep-Alive
[11653 10:51:05]: Connection keep-alive
[11653 10:51:05]:

[11653 10:51:05]: Finished processing request
Fri Mar 29 10:51:05 CET 2002 Request /main/dists/woody/Contents-i386.gz
[11653 10:51:05]: Updating compressed file 
`/main/dists/woody/Contents-i386.gz'
Making directory /var/cache/apt-proxy/debian//dists
mkdir: cannot create directory `/var/cache/apt-proxy/debian//dists': 
Permission denied
Bad configuration /var/cache/apt-proxy/debian//dists is not a directory, 
and mkdir failed
[11653 10:51:16]: write_header 500 Bad configuration, keep-alive:close 
content:text/html size:254 date: enc: request:
[11760 10:51:16]: GET /non-US/dists/woody/Contents-i386.gz HTTP/1.0
[11760 10:51:16]: User-Agent: Wget/1.8.1
[11760 10:51:16]: Host: gustav.duck:
[11760 10:51:16]: Accept: */*
[11760 10:51:16]: Connection: Keep-Alive
[11760 10:51:16]: Connection keep-alive
[11760 10:51:16]:

[11760 10:51:16]: Finished processing request
Fri Mar 29 10:51:16 CET 2002 Request /non-US/dists/woody/Contents-i386.gz
[11760 10:51:16]: Updating compressed file 
`/non-US/dists/woody/Contents-i386.gz'
Making directory /var/cache/apt-proxy/non-US//dists
mkdir: cannot create directory `/var/cache/apt-proxy/non-US//dists': 
Permission denied
Bad configuration /var/cache/apt-proxy/non-US//dists is not a directory, 
and mkdir failed
[11760 10:51:30]: write_header 500 Bad configuration, keep-alive:close 
content:text/html size:254 date: enc: request:


Die Verzeichnisse /var/cache/apt-proxy/non-US ... gibt es.

Was mache ich falsch?


Vielen Dank!


Gerhard


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