From: Bram M. <bra...@li...> - 2005-04-28 08:10:35
|
Hi I installed apt-proxy and configured the main archives but I can't find how to add some additional archives. My sources.list before installing apt-proxy looked like: deb http://debian.mines.inpl-nancy.fr/debian/ testing main non-free deb-src http://debian.mines.inpl-nancy.fr/debian/ testing main non-free deb http://security.debian.org/ stable/updates main non-free deb http://ftp.acc.umu.se/mirror/mirrors.evilgeniuses.org.uk/debian/backports/woody gnome2.2/ # get java deb ftp://ftp.easynet.be/blackdown/debian testing main non-free # get clamassassin deb http://debian.wgdd.de/debian testing main contrib non-free deb-src http://debian.wgdd.de/debian testing main contrib non-free # get mplayer etc. deb ftp://ftp.nerim.net/debian-marillat testing main At the moment /etc/apt-proxy/apt-proxy-v2.conf looks like: [DEFAULT] ;; Server IP to listen on ;address = 192.168.0.254 ;; Server port to listen on port = 9999 [snip all default values here] ;; Backend servers [debian] backends = http://debian.mines.inpl-nancy.fr/debian/ http://ftp.us.debian.org/debian http://ftp.de.debian.org/debian http://ftp2.de.debian.org/debian ftp://ftp.uk.debian.org/debian [security] ;; Debian security archive backends = http://security.debian.org/debian-security http://ftp2.de.debian.org/debian-security [blackdown] ;; Blackdown Java ;backends = http://ftp.gwdg.de/pub/languages/java/linux/debian backends = ftp://ftp.easynet.be/blackdown/debian ;[gnome2.2] ;; Gnome 2.2 ;backends = http://ftp.acc.umu.se/mirror/mirrors.evilgeniuses.org.uk/debian/backports/woody ;[clamassassin] ;; clamassassin ;backends = http://debian.wgdd.de ;[marillat] ;; mplayer etc ;backends = ftp://ftp.nerim.net/debian-marillat Up untill blackdown everything works fine but when I uncomment one of the other backends (gnome2.2/clamassassin/marillat) I get "503 Service Unavailable" errors. A quick search through the archives didn't lead me to relevant posts. My /etc/apt/sources.list on the same machine looks like: #deb http://debian.mines.inpl-nancy.fr/debian/ testing main non-free #deb-src http://debian.mines.inpl-nancy.fr/debian/ testing main non-free deb http://localhost:9999/debian/ testing main non-free deb-src http://localhost:9999/debian/ testing main non-free #deb http://security.debian.org/ stable/updates main non-free deb http://localhost:9999/security stable/updates main non-free #deb http://ftp.acc.umu.se/mirror/mirrors.evilgeniuses.org.uk/debian/backports/woody gnome2.2/ ##deb http://localhost:9999/gnome2.2/ gnome2.2/ # get java #deb ftp://ftp.easynet.be/blackdown/debian testing main non-free # deb ftp://ftp.skynet.be/pub/ftp.blackdown.org/debian testing main non-free ##deb ftp://localhost:9999/blackdown testing main non-free # get clamassassin #deb http://debian.wgdd.de/debian testing main contrib non-free #deb-src http://debian.wgdd.de/debian testing main contrib non-free ##deb http://localhost:9999/clamassassin/ testing main contrib non-free ##deb-src http://localhost:9999/clamassassin/ testing main contrib non-free # get mplayer etc. #deb ftp://ftp.nerim.net/debian-marillat testing main ##deb ftp://localhost:9999/marillat testing main Any idea what I'm doing wrong? TIA Bram -- # Mertens Bram "M8ram" <bra...@li...> Linux User #349737 # # debian testing kernel 2.6.8-1-686 i686 512MB RAM # # 10:01:09 up 33 days, 16:14, 14 users, load average: 0.41, 0.42, 0.28 # |
From: Olivier B. <Oli...@pu...> - 2005-04-28 08:36:27
|
Hello, > I installed apt-proxy and configured the main archives but I can't find > how to add some additional archives. > ... > At the moment /etc/apt-proxy/apt-proxy-v2.conf looks like: > ... > ;[marillat] > ;; mplayer etc > ;backends =3D ftp://ftp.nerim.net/debian-marillat >=20 > Up untill blackdown everything works fine but when I uncomment one of > the other backends (gnome2.2/clamassassin/marillat) I get "503 Service > Unavailable" errors. I have this for marillat: [marillat] backends =3D ftp://ftp.nerim.net/debian-marillat So, it seems it's OK with your config when you uncomment it. do you have restarted apt-proxy ? You need to restart it to have the config reloaded. Good day. Olivier --=20 Olivier Bornet | fran=E7ais : http://puck.ch/f Swiss Ice Hockey Results | english : http://puck.ch/e http://puck.ch/ | deutsch : http://puck.ch/g Oli...@pu... | italiano : http://puck.ch/i Get my PGP-key at http://puck.ch/pgp or at http://pgp.mit.edu/ |
From: Bram M. <bra...@li...> - 2005-04-28 09:13:10
|
On Thu, 2005-04-28 at 10:36 +0200, Olivier Bornet wrote: [...] > I have this for marillat: > > [marillat] > backends = > ftp://ftp.nerim.net/debian-marillat > > So, it seems it's OK with your config when you uncomment it. And what is in your /etc/apt/sources.list for marillat? > do you have restarted apt-proxy ? You need to restart it to have the > config reloaded. No I hvaen't but when I uncomment the above and rerun apt-get update it does looks for these packages so I thought restarting apt-proxy wasn't necessary? But running /etc/init.d/apt-proxy restart doesn't help... However no I get a connection timeout for marillat (also before restarting apt-proxy) imladris:~# /etc/init.d/apt-proxy restart Stopping apt-proxy. Starting apt-proxy imladris:~# apt-get update Hit http://localhost testing/main Packages Hit http://localhost testing/main Release Hit http://localhost testing/non-free Packages Hit http://localhost testing/non-free Release Hit http://localhost testing/main Sources Hit http://localhost testing/main Release Hit http://localhost testing/non-free Sources Hit http://localhost testing/non-free Release Hit http://localhost stable/updates/main Packages Hit http://localhost stable/updates/main Release Hit http://localhost stable/updates/non-free Packages Hit http://localhost stable/updates/non-free Release Err ftp://localhost testing/main Packages Connection timeout Err ftp://localhost testing/main Release Connection timeout Failed to fetch ftp://localhost:9999/marillat/dists/testing/main/binary-i386/Packages.gz Connection timeout Failed to fetch ftp://localhost:9999/marillat/dists/testing/main/binary-i386/Release Connection timeout Reading Package Lists... Done W: Couldn't stat source package list ftp://localhost testing/main Packages (/var/lib/apt/lists/localhost:9999_marillat_dists_testing_main_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. Thanks Bram -- # Mertens Bram "M8ram" <bra...@li...> Linux User #349737 # # debian testing kernel 2.6.8-1-686 i686 512MB RAM # # 11:07:11 up 33 days, 17:21, 14 users, load average: 0.24, 0.23, 0.14 # |
From: Olivier B. <Oli...@pu...> - 2005-04-28 09:45:43
|
Hi, > > I have this for marillat: > >=20 > > [marillat] > > backends =3D > > ftp://ftp.nerim.net/debian-marillat > >=20 > > So, it seems it's OK with your config when you uncomment it. >=20 > And what is in your /etc/apt/sources.list for marillat? something like: # # marillat stuff # deb http://aptproxy:9999/marillat stable main deb http://aptproxy:9999/marillat testing main deb http://aptproxy:9999/marillat unstable main deb-src http://aptproxy:9999/marillat unstable main Warning: I see you have: ##deb ftp://localhost:9999/marillat testing main = =20 As you use apt-proxy for getting the stuff, use http and not ftp. > > do you have restarted apt-proxy ? You need to restart it to have the > > config reloaded. >=20 > No I hvaen't but when I uncomment the above and rerun apt-get update it > does looks for these packages so I thought restarting apt-proxy wasn't > necessary? Has far has I know, this is necessary. > Err ftp://localhost testing/main Packages > Connection timeout > Err ftp://localhost testing/main Release > Connection timeout > Failed to fetch ftp://localhost:9999/marillat/dists/testing/main/binary-i= 386/Packages.gz Connection timeout > Failed to fetch ftp://localhost:9999/marillat/dists/testing/main/binary-i= 386/Release Connection timeout Ftp is the problem. Put http instead. HTH. Olivier --=20 Olivier Bornet | fran=E7ais : http://puck.ch/f Swiss Ice Hockey Results | english : http://puck.ch/e http://puck.ch/ | deutsch : http://puck.ch/g Oli...@pu... | italiano : http://puck.ch/i Get my PGP-key at http://puck.ch/pgp or at http://pgp.mit.edu/ |
From: Bram M. <bra...@li...> - 2005-04-28 09:56:49
|
On Thu, 2005-04-28 at 11:45 +0200, Olivier Bornet wrote: > Hi, > > > > I have this for marillat: > > > > > > [marillat] > > > backends = > > > ftp://ftp.nerim.net/debian-marillat > > > > > > So, it seems it's OK with your config when you uncomment it. > > > > And what is in your /etc/apt/sources.list for marillat? > > something like: > > # > # marillat stuff > # > deb http://aptproxy:9999/marillat stable main > deb http://aptproxy:9999/marillat testing main > deb http://aptproxy:9999/marillat unstable main > deb-src http://aptproxy:9999/marillat unstable main > > Warning: I see you have: > > ##deb ftp://localhost:9999/marillat testing main > > As you use apt-proxy for getting the stuff, use http and not ftp. Thanks that combined with restarting apt-proxy did the trick! Regards Bram -- # Mertens Bram "M8ram" <bra...@li...> Linux User #349737 # # debian testing kernel 2.6.8-1-686 i686 512MB RAM # # 11:55:26 up 33 days, 18:09, 14 users, load average: 0.49, 0.40, 0.31 # |