Re: apt-proxy-import problem

2004-12-30 Diskussionsfäden Christoph Werkhausen
Hallo,

da ich keinen anderen Weg fand, habe ich das Problem mit
apt-proxy-1.3.5 gelst.

Nochmal danke fr die Hilfe.

Regards/Gre,
Christoph Werkhausen


pgpt2RZMrL2TY.pgp
Description: PGP signature


Re: apt-proxy-import problem

2004-12-17 Diskussionsfäden Christoph Werkhausen
Hallo Micha,

sorry, komme erst jetzt zu einer Antwort.

*** Michael Tuschik [EMAIL PROTECTED] wrote:

 ich verwende noch die alte 1er-Version von apt-proxy. Kann jetzt also nur 
 noch 
 vermuten.

Hm, gibt's die irgendwo fr sarge?

 Sieht komisch aus. Irgendwie passt die Liste der geladenen backends nicht zu 
 der Konfiguration. Hast du mal unter /var/cache/apt-proxy geschaut, was dort 
 so rumliegt ?

Aaaalso:

,
| /var/cache/apt-proxy:
| insgesamt 4
| drwxr-xr-x  11 aptproxy nogroup  146 2004-12-10 21:46 .
| drwxr-xr-x  29 root root4096 2004-12-10 21:14 ..
| drwxr-xr-x   4 aptproxy nogroup   30 2004-12-10 21:14 .apt-proxy
| drwx--   5 aptproxy nogroup   43 2004-12-10 21:55 debian
| drwx--   3 aptproxy nogroup   18 2004-12-10 21:46 debian-marillat
| drwx--   3 aptproxy nogroup   18 2004-12-10 21:46 debian-non-US
`

,
| /var/cache/apt-proxy/.apt-proxy:
| insgesamt 4
| drwxr-xr-x   4 aptproxy nogroup   30 2004-12-10 21:14 .
| drwxr-xr-x  11 aptproxy nogroup  146 2004-12-10 21:46 ..
| drwxr-xr-x  13 aptproxy nogroup 4096 2004-12-15 17:03 backends
| drwx--   2 aptproxy nogroup   56 2004-12-10 21:32 db
`

,
| /var/cache/apt-proxy/.apt-proxy/backends:
| insgesamt 4
| drwxr-xr-x  13 aptproxy nogroup 4096 2004-12-15 17:03 .
| drwxr-xr-x   4 aptproxy nogroup   30 2004-12-10 21:14 ..
| drwxr-xr-x   3 aptproxy nogroup   34 2004-12-10 21:14 debian
| drwxr-xr-x   3 aptproxy nogroup   34 2004-12-10 21:19 debian-marillat
| drwxr-xr-x   3 aptproxy nogroup   34 2004-12-10 21:14 debian-non-US
`

,
| /var/cache/apt-proxy/.apt-proxy/backends/debian:
| insgesamt 16
| drwxr-xr-x   3 aptproxy nogroup34 2004-12-10 21:14 .
| drwxr-xr-x  13 aptproxy nogroup  4096 2004-12-15 17:03 ..
| drwxr-xr-x   6 aptproxy nogroup51 2004-12-15 17:04 apt
| -rw-r--r--   1 aptproxy nogroup 12288 2004-12-16 22:40 packages.db
`

,
| /var/cache/apt-proxy/.apt-proxy/backends/debian/apt:
| insgesamt 4
| drwxr-xr-x  6 aptproxy nogroup   51 2004-12-15 17:04 .
| drwxr-xr-x  3 aptproxy nogroup   34 2004-12-10 21:14 ..
| drwxr-xr-x  2 aptproxy nogroup6 2004-12-10 21:14 cache
| drwxr-xr-x  2 aptproxy nogroup   19 2004-12-10 21:14 dpkg
| drwxr-xr-x  2 aptproxy nogroup   25 2004-12-10 21:14 etc
| drwxr-xr-x  3 aptproxy root4096 2004-12-15 17:04 lists
`

cache ist leer.
dpkg enthlt eine leere status.
Wieso gehrt lists aptproxy:root?

in etc ist folgende sources.list:

,
| deb http://apt-proxy:/debian/dists/sarge/main/binary-i386/ /
| deb http://apt-proxy:/debian/dists/sarge/contrib/binary-i386/ /
| deb http://apt-proxy:/debian/dists/sid/main/binary-i386/ /
| deb http://apt-proxy:/debian/dists/sid/contrib/binary-i386/ /
| deb http://apt-proxy:/debian/dists/unstable/contrib/binary-i386/ /
| deb http://apt-proxy:/debian/dists/unstable/main/binary-i386/ /
| deb http://apt-proxy:/debian/dists/sarge/non-free/binary-i386/ /
| deb http://apt-proxy:/debian/dists/sid/non-free/binary-i386/ /
| deb http://apt-proxy:/debian/dists/unstable/non-free/binary-i386/ /
`

Ist das apt-proxy: da richtig?

Und schlielich:

,
| /var/cache/apt-proxy/.apt-proxy/backends/debian/apt/lists:
| insgesamt 4
| drwxr-xr-x  3 aptproxy root4096 2004-12-15 17:04 .
| drwxr-xr-x  6 aptproxy nogroup   51 2004-12-15 17:04 ..
| lrwxrwxrwx  1 aptproxy root  62 2004-12-15 17:04 
apt-proxy_debian_dists_sarge_contrib_binary-i386_Release - 
../../../../..//debian/dists/sarge/contrib/binary-i386/Release
| lrwxrwxrwx  1 aptproxy root  59 2004-12-15 17:04 
apt-proxy_debian_dists_sarge_main_binary-i386_Release - 
../../../../..//debian/dists/sarge/main/binary-i386/Release
| lrwxrwxrwx  1 aptproxy root  63 2004-12-15 17:04 
apt-proxy_debian_dists_sarge_non-free_binary-i386_Release - 
../../../../..//debian/dists/sarge/non-free/binary-i386/Release
| lrwxrwxrwx  1 aptproxy root  60 2004-12-15 17:04 
apt-proxy_debian_dists_sid_contrib_binary-i386_Release - 
../../../../..//debian/dists/sid/contrib/binary-i386/Release
| lrwxrwxrwx  1 aptproxy root  57 2004-12-15 17:04 
apt-proxy_debian_dists_sid_main_binary-i386_Release - 
../../../../..//debian/dists/sid/main/binary-i386/Release
| lrwxrwxrwx  1 aptproxy root  61 2004-12-15 17:04 
apt-proxy_debian_dists_sid_non-free_binary-i386_Release - 
../../../../..//debian/dists/sid/non-free/binary-i386/Release
| lrwxrwxrwx  1 aptproxy root  65 2004-12-15 17:04 
apt-proxy_debian_dists_unstable_contrib_binary-i386_Release - 
../../../../..//debian/dists/unstable/contrib/binary-i386/Release
| lrwxrwxrwx  1 aptproxy root  62 2004-12-15 17:04 
apt-proxy_debian_dists_unstable_main_binary-i386_Release - 
../../../../..//debian/dists/unstable/main/binary-i386/Release
| lrwxrwxrwx  1 aptproxy root  66 2004-12-15 17:04 
apt-proxy_debian_dists_unstable_non-free_binary-i386_Release - 
../../../../..//debian/dists/unstable/non-free/binary-i386/Release
| drwxr-xr-x  2 aptproxy root   6 2004-12-15 17:04 partial
`

Die gehren auch aptproxy:root. Kann das 

Re: apt-proxy-import problem

2004-12-17 Diskussionsfäden Christoph Werkhausen
*** Andreas Pakulat [EMAIL PROTECTED] wrote:

 Nur um sicher zu gehen: Hast du vorher ein apt-get update
 durchgefhrt? Wenn ja: Bugreport schreiben.

Ja, ein apt-get update hatte ich gemacht.

Regards/Gre,
Christoph Werkhausen
-- 
Fnf zerbrochene Ehen haben mich gelehrt, da eine glckliche Ehe
eines jener zahllosen Dinge ist, die kein Mensch kaufen kann, wie
viele Millionen er auch besitzen mag.
-- Jean-Paul Getty (Wie wird man reich?)


pgpb6NxFQrTvX.pgp
Description: PGP signature


Re: apt-proxy-import problem

2004-12-17 Diskussionsfäden Andreas Pakulat
On 17.Dec 2004 - 12:23:03, Christoph Werkhausen wrote:
 Hallo Micha,
 Wieso gehört lists aptproxy:root?

Keine Ahnung, unterhalb /var/cache/apt-proxy sollte alles
aptproy:nogroup gehören. Also mal ein chown -R laufen lassen.

 in etc ist folgende sources.list:
 ,
 | deb http://apt-proxy:/debian/dists/sarge/main/binary-i386/ /
 | deb http://apt-proxy:/debian/dists/sarge/contrib/binary-i386/ /
 | deb http://apt-proxy:/debian/dists/sid/main/binary-i386/ /
 | deb http://apt-proxy:/debian/dists/sid/contrib/binary-i386/ /
 | deb http://apt-proxy:/debian/dists/unstable/contrib/binary-i386/ /
 | deb http://apt-proxy:/debian/dists/unstable/main/binary-i386/ /
 | deb http://apt-proxy:/debian/dists/sarge/non-free/binary-i386/ /
 | deb http://apt-proxy:/debian/dists/sid/non-free/binary-i386/ /
 | deb http://apt-proxy:/debian/dists/unstable/non-free/binary-i386/ /
 `
 
 Ist das apt-proxy: da richtig?

Lies mal die doku zu apt-proxy dann weisst du warum das da totaler
Blödsinn ist und von apt-get eigentlich nur Fehlermeldungen kommen
dürften. Eine korrekte Zeile wäre z.B.:

deb http://$RECHNER_AUF_DEM_APTPROXY_LÄUFT:/debian unstable main contrib 
non-free

  Falls hier was buggy scheint, poste doch mal auf 
  apt-proxy-users(at)lists.sourceforge.net
 
 Dumme Frage: woran erkenne ich, dass hier was buggy ist?

Indem du die manpages und Doku liest und eine korrekte Konfiguration
von apt erzeugst. Wenn du dann immernoch solche Probleme hast, dann
ist es evtl. ein Bug.

Andreas

-- 
You get along very well with everyone except animals and people.


-- 
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-import problem

2004-12-17 Diskussionsfäden Christoph Werkhausen
Hallo Andreas.

*** Andreas Pakulat [EMAIL PROTECTED] wrote:

 Wieso gehrt lists aptproxy:root?

 Keine Ahnung, unterhalb /var/cache/apt-proxy sollte alles
 aptproy:nogroup gehren. Also mal ein chown -R laufen lassen.

Habe ich gemacht, apt-proxy neu gestartet. Der Fehler bleibt.

 in etc ist folgende sources.list:
 ,
 | deb http://apt-proxy:/debian/dists/sarge/main/binary-i386/ /
[...]
 Ist das apt-proxy: da richtig?

 Lies mal die doku zu apt-proxy dann weisst du warum das da totaler
 Bldsinn ist und von apt-get eigentlich nur Fehlermeldungen kommen
 drften. Eine korrekte Zeile wre z.B.:

 deb http://$RECHNER_AUF_DEM_APTPROXY_LUFT:/debian unstable main contrib 
 non-free

Das ist ein Missverstndnis. Die /etc/apt/sources.list ist schon
korrekt. Sonst wrde natrlich gar nichts laufen. Die hier von mir
angesprochene sources.list liegt in
/var/cache/apt-proxy/.apt-proxy/backends/[name des backends]/apt/etc/
also beispielsweise
/var/cache/apt-proxy/.apt-proxy/backends/[debian]/apt/etc/

Regards/Gre,
Christoph Werkhausen


pgpulG2g4DaeB.pgp
Description: PGP signature


Re: apt-proxy-import problem

2004-12-15 Diskussionsfäden Christoph Werkhausen
Hallo Micha.

*** Michael Tuschik [EMAIL PROTECTED] wrote:

 Funktioniert tadellos hier. Rufst du den Import auch als root auf ?

Ja, den Import rufe ich als root auf.

 Wie sieht deine apt-proxy.conf aus ?

Meine apt-proxy-v2.conf sieht so aus:

--8---cut here---start-8---
[DEFAULT]
;; Server port to listen on
port = 

;; Control files (Packages/Sources/Contents) refresh rate
;;
;; Minimum time between attempts to refresh a file
min_refresh_delay = 1h

;; Minimum age of a file before attempting an update (NOT YET IMPLEMENTED)
;min_age = 23h

;; Debugging settings.
;; for all debug information use this:
;; debug = all:9
debug = all:4 db:0

;; Network timeout when retrieving from backend servers
timeout = 15

;; Cache directory for apt-proxy
cache_dir = /var/cache/apt-proxy

;; Use HTTP proxy?
http_proxy = tristan:3128

;; Cache housekeeping

;; Time to perform periodic housekeeping:
;;  - delete files that have not been accessed in max_age
;;  - scan cache directories and update internal tables
cleanup_freq = 65d

;; Maximum age of files before deletion from the cache (seconds)
max_age = 120d

;; Maximum number of versions of a .deb to keep per distribution
max_versions = 3

;; Backend servers
;;
;; Place each server in its own [section]

[debian]
backends =
http://ftp.de.debian.org/debian
http://ftp2.de.debian.org/debian

[debian-non-US]
backends =
http://ftp.de.debian.org/debian-non-US

[debian-marillat]
backends =
ftp://ftp.nerim.net/debian-marillat

--8---cut here---end---8---

Die sources.list:

--8---cut here---start-8---
deb http://tristan:/debian/ sarge main contrib non-free
deb http://tristan:/debian/ sid main contrib non-free
deb http://tristan:/debian/ unstable contrib main non-free
deb http://tristan:/debian/ project/experimental/main/binary-i386/
deb http://tristan:/debian-non-US/ sarge/non-US main contrib non-free
deb http://tristan:/debian-non-US/ sid/non-US main contrib non-free
deb http://tristan:/debian-marillat/ unstable main

--8---cut here---end---8---

tristan:~# apt-proxy-import -i /var/cache/apt/archives
Updating twisted's process module.
No updating required.
2004/12/15 16:54 CET [-] Log opened.
2004/12/15 16:54 CET [-] [apt_pkg] Loading Packages database for 
/var/cache/apt-proxy/.apt-proxy/backends/debian-marillat
2004/12/15 16:54 CET [-] [apt_pkg] Loading Packages database for 
/var/cache/apt-proxy/.apt-proxy/backends/metalab
2004/12/15 16:54 CET [-] [apt_pkg] Loading Packages database for 
/var/cache/apt-proxy/.apt-proxy/backends/jopa
2004/12/15 16:54 CET [-] [apt_pkg] Loading Packages database for 
/var/cache/apt-proxy/.apt-proxy/backends/tux-org
2004/12/15 16:54 CET [-] [apt_pkg] Loading Packages database for 
/var/cache/apt-proxy/.apt-proxy/backends/dyndns
2004/12/15 16:54 CET [-] [apt_pkg] Loading Packages database for 
/var/cache/apt-proxy/.apt-proxy/backends/linux-systeme
2004/12/15 16:54 CET [-] [apt_pkg] Loading Packages database for 
/var/cache/apt-proxy/.apt-proxy/backends/security
2004/12/15 16:54 CET [-] [apt_pkg] Loading Packages database for 
/var/cache/apt-proxy/.apt-proxy/backends/security
2004/12/15 16:54 CET [-] [apt_pkg] Loading Packages database for 
/var/cache/apt-proxy/.apt-proxy/backends/blackdown
2004/12/15 16:54 CET [-] [apt_pkg] Loading Packages database for 
/var/cache/apt-proxy/.apt-proxy/backends/debian
2004/12/15 16:54 CET [-] [apt_pkg] Loading Packages database for 
/var/cache/apt-proxy/.apt-proxy/backends/debian
2004/12/15 16:54 CET [-] [apt_pkg] Loading Packages database for 
/var/cache/apt-proxy/.apt-proxy/backends/debian-non-US
2004/12/15 16:54 CET [-] [import] abc2ps_1.3.3-3_i386.deb skipped - no suitable 
backend found
2004/12/15 16:54 CET [-] [import] gcc-3.3-base_1%3a3.3.4-13_i386.deb skipped - 
no suitable backend found

Und so geht das dann weiter; bei allen Paketen skipped - no suitable
backend found.

Vielen Dank fr Deine Hilfe.

Regards/Gre,
Christoph Werkhausen


pgpKxhUWITmCd.pgp
Description: PGP signature


Re: apt-proxy-import problem

2004-12-15 Diskussionsfäden Michael Tuschik
Hi Christoph,

ich verwende noch die alte 1er-Version von apt-proxy. Kann jetzt also nur noch 
vermuten.

Am Mittwoch 15 Dezember 2004 17:06 schrieb Christoph Werkhausen:
 ...

 Updating twisted's process module.
 No updating required.
 2004/12/15 16:54 CET [-] Log opened.
 2004/12/15 16:54 CET [-] [apt_pkg] Loading Packages database for
 /var/cache/apt-proxy/.apt-proxy/backends/debian-marillat 2004/12/15 16:54
 CET [-] [apt_pkg] Loading Packages database for
 /var/cache/apt-proxy/.apt-proxy/backends/metalab 2004/12/15 16:54 CET [-]
 [apt_pkg] Loading Packages database for
 /var/cache/apt-proxy/.apt-proxy/backends/jopa 2004/12/15 16:54 CET [-]
 [apt_pkg] Loading Packages database for
 /var/cache/apt-proxy/.apt-proxy/backends/tux-org 2004/12/15 16:54 CET [-]
 [apt_pkg] Loading Packages database for
 /var/cache/apt-proxy/.apt-proxy/backends/dyndns 2004/12/15 16:54 CET [-]
 [apt_pkg] Loading Packages database for
 /var/cache/apt-proxy/.apt-proxy/backends/linux-systeme 2004/12/15 16:54 CET
 [-] [apt_pkg] Loading Packages database for
 /var/cache/apt-proxy/.apt-proxy/backends/security 2004/12/15 16:54 CET [-]
 [apt_pkg] Loading Packages database for
 /var/cache/apt-proxy/.apt-proxy/backends/security 2004/12/15 16:54 CET [-]
 [apt_pkg] Loading Packages database for
 /var/cache/apt-proxy/.apt-proxy/backends/blackdown 2004/12/15 16:54 CET [-]
 [apt_pkg] Loading Packages database for
 /var/cache/apt-proxy/.apt-proxy/backends/debian 2004/12/15 16:54 CET [-]
 [apt_pkg] Loading Packages database for
 /var/cache/apt-proxy/.apt-proxy/backends/debian 2004/12/15 16:54 CET [-]
 [apt_pkg] Loading Packages database for
 /var/cache/apt-proxy/.apt-proxy/backends/debian-non-US 2004/12/15 16:54 CET
 [-] [import] abc2ps_1.3.3-3_i386.deb skipped - no suitable backend found
 2004/12/15 16:54 CET [-] [import] gcc-3.3-base_1%3a3.3.4-13_i386.deb
 skipped - no suitable backend found

 Und so geht das dann weiter; bei allen Paketen skipped - no suitable
 backend found.


Sieht komisch aus. Irgendwie passt die Liste der geladenen backends nicht zu 
der Konfiguration. Hast du mal unter /var/cache/apt-proxy geschaut, was dort 
so rumliegt ?
Falls hier was buggy scheint, poste doch mal auf 
apt-proxy-users(at)lists.sourceforge.net

Gruß
Micha



Re: apt-proxy-import problem

2004-12-15 Diskussionsfäden Andreas Pakulat
On 15.Dec 2004 - 17:06:24, Christoph Werkhausen wrote:
 Hallo Micha.
 *** Michael Tuschik [EMAIL PROTECTED] wrote:
 tristan:~# apt-proxy-import -i /var/cache/apt/archives
 2004/12/15 16:54 CET [-] [import] abc2ps_1.3.3-3_i386.deb skipped - no 
 suitable backend found
 
 Und so geht das dann weiter; bei allen Paketen skipped - no suitable
 backend found.

Nur um sicher zu gehen: Hast du vorher ein apt-get update
durchgeführt? Wenn ja: Bugreport schreiben.

Andreas


-- 
You will be advanced socially, without any special effort on your part.


-- 
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-import problem

2004-12-14 Diskussionsfäden Michael Tuschik
Hi,

Am Freitag, 10. Dezember 2004 17:07 schrieb Christoph Werkhausen:
 Hallo,


 Hat da bitte jemand einen Hinweis für mich? Ich würde nämlich gerne
 apt-proxy für die Installation der Rechner meiner Kinder nutzen und
 nicht jeweils die Pakete neu downloaden müssen.


Funktioniert tadellos hier. Rufst du den Import auch als root auf ?
Wie sieht deine apt-proxy.conf aus ?

Gruß
Micha


apt-proxy-import problem

2004-12-10 Diskussionsfäden Christoph Werkhausen
Hallo,

mein System:
Sarge-/Sid-Mix, apt-proxy 1.9.24

Ich habe apt-proxy konfiguriert und neu gestartet, eine entsprechende
sources.list angelegt und apt-get update ausgeführt.

apt-proxy läuft und ich kann per apt-get oder synaptic oder ...
Pakete installieren, updaten usw.

Leider lässt sich aber mit apt-proxy-import kein einziges bereits in
/var/cache/apt/archives befindliches Paket importieren. Ein Beispiel:

2004/12/10 16:16 CET [-] [import] considering:
/var/cache/apt/archives/gcc-3.3-base_1%3a3.3.4-13_i386.deb
2004/12/10 16:16 CET [-] [import] Not found, trying to guess
2004/12/10 16:16 CET [-] [import] gcc-3.3-base_1%3a3.3.4-13_i386.deb
skipped - no suitable backend found

Diese Meldung (no suitable backend found) wiederholt sich bei allen
vorhandenen Paketen.

Es wird auch kein Verzeichnis pool im jeweiligen backend-Verzeichnis
angelegt. Diese Verzeichnisse samt Unterverzeichnissen werden
nur angelegt, wenn ich Pakete update oder noch nicht installierte
Pakete installiere.

Hat da bitte jemand einen Hinweis für mich? Ich würde nämlich gerne
apt-proxy für die Installation der Rechner meiner Kinder nutzen und
nicht jeweils die Pakete neu downloaden müssen.

Wenn noch Angaben fehlen, gebt mir bitte entsprechende Hinweise.

Regards\Grüße,
Christoph Werkhausen
-- 
Wurst ist eine Götterspeise. Denn nur Gott weiß, was drin ist.
-- Jean Paul (eig. Johann Paul Friedrich Richter)


signature.asc
Description: Digital signature