Re: Problem with apt maybe related to installation/configuration of apt-cacher-ng

2023-05-31 Thread Dennis Heddicke
On 5/31/23 14:42, john doe wrote: On 5/31/23 11:36, Dennis Heddicke wrote: Yes, after purging apt-cacher-ng the problem was gone. And after i reinstalled apt-cacher-ng and configured it that way: For the sake of simplicity and troubleshooting, please modify sources.list directly. What does

Re: Problem with apt maybe related to installation/configuration of apt-cacher-ng

2023-05-31 Thread john doe
On 5/31/23 11:36, Dennis Heddicke wrote: Yes, after purging apt-cacher-ng the problem was gone. And after i reinstalled apt-cacher-ng and configured it that way: For the sake of simplicity and troubleshooting, please modify sources.list directly. What does acng.conf look like? Note that

Re: Problem with apt maybe related to installation/configuration of apt-cacher-ng

2023-05-31 Thread Charles Curley
On Wed, 31 May 2023 11:36:19 +0200 Dennis Heddicke wrote: > Acquire::http {Proxy "http://localhost:3142";}; > Acquire::https {Proxy "http://";}; I'm not comfortable with your second line there. First, you have for https a non-secure http. I suspect they should match. Second, if you are going to

Re: Problem with apt maybe related to installation/configuration of apt-cacher-ng

2023-05-31 Thread Dennis Heddicke
Yes, after purging apt-cacher-ng the problem was gone. And after i reinstalled apt-cacher-ng and configured it that way: Acquire::http {Proxy "http://localhost:3142";}; Acquire::https {Proxy "http://";}; there are any errors too, although i don't know what  caused them

Re: Problem with apt maybe related to installation/configuration of apt-cacher-ng

2023-05-30 Thread john doe
Some index files failed to download. They have been ignored, or old ones used instead. I use Debian 12. The only changes i did before the problem occurred, were the installation of apt-cacher-ng and i ran "mach bootstrap" in a chroot. If you remove apt-cacher-ng, does it work at all? -- John Doe

Problem with apt maybe related to installation/configuration of apt-cacher-ng

2023-05-30 Thread Dennis Heddicke
o download. They have been ignored, or old ones used instead. I use Debian 12. The only changes i did before the problem occurred, were the installation of apt-cacher-ng and i ran "mach bootstrap" in a chroot. I don't think, the last thing would change this much the operating

Re: apt-cacher internal error (died)

2022-09-21 Thread Adam Weremczuk
Thanks David, the server runs 9.2 and clients 9.1 so hopefully it will work ok. Another reason I kept changing sources.list in the client was in the aftermath of my recent attempts against apt-cacher. In apt-cacher you change every line to point to apt-cacher:3142. At least that's w

Re: apt-cacher internal error (died)

2022-09-21 Thread David Wright
On Wed 21 Sep 2022 at 16:26:25 (+0100), Adam Weremczuk wrote: > On 21/09/2022 15:36, Darac Marjal wrote: > > I'm no expert in apt-cacher-ng, but the error here says that's > > it's trying to look up "debian-security" as a hostname. If I'm >

Re: apt-cacher internal error (died)

2022-09-21 Thread Bob Weber
in Sep 2022 for apt-cacher-ng server and clients? I've tried several different sets getting no errors from "apt update" on the server (which has internet connectivity). Every time I repeat this list in /etc/apt/sources.list on a client replacing FQDN (e.g. de

Re: apt-cacher internal error (died)

2022-09-21 Thread Adam Weremczuk
Thank you Darac, that was my problem indeed! What confused me was the fact that, despite being fundamentally misconfigured, it appeared to be almost working. Just complaining about one security mirror. On 21/09/2022 15:36, Darac Marjal wrote: I'm no expert in apt-cacher-ng, but the error

Re: apt-cacher internal error (died)

2022-09-21 Thread Darac Marjal
On 21/09/2022 14:07, Adam Weremczuk wrote: Hi David, There is still something wrong with my /etc/apt/sources.list Perhaps caused by stretch reaching end of life on 30 June 2022. Can somebody provide me with a tested list of mirrors for stretch working in Sep 2022 for apt-cacher-ng server

Re: apt-cacher internal error (died)

2022-09-21 Thread Adam Weremczuk
Hi David, There is still something wrong with my /etc/apt/sources.list Perhaps caused by stretch reaching end of life on 30 June 2022. Can somebody provide me with a tested list of mirrors for stretch working in Sep 2022 for apt-cacher-ng server and clients? I've tried several diff

Re: apt-cacher internal error (died)

2022-09-12 Thread David Wright
On Mon 12 Sep 2022 at 18:57:40 (+0100), Adam Weremczuk wrote: > On 12/09/2022 16:42, David Wright wrote: > > On Mon 12 Sep 2022 at 14:33:59 (+0100), Adam Weremczuk wrote: > > > Switching to apt-cacher-ng brings no immediate joy :( > > > > > > CLIENT (19

Re: apt-cacher internal error (died)

2022-09-12 Thread Adam Weremczuk
ld imagine this is a typical scenario where you want to use apt-cacher. Regards, Adam On 12/09/2022 16:42, David Wright wrote: On Mon 12 Sep 2022 at 14:33:59 (+0100), Adam Weremczuk wrote: Switching to apt-cacher-ng brings no immediate joy :( CLIENT (192.168.100.243) sudo apt update Err:5 http:

Re: apt-cacher internal error (died)

2022-09-12 Thread David Wright
On Mon 12 Sep 2022 at 14:33:59 (+0100), Adam Weremczuk wrote: > Switching to apt-cacher-ng brings no immediate joy :( > > CLIENT (192.168.100.243) > sudo apt update > Err:5 http://192.168.100.1:3142/security stretch/updates Release > 503 DNS error for hostname security: No

Re: apt-cacher internal error (died)

2022-09-12 Thread Adam Weremczuk
Switching to apt-cacher-ng brings no immediate joy :( CLIENT (192.168.100.243) sudo apt update Err:5 http://192.168.100.1:3142/security stretch/updates Release 503 DNS error for hostname security: No address associated with hostname. If security refers to a configured cache repository

Re: apt-cacher internal error (died)

2022-09-08 Thread Adam Weremczuk
Hi David, From SERVER:/etc/apt-cacher/apt-cacher.conf user = www-data group = www-data sudo chown -R www-data:www-data /var/cache/apt/archives/* Same error on the CLIENT :( I think I'll give apt-cacher-ng a shot instead although I wouldn't mind knowing why apt-cacher kee

Re: apt-cacher internal error (died)

2022-09-08 Thread David Wright
Disclaimer: I run apt-cacher-ng, and have never looked at apt-cacher. On Wed 07 Sep 2022 at 17:50:16 (+0100), Adam Weremczuk wrote: > SERVER > > Wed Sep 7 17:06:40 2022|error [10088]: Failed to open/create > /var/cache/apt-cacher/packages/memtest86+_5.01-3_amd64.deb for return:

Re: apt-cacher internal error (died)

2022-09-07 Thread Charles Curley
On Wed, 7 Sep 2022 17:50:16 +0100 Adam Weremczuk wrote: > The server runs Debian 9.2 and the client Debian 9.1 I remember having problems with apt-cacher-ng on Debian 9 or there-abouts. Maybe it's time to upgrade to Bullseye? apt-cacher-ng has a web server, with which you can

apt-cacher internal error (died)

2022-09-07 Thread Adam Weremczuk
1.100:3142/debian stretch/main amd64 memtest86+ amd64 5.01-3 502 apt-cacher internal error (died) E: Failed to fetch http://192.168.1.100:3142/debian/pool/main/m/memtest86+/memtest86+_5.01-3_amd64.deb 502 apt-cacher internal error (died) E: Unable to fetch some archives, maybe run apt-get upd

Re: apt-cacher-ng problems

2022-08-07 Thread Tim Woodall
d/amd64/grep_3.7-1_amd64.deb HTTP/1.1" 304 - "-" "Apt-Cacher-NG/3.6.4" "aptmirror17.home.woodall.me.uk" ? and that looks as if you're running acng/bullseye. Your setup is too complicated for me to give any direct help, but I can say that running acng/versi

Re: apt-cacher-ng problems

2022-08-07 Thread David Wright
0:bfcd:100:MUNGED:8 - - [07/Aug/2022:05:01:17 +] > "GET /local/pool/essential/sid/amd64/grep_3.7-1_amd64.deb HTTP/1.1" 304 > - "-" "Apt-Cacher-NG/3.6.4" "aptmirror17.home.woodall.me.uk" … and that looks as if you're running acng/bullseye. Your

Re: apt-cacher-ng problems

2022-08-07 Thread Tim Woodall
On Sun, 7 Aug 2022, Tim Woodall wrote: I installed acng yesterday. Nothing else has changed. A script is fetching all of the required packages plus a few others for amd64,i386,arm64 and armel starting with sid all the way to jessie Rather complicated setup: (This does make sense although in th

apt-cacher-ng problems

2022-08-07 Thread Tim Woodall
3.23_amd64.deb - HIER_DIRECT/2001:8b0:bfcd:100:MUNGED:7 application/vnd.debian.binary-package Squid checking the file is unchanged is logged by apache. 2001:8b0:bfcd:100:MUNGED:8 - - [07/Aug/2022:05:01:17 +] "GET /local/pool/essential/sid/amd64/grep_3.7-1_amd64.deb HTTP/1.1" 304 -

Re: apt-cacher-ng and CNAMEs

2022-05-03 Thread Celejar
gt; But that (as described by the maintainer) mess was supposedly resolved, > > and the bug was closed. Am I missing something, or does that bug need > > to be reopened? > > Are you using stable? The bug has been closed with version > 3.7.1-1 of apt-cacher-ng. Stable currently h

Re: apt-cacher-ng and CNAMEs

2022-05-03 Thread Nito
d the bug was closed. Am I missing something, or does that bug need > to be reopened? Are you using stable? The bug has been closed with version 3.7.1-1 of apt-cacher-ng. Stable currently has 3.6.4-1 with no indication of a patch being applied for this bug. Bullseye-backoprts offers 3.7.4-1~bpo11+

apt-cacher-ng and CNAMEs

2022-05-03 Thread Celejar
I'm trying to use the Tor upstream repositories: https://support.torproject.org/apt/tor-deb-repo/ Direct access works correctly, but proxying through apt-cacher-ng (using SSL passthrough, as per the apt-cacher-ng documentation) does not: Err:1 https://deb.torproject.org/torproject.or

getting apt-cacher-ng to pass auth through

2021-07-06 Thread Ólafur Jens Sigurðsson
Hi, I would like to use apt-cacher-ng to cache the updates from enterprise.proxmox.com. One thing about this repo is that they have two different kinds, the http one and the https one, the http one is non-enterprise and open to all, but the https one is closed and needs a subscription with a

Re: can not update/upgrade Debian 10 when using apt-cacher-ng

2019-11-05 Thread john doe
t;>>>> On Tue, Oct 29, 2019 at 01:36:35PM +0100, john doe wrote: >>>>>> On 10/29/2019 12:50 PM, Charles Curley wrote: >>>>>>> On Tue, 29 Oct 2019 11:45:02 +0100 >>>>>>> john doe wrote: >>>>>

Re: can not update/upgrade Debian 10 when using apt-cacher-ng

2019-11-05 Thread David Wright
ohn doe wrote: > >>>> On 10/29/2019 12:50 PM, Charles Curley wrote: > >>>>> On Tue, 29 Oct 2019 11:45:02 +0100 > >>>>> john doe wrote: > >>>>> > >>>>>> /etc/apt/sources.list: > >>>>>&

Re: can not update/upgrade Debian 10 when using apt-cacher-ng

2019-11-04 Thread john doe
: >>>>> On Tue, 29 Oct 2019 11:45:02 +0100 >>>>> john doe wrote: >>>>> >>>>>> /etc/apt/sources.list: >>>>>> >>>>>> http://HOSTNAME-APT-CACHER-NG>:3142/debian-security buster/updates > > [..

Re: can not update/upgrade Debian 10 when using apt-cacher-ng

2019-10-29 Thread tomas
02 +0100 > >>> john doe wrote: > >>> > >>>> /etc/apt/sources.list: > >>>> > >>>> http://HOSTNAME-APT-CACHER-NG>:3142/debian-security buster/updates [...] > Yes, the hostname is not the one I use. Phew :-) > For now, method 2 is used

Re: can not update/upgrade Debian 10 when using apt-cacher-ng

2019-10-29 Thread john doe
On 10/29/2019 2:01 PM, to...@tuxteam.de wrote: > On Tue, Oct 29, 2019 at 01:36:35PM +0100, john doe wrote: >> On 10/29/2019 12:50 PM, Charles Curley wrote: >>> On Tue, 29 Oct 2019 11:45:02 +0100 >>> john doe wrote: >>> >>>> /etc/apt/sources.lis

Re: can not update/upgrade Debian 10 when using apt-cacher-ng

2019-10-29 Thread tomas
On Tue, Oct 29, 2019 at 01:36:35PM +0100, john doe wrote: > On 10/29/2019 12:50 PM, Charles Curley wrote: > > On Tue, 29 Oct 2019 11:45:02 +0100 > > john doe wrote: > > > >> /etc/apt/sources.list: > >> > >> http://HOSTNAME-AP

Re: can not update/upgrade Debian 10 when using apt-cacher-ng

2019-10-29 Thread john doe
On 10/29/2019 12:50 PM, Charles Curley wrote: > On Tue, 29 Oct 2019 11:45:02 +0100 > john doe wrote: > >> /etc/apt/sources.list: >> >> http://HOSTNAME-APT-CACHER-NG>:3142/debian-security buster/updates >^ > > That greater

Re: can not update/upgrade Debian 10 when using apt-cacher-ng

2019-10-29 Thread Charles Curley
On Tue, 29 Oct 2019 11:45:02 +0100 john doe wrote: > /etc/apt/sources.list: > > http://HOSTNAME-APT-CACHER-NG>:3142/debian-security buster/updates ^ That greater than character looks problematic; is it correct? Also, I find that setup puts a file,

can not update/upgrade Debian 10 when using apt-cacher-ng

2019-10-29 Thread john doe
Hi, I'm playing with apt-cacher-ng, it works fine when installing debian but I get the following errors when trying to 'apt-get update' (apt-cacher-ng's log): |dists/buster/updates/InRelease [HTTP error, code: 503] |debrep/dists/buster-updates/InRelease The below URL m

Re: apt-cacher-ng's expiry job failing

2019-05-03 Thread Eduard Bloch
Hallo, * David Wright [Sat, Apr 27 2019, 09:31:50AM]: > > /var/cache/apt-cacher-ng/_xstore/rsnap/debrep/dists/unstable/45961554550630227606591 > > > > I removed the file and it started complaining about other similar files. > > After deleting a couple, the logs be

Re: apt-cacher-ng's expiry job failing

2019-04-27 Thread David Wright
> > security.debian.org/debian-security/dists/stretch/updates/19704841552237202370979443 > > > > but it didn't stop the run. This file exists, but is actually at > > /var/cache/apt-cacher-ng/_xstore/rsnap/security.debian.org/… > > so take a look there perhaps. >

Re: apt-cacher-ng's expiry job failing

2019-04-27 Thread Eduardo M KALINOWSKI
gt; but it didn't stop the run. This file exists, but is actually at > /var/cache/apt-cacher-ng/_xstore/rsnap/security.debian.org/… > so take a look there perhaps. That made me look for a file with that name in the whole hierarchy, and I found it at /var/cache/apt-cacher-n

Re: apt-cacher-ng's expiry job failing

2019-04-26 Thread David Wright
On Thu 25 Apr 2019 at 13:08:07 (+), Eduardo M KALINOWSKI wrote: > The daily apt-cacher-ng expiry job is failing in my machine. It refers > me to a log file, whose contents are: > > --- > Maintenance task Expiration, apt-cacher-ng version: 2 > > Locating potentially expir

apt-cacher-ng's expiry job failing

2019-04-25 Thread Eduardo M KALINOWSKI
The daily apt-cacher-ng expiry job is failing in my machine. It refers me to a log file, whose contents are: --- Maintenance task Expiration, apt-cacher-ng version: 2 Locating potentially expired files in the cache... Scanning, found 1 file... Scanning, found 2 files... Scanning, found 4

Re: apt-cacher errors

2019-03-25 Thread Greg Wooledge
On Mon, Mar 25, 2019 at 02:24:22PM +, Adam Weremczuk wrote: > Any practical difference between \*wheezy\* and '*wheezy*' in this case? Both forms of quoting yield identical results. As does "*wheezy*".

Re: apt-cacher errors

2019-03-25 Thread Adam Weremczuk
Hi Greg, Thank you for taking the time to point out all the shortcomings. On 25/03/19 13:21, Greg Wooledge wrote: On Mon, Mar 25, 2019 at 12:11:21PM +, Adam Weremczuk wrote: I've found 30 entries referencing wheezy and removed them all: sudo find /var/cache/apt-cacher/ -type f

Re: apt-cacher errors

2019-03-25 Thread deb
On 3/25/19 9:21 AM, Greg Wooledge wrote: On Mon, Mar 25, 2019 at 12:11:21PM +, Adam Weremczuk wrote: I've found 30 entries referencing wheezy and removed them all: sudo find /var/cache/apt-cacher/ -type f -name *wheezy* | xargs rm sudo find /var/cache/apt-cacher -type f -name &#x

Re: apt-cacher errors

2019-03-25 Thread Greg Wooledge
On Mon, Mar 25, 2019 at 12:11:21PM +, Adam Weremczuk wrote: > I've found 30 entries referencing wheezy and removed them all: > > sudo find /var/cache/apt-cacher/ -type f -name *wheezy* | xargs rm sudo find /var/cache/apt-cacher -type f -name '*wheezy*' -delete The

Re: apt-cacher errors

2019-03-25 Thread Adam Weremczuk
I've found 30 entries referencing wheezy and removed them all: sudo find /var/cache/apt-cacher/ -type f -name *wheezy* | xargs rm which appears to have fixed the issue. Thanks, Adam On 25/03/19 11:43, Roberto C. Sánchez wrote: On Mon, Mar 25, 2019 at 07:05:11AM -0400, Roberto C. Sá

Re: apt-cacher errors

2019-03-25 Thread Roberto C . Sánchez
On Mon, Mar 25, 2019 at 07:05:11AM -0400, Roberto C. Sánchez wrote: > On Mon, Mar 25, 2019 at 08:59:40AM +, Adam Weremczuk wrote: > > Hi all, > > > > On 24th March (last Sunday) I received the following (for the first time): > > > > Subject: Cron test -x

Re: apt-cacher errors

2019-03-25 Thread Roberto C . Sánchez
On Mon, Mar 25, 2019 at 08:59:40AM +, Adam Weremczuk wrote: > Hi all, > > On 24th March (last Sunday) I received the following (for the first time): > > Subject: Cron test -x /usr/share/apt-cacher/apt-cacher-cleanup.pl && > /usr/share/apt-cacher/apt-cacher-cleanup.

apt-cacher errors

2019-03-25 Thread Adam Weremczuk
Hi all, On 24th March (last Sunday) I received the following (for the first time): Subject: Cron test -x /usr/share/apt-cacher/apt-cacher-cleanup.pl && /usr/share/apt-cacher/apt-cacher-cleanup.pl Error: cannot open ../headers/debian_dists_wheezy_Release for locking: No such file or d

Re: apt-cacher-ng / autoclean

2017-12-31 Thread Hans
command (as usual) would do the trick. Problem solved, so easy! Thank you very much for your help (also all others, who helped, too)! Have a nice new years eve! Best regards Hans > On Sunday, 31 December 2017 11:24:30 CET Hans wrote: > > What must I do, if this is possible at all?

Re: apt-cacher-ng / autoclean

2017-12-31 Thread Dominique Dumont
On Sunday, 31 December 2017 11:24:30 CET Hans wrote: > What must I do, if this is possible at all? apt-cacher-ng provides a web page to perform maintenance. Open with your favorite browser the page: http://replace-with-your-cache-host:3142/acng-report.html For more details, see ht

Re: apt-cacher-ng / autoclean

2017-12-31 Thread basti
arly building a livefile system (kali-linux) and using apt-cacher- > ng, so that I do not need to download all the packages over and over again. > > But the local repo is growing more and more, and as I want to get rid of all > old packages, I wanted to use "apt-get autoclean"

apt-cacher-ng / autoclean

2017-12-31 Thread Hans
Hi folks, I am a little bit stuck. I am regularly building a livefile system (kali-linux) and using apt-cacher- ng, so that I do not need to download all the packages over and over again. But the local repo is growing more and more, and as I want to get rid of all old packages, I wanted to

Re: apt-cacher-ng related program and package suggestion

2017-06-16 Thread Dan Ritter
; > When you move from place to place, copy the appropriate one > > in to /etc/apt/sources.list and run apt-get update. > > > > -dsr- > > > Its even easier than that. Don't mess with the .list files just change the > file > > /etc/apt/apt.conf.

Re: apt-cacher-ng related program and package suggestion

2017-06-16 Thread Eduard Bloch
Hallo, * tuxderlinuxfuch...@gmail.com [Wed, Jun 14 2017, 09:57:50PM]: >Hello, > >I have a suggestion for a client program/package in combination with > apt-cacher-ng > >Consider following situation: > >User U_A has a laptop which he uses at home and

Re: apt-cacher-ng related program and package suggestion

2017-06-16 Thread Yvan Masson
> Another solution whichi does not depend of the server software (squid or > apt-cacher-ng) is to use this directive on the client: > Acquire::http::Proxy-Auto-Detect > > I could not find a good example in English, but here is one in French. > Obviously, man 5 apt.conf also

Re: apt-cacher-ng related program and package suggestion

2017-06-15 Thread David Wright
illustrating that the community doesn't see any need (IMO) to "make it happen". The tools are already around for scripting it. I can see a reason to run apt-cacher-ng at home if you watch broadcast TV and your ISP makes that assumption for their customers. But I can't see the

Re: apt-cacher-ng related program and package suggestion

2017-06-15 Thread tuxderlinuxfuch...@gmail.com
r long command lines like: > > apt-get -o Acquire::http::Proxy="http://192.168.1.19:3142/"; update && apt-get > -d -o Acquire::http::Proxy="http://192.168.1.19:3142/"; upgrade ; apt-get > upgrade > > Now you may well ask why I use such a crazy comman

Re: apt-cacher-ng related program and package suggestion

2017-06-15 Thread Bob Weber
s even easier than that. Don't mess with the .list files just change the file /etc/apt/apt.conf.d/000apt-cacher-ng-proxy according to the login. The contents of that file is just the address/port of the apt-cacher-ng server. Acquire::http::Proxy "http://172.16.0.1:3142/";;

Re: apt-cacher-ng related program and package suggestion

2017-06-15 Thread David Wright
e-work and upgrade-home, to wrap some rather long command lines like: apt-get -o Acquire::http::Proxy="http://192.168.1.19:3142/"; update && apt-get -d -o Acquire::http::Proxy="http://192.168.1.19:3142/"; upgrade ; apt-get upgrade Now you may well ask why I use such a crazy c

Re: apt-cacher-ng related program and package suggestion

2017-06-15 Thread Darac Marjal
On Thu, Jun 15, 2017 at 10:16:45AM -0400, Dan Ritter wrote: On Wed, Jun 14, 2017 at 09:57:50PM +0200, tuxderlinuxfuch...@gmail.com wrote: The shown way is not very comfortable. 1. it is annoying having to remember IP addresses 2. sed command is error prone (consider typos, etc.) 3. copying arou

Re: apt-cacher-ng related program and package suggestion

2017-06-15 Thread Dan Ritter
On Wed, Jun 14, 2017 at 09:57:50PM +0200, tuxderlinuxfuch...@gmail.com wrote: > The shown way is not very comfortable. > > 1. it is annoying having to remember IP addresses > 2. sed command is error prone (consider typos, etc.) > 3. copying around backup files is time consuming having to type in a

Re: apt-cacher-ng related program and package suggestion

2017-06-14 Thread Yvan Masson
Le 15/06/2017 à 04:51, Andy Smith a écrit : > Hello, > > On Wed, Jun 14, 2017 at 09:57:50PM +0200, tuxderlinuxfuch...@gmail.com wrote: >> apt-cacher-switch add :> >> apt-cacher-switch add :> >> >> Then at university: >> apt-cacher-switch enabl

Re: apt-cacher-ng related program and package suggestion

2017-06-14 Thread Andy Smith
Hello, On Wed, Jun 14, 2017 at 09:57:50PM +0200, tuxderlinuxfuch...@gmail.com wrote: > apt-cacher-switch add :> > apt-cacher-switch add :> > > Then at university: > apt-cacher-switch enable > > At home: > apt-cacher-switch enable > > In an environme

apt-cacher-ng related program and package suggestion

2017-06-14 Thread tuxderlinuxfuch...@gmail.com
Hello, I have a suggestion for a client program/package in combination with apt-cacher-ng Consider following situation: User U_A has a laptop which he uses at home and at university He has a poor internet connection in both places. So he set up apt-cacher-ng services in both places but they

apt-cacher-ng ""500 Bad redirection (path)" - some debugging info

2016-01-21 Thread Brian Candler
I have been observing intermittent "500 Bad redirection (path)" errors from apt-cacher-ng. This is something which appears to have been reported before but not resolved: e.g. https://lists.debian.org/debian-user/2015/03/msg00877.html However I have been able to capture some i

Re: apt-cacher-ng not expiring any more

2015-09-11 Thread David Wright
to > refresh it. > > This even worked with the backports (non-sloppy) version AFAICT. Yes, I can confirm that, having just downgraded to it first. Normally if there are problems I get an email: --✂ Subject: Anacron job 'cron.daily' on alum /etc/cron.daily/apt-cacher-ng:

Re: apt-cacher-ng not expiring any more

2015-09-11 Thread Wolfgang Karall
Hi David, On 15-09-11 11:06:58, David Wright wrote: > The wheezy-backports-sloppy version, 0.8.3-1~bpo7+1 (i386) worked > well, but only until Sept 5/6; on this occasion, the disppearing file > is debrep/dists/jessie/InRelease: > > Bringing index files up to date... > Checking/Updating debrep/dis

Re: apt-cacher-ng not expiring any more

2015-09-11 Thread David Wright
Quoting Eduard Bloch (e...@gmx.de): > * David Wright [Tue, Aug 25 2015, 11:00:41AM]: > > Running apt-cacher-ng on wheezy (with wheezy-backports), some missing > > files in the repository are making the expiration step fail. Here are > > the relevant lines from the log: >

Re: apt-cacher-ng not expiring any more

2015-08-30 Thread David Wright
Quoting Eduard Bloch (e...@gmx.de): > * David Wright [Tue, Aug 25 2015, 11:00:41AM]: > > Running apt-cacher-ng on wheezy (with wheezy-backports), some missing > > files in the repository are making the expiration step fail. Here are > > the relevant lines from the log: >

Re: apt-cacher-ng not expiring any more

2015-08-28 Thread Eduard Bloch
Hallo, * David Wright [Tue, Aug 25 2015, 11:00:41AM]: > Running apt-cacher-ng on wheezy (with wheezy-backports), some missing > files in the repository are making the expiration step fail. Here are > the relevant lines from the log: > > Checking/Updating > debrep/dists/jes

apt-cacher-ng not expiring any more

2015-08-25 Thread David Wright
Running apt-cacher-ng on wheezy (with wheezy-backports), some missing files in the repository are making the expiration step fail. Here are the relevant lines from the log: Checking/Updating debrep/dists/jessie-backports/main/binary-i386/Packages.bz2... 404 Not Found Checking/Updating debrep

Re: apt-cacher-ng and apt-get changelog result in http 500 error

2015-03-21 Thread David Wright
Quoting Bernd Naumann (be...@kr217.de): > I can't use `apt-get changelog` while have `apt-cacher-ng` running, > which is really annoying. > > I.e.: > ``` > apt-get changelog screen > Err Changelog for screen > (http://packages.debian.org/changelogs/pool

apt-cacher-ng and apt-get changelog result in http 500 error

2015-03-21 Thread Bernd Naumann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi at all, I can't use `apt-get changelog` while have `apt-cacher-ng` running, which is really annoying. I.e.: ``` apt-get changelog screen Err Changelog for screen (http://packages.debian.org/changelogs/pool/main/s/screen/screen_4.

Re: Solved. Re: Debian Wheezy 7.4 apt-cacher can only access from localhost

2014-03-19 Thread Scott Ferguson
5DU wrote: >>>>> I installed Debian Wheezy 7.4 on my Tower and my laptop. >>>>> I installed apt-cacher on the tower and it work when I use it from >>>>> localhost. >>>> >>> >>> It is commented out but that is supposed to

Solved. Re: Debian Wheezy 7.4 apt-cacher can only access from localhost

2014-03-19 Thread Rick McCombs AD5DU
and my laptop. >>>> I installed apt-cacher on the tower and it work when I use it from >>>> localhost. >>> >>> Do you mean "apt-cacher" or "apt-cacher-ng"?? >> >> apt-cacher. >>> >>>> I did not change the

Re: Debian Wheezy 7.4 apt-cacher can only access from localhost

2014-03-19 Thread Scott Ferguson
On 20/03/14 06:41, Rick McCombs AD5DU wrote: > On Wed, Mar 19, 2014 at 2:36 AM, Scott Ferguson > wrote: >> On 19/03/14 18:18, Rick McCombs AD5DU wrote: >>> I installed Debian Wheezy 7.4 on my Tower and my laptop. >>> I installed apt-cacher on the tower

Re: Debian Wheezy 7.4 apt-cacher can only access from localhost

2014-03-19 Thread Scott Ferguson
On 19/03/14 18:18, Rick McCombs AD5DU wrote: > I installed Debian Wheezy 7.4 on my Tower and my laptop. > I installed apt-cacher on the tower and it work when I use it from localhost. Do you mean "apt-cacher" or "apt-cacher-ng"?? > I did not change the default con

Debian Wheezy 7.4 apt-cacher can only access from localhost

2014-03-19 Thread Rick McCombs AD5DU
I installed Debian Wheezy 7.4 on my Tower and my laptop. I installed apt-cacher on the tower and it work when I use it from localhost. I did not change the default config, which allows connections from any host. I am behind a home gateway and I'm not going to forward the port from the ou

Re: Cannot import packages from debian iso to apt-cacher-ng

2014-01-23 Thread Anubhav Yadav
Can anyone please rectify me. I have got some weird doubts. I have set up a PXE boot server. It has a forder /srv/tftp and it has all the required files for PXE install. I have also installed apt-cacher-ng on that PXE server. And that PXE server is also acting as a local DHCP server. So now

Re: Cannot import packages from debian iso to apt-cacher-ng

2014-01-19 Thread Anubhav Yadav
> Then I recommend taking the easy way out. Just install one machine > using apt-cacher-ng as a proxy. Then all of the packages will be > ready for the next machine. Install the rest using the proxy and they > will use the already downloaded files. It is simple. It works. Was it

Re: Cannot import packages from debian iso to apt-cacher-ng

2014-01-19 Thread Bob Proulx
n how to completely boot the 4.3 GB > iso from the network, bypassing the internet mirrors completely. I > asked a question on the debian user lists and was greeted with many > solutions, among them was the apt-cacher-ng. I agree. apt-cacher-ng would be a good solution. That way you only

Cannot import packages from debian iso to apt-cacher-ng

2014-01-19 Thread Anubhav Yadav
with many solutions, among them was the apt-cacher-ng. So now I wanted to install 64 bit machines on the same lab, and the 32 bit server being the PXE server. So I installed the apt-cacher-ng package. All was set up. I mounted my iso file to a location, and created a symlink of the /pool folder to

apt-cacher-ng "500 Invalid header" after download some files

2013-07-12 Thread basti
Hello, I run the latest Version of apt-cacher-ng on my raspberry. All the clients in the network run fine expect the raspberry. I try to configure proxy via /etc/apt/apt.d/02proxy and also in the source.list without luck. I have also try to "regenerate" by remove all files, try a

mozilla.debian.net, apt-cacher, and Squeeze

2012-01-19 Thread Scott Ferguson
Dear tubers, please do my homework for me. It's beer o'clock on a warm Friday afternoon - I considered doing it myself but I'm too lazy. Boxen running Squeeze with Iceweasel and Icedove from mozilla.debian.net and a few other backports on networks with and apt-cacher

Re: apt-cacher-ng: Cache storage error while opening data file

2010-07-13 Thread T o n g
main Packages > 404 OK > > What's wrong? How should I fix it? My own mistake. Fixed it by following, How to install and configure Apt-Cacher NG http://acidborg.wordpress.com/2010/06/24/how-to-install-and-configure-apt- cacher-ng-on-ubuntu-server-10-04/ -- Tong

apt-cacher-ng: Cache storage error while opening data file

2010-07-13 Thread T o n g
ix it? Here is details: I installed apt-cacher-ng on my caching machine, and setup my client side file: $ cat /etc/apt/apt.conf.d/02proxy Acquire::http { Proxy "http://maroon:3142";; }; Then run aptitude update from the client. BTW, telnet maroon 314

Recovered!! (Re: Anyone Care to Critique my Apt Preferences? (was Re: apt-cacher as package rollback buffer))

2010-03-01 Thread Freeman
tp://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_rescue_with_the_dpkg_command > (Belatedly) that is good info about dpkg working well in emergencies because it is low level and can be used from rescue disk to a target system. I will probably use that lesson someday. 8O But I've

Re: Anyone Care to Critique my Apt Preferences? (was Re: apt-cacher as package rollback buffer)

2010-02-28 Thread Freeman
On Sat, Feb 27, 2010 at 09:22:34PM -0500, Celejar wrote: > On Sat, 27 Feb 2010 09:05:58 -0800 > Freeman wrote: > > > On Mon, Feb 22, 2010 at 11:01:44PM +0900, Osamu Aoki wrote: > > ... > > > > Osamu > > > > OMG! > > > > Osamu as in "Debian Reference Copyright 2007-2009 Osamu Aoki"? > > > > T

Re: Anyone Care to Critique my Apt Preferences? (was Re: apt-cacher as package rollback buffer)

2010-02-27 Thread Celejar
On Sat, 27 Feb 2010 09:05:58 -0800 Freeman wrote: > On Mon, Feb 22, 2010 at 11:01:44PM +0900, Osamu Aoki wrote: ... > > Osamu > > OMG! > > Osamu as in "Debian Reference Copyright 2007-2009 Osamu Aoki"? > > That was an undertaking. > > There is a great deal of clarity in the way the referenc

Re: Recovered!! (was Re: Anyone Care to Critique my Apt Preferences? (was Re: apt-cacher as package rollback buffer))

2010-02-27 Thread Tony Nelson
On 10-02-27 12:04:08, Freeman wrote: ... > Following the big xserver-org/mesa seg-fault/crash I was at grub > playing space invaders. > > 1.) I could reach the diversion to maintenance mode where it > recommended running e2fsck on mounted partitions, which I eventually > did, reluctantly. I wou

Re: Anyone Care to Critique my Apt Preferences? (was Re: apt-cacher as package rollback buffer)

2010-02-27 Thread Freeman
On Mon, Feb 22, 2010 at 11:01:44PM +0900, Osamu Aoki wrote: > Hi, > > On Sat, Feb 20, 2010 at 11:41:26AM -0800, Freeman wrote: > > > In which case, I pin the rolled back version to 1001. The preferences file > > can live on in moderation for the sake of learning. > > Or, just use "sudo dpkg -i o

Recovered!! (was Re: Anyone Care to Critique my Apt Preferences? (was Re: apt-cacher as package rollback buffer))

2010-02-27 Thread Freeman
On Mon, Feb 22, 2010 at 11:01:44PM +0900, Osamu Aoki wrote: > Hi, > > On Sat, Feb 20, 2010 at 11:41:26AM -0800, Freeman wrote: > > > > My ego may be the more delicately balanced but my system is the more > > > > precious. :) > > > > > > This squeeze testing cycle has been rough because of major t

Re: Anyone Care to Critique my Apt Preferences? (was Re: apt-cacher as package rollback buffer)

2010-02-22 Thread Osamu Aoki
Hi, On Sat, Feb 20, 2010 at 11:41:26AM -0800, Freeman wrote: > > > My ego may be the more delicately balanced but my system is the more > > > precious. :) > > > > This squeeze testing cycle has been rough because of major transitions. > > My recent upgrade in one of the multiboot setup from stabl

Re: Anyone Care to Critique my Apt Preferences? (was Re: apt-cacher as package rollback buffer)

2010-02-21 Thread Freeman
/experimental with a > > contingency for and emergency rollback a package to an obsolete package > > archived in my apt-cacher files. (My recent experience with the buggy > > xserver-xorg/mesa upgrade prompted this plan.) > > In short, I do not like people asking this kind of quest

Re: Anyone Care to Critique my Apt Preferences? (was Re: apt-cacher as package rollback buffer)

2010-02-20 Thread Freeman
but working packages. > So really I don't need a preferences file except for my emergency plan to rollback to a cached version of a package. (apt-cacher keeps its cache on a usb drive for my 3 machines. I am archiving versions by not cleaning it until the next release.) In that scenario,

Re: Anyone Care to Critique my Apt Preferences? (was Re: apt-cacher as package rollback buffer)

2010-02-20 Thread Lisi
On Saturday 20 February 2010 11:24:01 Andrei Popescu wrote: > On Sat,20.Feb.10, 18:41:35, Osamu Aoki wrote: > > FYI: > > The upcoming apt_preferences(5) manpage (e.g.: apt_0.7.26~exp2_i386.deb) > > states: > > > >Preferences are a strong power in the hands of a system > > administrator but

Re: Anyone Care to Critique my Apt Preferences? (was Re: apt-cacher as package rollback buffer)

2010-02-20 Thread Andrei Popescu
On Sat,20.Feb.10, 18:41:35, Osamu Aoki wrote: > FYI: > The upcoming apt_preferences(5) manpage (e.g.: apt_0.7.26~exp2_i386.deb) > states: > >Preferences are a strong power in the hands of a system administrator >but they can become also their biggest nightmare if used without ca

Re: Anyone Care to Critique my Apt Preferences? (was Re: apt-cacher as package rollback buffer)

2010-02-20 Thread Boyd Stephen Smith Jr.
In <20100220094135.gc12...@osamu.debian.net>, Osamu Aoki wrote: >Right >now, stable and testing have too much gap usually to be useful. That's not true. I mix stable/backports/testing/unstable/experimental. Roughly 78% of my systems is packages from stable with the remainder mostly from testin

  1   2   >