Re: approx in debian 12

2023-11-18 Thread Andrew M.A. Cater
On Fri, Nov 17, 2023 at 08:28:51PM +, Russell L. Harris wrote: > On Fri, Nov 17, 2023 at 02:02:10PM -0500, Greg Wooledge wrote: > > On Fri, Nov 17, 2023 at 05:18:02PM +, Russell L. Harris wrote: > > > Should we report an error regarding the approx man page which states: > > > > Whatever r

Re: approx in debian 12

2023-11-17 Thread Russell L. Harris
On Fri, Nov 17, 2023 at 02:02:10PM -0500, Greg Wooledge wrote: On Fri, Nov 17, 2023 at 05:18:02PM +, Russell L. Harris wrote: Should we report an error regarding the approx man page which states: I would not bother filing any cosmetic bug reports against a 12-year-old upstream man page.

Re: approx in debian 12

2023-11-17 Thread Greg Wooledge
On Fri, Nov 17, 2023 at 05:18:02PM +, Russell L. Harris wrote: > Should we report an error regarding the approx man page which states: > > USEAGE > approx is invoked by inetd(8) I assume you're looking at the approx(8) man page as shown here:

Re: approx in debian 12

2023-11-17 Thread Russell L. Harris
On Fri, Nov 17, 2023 at 11:57:44AM +0300, Reco wrote: Hi. On Fri, Nov 17, 2023 at 08:03:15AM +, Russell L. Harris wrote: On Fri, Nov 17, 2023 at 10:34:14AM +0300, Reco wrote: > Looks good. What about this one: > > apt update -o Acquire::http::Proxy=http://localhost: root@mollyd

Re: approx in debian 12

2023-11-17 Thread Reco
Hi. On Fri, Nov 17, 2023 at 08:03:15AM +, Russell L. Harris wrote: > On Fri, Nov 17, 2023 at 10:34:14AM +0300, Reco wrote: > > Looks good. What about this one: > > > > apt update -o Acquire::http::Proxy=http://localhost: > > root@mollydew:/etc/approx# apt update -o > Acquire::ht

Re: approx in debian 12

2023-11-17 Thread Russell L. Harris
On Fri, Nov 17, 2023 at 10:34:14AM +0300, Reco wrote: Looks good. What about this one: apt update -o Acquire::http::Proxy=http://localhost: root@mollydew:/etc/approx# apt update -o Acquire::http::Proxy=http://localhost: Ign:1 http://security.debian.org/debian-security bookworm-securit

Re: approx in debian 12

2023-11-16 Thread Reco
On Fri, Nov 17, 2023 at 07:25:23AM +, Russell L. Harris wrote: > On Fri, Nov 17, 2023 at 09:56:07AM +0300, Reco wrote: > > OK. And what happens if you execute this on a approx server: > > > > curl -x http://localhost: -v > > http://ftp.debian.org/debian/dists/stable/Release >/dev/null >

Re: approx in debian 12

2023-11-16 Thread Russell L. Harris
On Fri, Nov 17, 2023 at 09:56:07AM +0300, Reco wrote: OK. And what happens if you execute this on a approx server: curl -x http://localhost: -v http://ftp.debian.org/debian/dists/stable/Release >/dev/null root@mollydew:/etc/approx# curl -x http://localhost: -v http://ftp.debian.org/d

Re: approx in debian 12

2023-11-16 Thread Reco
On Fri, Nov 17, 2023 at 06:48:37AM +, Russell L. Harris wrote: > > > debian http://fpt.debian.org/debian > > > > Is this a typo? It should be (ftp, not fpt) > Yes; a typo. OK. And what happens if you execute this on a approx server: curl -x http://localhost: -v http://ftp.debian.org/d

Re: approx in debian 12

2023-11-16 Thread Russell L. Harris
debian http://fpt.debian.org/debian Is this a typo? It should be (ftp, not fpt) Yes; a typo. "journalctl | grep approx" on approx server should show something that's related to the problem. root@mollydew:/home/rlh# journalctl | grep approx Nov 14 07:54:27 mollydew groupadd[4819]: group ad

Re: approx in debian 12

2023-11-16 Thread Reco
Hi. On Fri, Nov 17, 2023 at 05:54:45AM +, Russell L. Harris wrote: > Both the target machine (192.168.1.25) and the approx server > (192.168.1.30) are in my LAN. The approx server is a fresh install of > Debian 12. > > The approx.conf file has only two lines uncommented (should I add

Re: approx in debian 12

2023-11-16 Thread Russell L. Harris
On Thu, Nov 16, 2023 at 01:08:50PM +0300, Reco wrote: What you have is approx.socket unit, which causes systemd to listen on tcp:. On each incoming connection "approx@:-:.service" is started. That service is only used to serve that particular connection, and is terminated after. Thus, there'

Re: approx in debian 12

2023-11-16 Thread Greg Wooledge
On Thu, Nov 16, 2023 at 10:26:48AM -0700, Charles Curley wrote: > Multiple instances, eh? That's a part of systemd I know nothing about. > On my test machine, while approx is enabled, I have no instances > actually running, which leads me to think that systemd launches an > instance of approx when

Re: approx in debian 12

2023-11-16 Thread Charles Curley
On Thu, 16 Nov 2023 06:53:16 +0100 Kamil Jońca wrote: > Charles Curley writes: > > [...] > [...] > > > > Well, that's weird. I installed approx on a Debian 12 machine, and > > got the same results you did. However: > > > > root@tsalmoth:~# ll /lib/systemd/system/approx* > > -rw-r--r-- 1 r

Re: approx in debian 12

2023-11-16 Thread David
On Thu, 16 Nov 2023 at 04:12, Russell L. Harris wrote: > On Wed, Nov 15, 2023 at 07:41:03PM -0700, Charles Curley wrote: > >On Thu, 16 Nov 2023 01:39:32 + "Russell L. Harris" > > wrote: > >> I installed approx in a Debian 12 system, but when I attempt to > >> restart it the error message app

Re: approx in debian 12

2023-11-16 Thread Reco
Hi. On Thu, Nov 16, 2023 at 07:02:39AM +, Russell L. Harris wrote: > On Thu, Nov 16, 2023 at 07:14:04AM +0100, Kamil Jo?ca wrote: > > Kamil Jo?ca writes: > > > > > Charles Curley writes: > > > > > > > On Thu, 16 Nov 2023 04:11:37 + > > > > "Russell L. Harris" wrote: > > > > >

Re: approx in debian 12

2023-11-15 Thread Russell L. Harris
On Thu, Nov 16, 2023 at 07:14:04AM +0100, Kamil Jo?ca wrote: Kamil Jo?ca writes: Charles Curley writes: On Thu, 16 Nov 2023 04:11:37 + "Russell L. Harris" wrote: root@mollydew:/home/rlh# systemctl daemon-reload root@mollydew:/home/rlh# systemctl restart approx Failed to restart appro

Re: approx in debian 12

2023-11-15 Thread Kamil Jońca
Kamil Jońca writes: > Charles Curley writes: > >> On Thu, 16 Nov 2023 04:11:37 + >> "Russell L. Harris" wrote: >> >>> root@mollydew:/home/rlh# systemctl daemon-reload >>> root@mollydew:/home/rlh# systemctl restart approx >>> Failed to restart approx.service: Unit approx.service not found. >

Re: approx in debian 12

2023-11-15 Thread Russell L. Harris
On Thu, Nov 16, 2023 at 07:48:44AM +0200, Anssi Saari wrote: "Russell L. Harris" writes: root@mollydew:/home/rlh# systemctl daemon-reload root@mollydew:/home/rlh# systemctl restart approx Failed to restart approx.service: Unit approx.service not found. root@mollydew:/home/rlh# systemctl status

Re: approx in debian 12

2023-11-15 Thread Russell L. Harris
On Wed, Nov 15, 2023 at 10:55:51PM -0700, Charles Curley wrote: Do you really need approx if you have only the one machine? I install Debian for friends. They are amazed at how fast their old Windows machines run with Debian. And approx has been a time saver for me. In the network mirror con

Re: approx in debian 12

2023-11-15 Thread Kamil Jońca
Charles Curley writes: > On Thu, 16 Nov 2023 04:11:37 + > "Russell L. Harris" wrote: > >> root@mollydew:/home/rlh# systemctl daemon-reload >> root@mollydew:/home/rlh# systemctl restart approx >> Failed to restart approx.service: Unit approx.service not found. >> root@mollydew:/home/rlh# syst

Re: approx in debian 12

2023-11-15 Thread Charles Curley
On Thu, 16 Nov 2023 05:42:57 + "Russell L. Harris" wrote: > Thanks for checking, Charles. My schedule does not allow me to work > on it until tomorrow evening. However, can auto-apt-proxy be > specified during mirror selection with a netinstall? That I do not know. But the default port for

Re: approx in debian 12

2023-11-15 Thread Anssi Saari
"Russell L. Harris" writes: > root@mollydew:/home/rlh# systemctl daemon-reload > root@mollydew:/home/rlh# systemctl restart approx > Failed to restart approx.service: Unit approx.service not found. > root@mollydew:/home/rlh# systemctl status approx > Unit approx.service could not be found. > root

Re: approx in debian 12

2023-11-15 Thread Russell L. Harris
On Wed, Nov 15, 2023 at 10:23:45PM -0700, Charles Curley wrote: On Wed, 15 Nov 2023 22:18:09 -0700 Charles Curley wrote: One thing I didn't like is that approx appears to require fiddling with sources.list. apt-cacher-ng simply requires setting a proxy value, in its own file in /etc/apt/apt.co

Re: approx in debian 12

2023-11-15 Thread Charles Curley
On Wed, 15 Nov 2023 22:18:09 -0700 Charles Curley wrote: > One thing I didn't like is that approx appears to require fiddling > with sources.list. apt-cacher-ng simply requires setting a proxy > value, in its own file in /etc/apt/apt.conf.d. E.g.: > > root@hawk:/etc/apt/apt.conf.d# cat /etc/apt/

Re: approx in debian 12

2023-11-15 Thread Charles Curley
On Thu, 16 Nov 2023 04:11:37 + "Russell L. Harris" wrote: > root@mollydew:/home/rlh# systemctl daemon-reload > root@mollydew:/home/rlh# systemctl restart approx > Failed to restart approx.service: Unit approx.service not found. > root@mollydew:/home/rlh# systemctl status approx > Unit approx.

Re: approx in debian 12

2023-11-15 Thread Russell L. Harris
On Wed, Nov 15, 2023 at 07:41:03PM -0700, Charles Curley wrote: On Thu, 16 Nov 2023 01:39:32 + "Russell L. Harris" wrote: I installed approx in a Debian 12 system, but when I attempt to restart it the error message appears "Unit approx.service not loaded." Please show us a complete copy

Re: approx in debian 12

2023-11-15 Thread Charles Curley
On Thu, 16 Nov 2023 01:39:32 + "Russell L. Harris" wrote: > I installed approx in a Debian 12 system, but when I attempt to > restart it the error message appears "Unit approx.service not loaded." Please show us a complete copy and paste of the transaction, from the initial prompt and the co

approx in debian 12

2023-11-15 Thread Russell L. Harris
I installed approx in a Debian 12 system, but when I attempt to restart it the error message appears "Unit approx.service not loaded." The approx man page (dated May 2011) says that approx is invoked by inetd, but I think that in Debian 12 approx is invoked by systemctl or systemd. synaptic indi