Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #263571
| From | Charles Curley <charlescurley@charlescurley.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: approx in debian 12 |
| Date | 2023-11-16 06:20 +0100 |
| Message-ID | <HACXf-5Lhm-1@gated-at.bofh.it> (permalink) |
| References | <HAzG1-5Jbn-3@gated-at.bofh.it> <HAAC5-5JId-1@gated-at.bofh.it> <HAC1b-5KJS-3@gated-at.bofh.it> |
| Organization | occasionally |
On Thu, 16 Nov 2023 04:11:37 +0000
"Russell L. Harris" <russell@rlharris.org> 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.service could not be found.
> root@mollydew:/home/rlh#
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 root root 165 Feb 12 2023 '/lib/systemd/system/approx@.service'
-rw-r--r-- 1 root root 167 Feb 12 2023 /lib/systemd/system/approx.socket
root@tsalmoth:~# systemctl status approx.service
Unit approx.service could not be found.
root@tsalmoth:~# systemctl status approx.socket
● approx.socket - caching proxy server for Debian archive files
Loaded: loaded (/lib/systemd/system/approx.socket; enabled; preset: enabled)
Active: active (listening) since Wed 2023-11-15 21:48:27 MST; 1min 47s ago
Docs: man:approx(8)
Listen: [::]:9999 (Stream)
Accepted: 0; Connected: 0;
Tasks: 0 (limit: 4469)
Memory: 8.0K
CPU: 642us
CGroup: /system.slice/approx.socket
Nov 15 21:48:27 tsalmoth systemd[1]: Listening on approx.socket - caching proxy server for Debian archive files.
root@tsalmoth:~#
So it seems to be running.
I made a minimal effort get get it to work with no success. You may
have better luck than I.
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/apt.conf.d/02proxy
Acquire::http::Proxy "http://aptcacher.localdomain:3142";
root@hawk:/etc/apt/apt.conf.d#
--
Does anybody read signatures any more?
https://charlescurley.com
https://charlescurley.com/blog/
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
approx in debian 12 "Russell L. Harris" <russell@rlharris.org> - 2023-11-16 02:50 +0100
Re: approx in debian 12 Charles Curley <charlescurley@charlescurley.com> - 2023-11-16 03:50 +0100
Re: approx in debian 12 "Russell L. Harris" <russell@rlharris.org> - 2023-11-16 05:20 +0100
Re: approx in debian 12 Charles Curley <charlescurley@charlescurley.com> - 2023-11-16 06:20 +0100
Re: approx in debian 12 Charles Curley <charlescurley@charlescurley.com> - 2023-11-16 06:30 +0100
Re: approx in debian 12 "Russell L. Harris" <russell@rlharris.org> - 2023-11-16 06:50 +0100
Re: approx in debian 12 Charles Curley <charlescurley@charlescurley.com> - 2023-11-16 07:00 +0100
Re: approx in debian 12 "Russell L. Harris" <russell@rlharris.org> - 2023-11-16 07:20 +0100
Re: approx in debian 12 Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2023-11-16 06:50 +0100
Re: approx in debian 12 "Russell L. Harris" <russell@rlharris.org> - 2023-11-16 07:30 +0100
Re: approx in debian 12 David <bouncingcats@gmail.com> - 2023-11-16 12:40 +0100
csiph-web