Hi,
I'm interested in running apt-cacher in clearos, it's installed but I can't make it work.
Thats the result of terminal:
# service apt-cacher start
Redirecting to /bin/systemctl start apt-cacher.service
Failed to start apt-cacher.service: Unit not found.
Running user root connected via ssh.
Folder /var/log/apt-cacher-ng is empty, so no log to watch
Any help would be appreciated.
I'm interested in running apt-cacher in clearos, it's installed but I can't make it work.
Thats the result of terminal:
# service apt-cacher start
Redirecting to /bin/systemctl start apt-cacher.service
Failed to start apt-cacher.service: Unit not found.
Running user root connected via ssh.
Folder /var/log/apt-cacher-ng is empty, so no log to watch
Any help would be appreciated.
Share this post:
Responses (6)
-
Accepted Answer
-
Accepted Answer
Nick Howitt wrote:
Can I ask why you'd want apt-cacher? ClearOS uses yum rather than apt as a package manager.
apt-cacher works as a proxy for Debian (Ubuntu, raspbian, etc) packages, so the first time you download the package from official repos, then from clearos box.....
So this is useful when you have some raspberry pis behind clearos box
More info -
Accepted Answer
-
Accepted Answer
Nick Howitt wrote:
Have you searched out Centos instructions. I would expect them to work.
# service apt-cacher start
Redirecting to /bin/systemctl start apt-cacher.service
Failed to start apt-cacher.service: Unit not found.
I installed a Debian virtual machine with enough disk memory available and Installed on it. From zero to functional installation 30 mins. Diagnose and repair this problem is above my skills, and I know that this package is not popular so waiting that someone in the future with more skills than me can find a solution. -
Accepted Answer
Nick Howitt wrote:
What is the output of:updatedb && locate apt-cacher
# updatedb && locate apt-cacher
/etc/apt-cacher-ng
/etc/apt-cacher-ng/acng.conf
/etc/apt-cacher-ng/archlx_mirrors
/etc/apt-cacher-ng/backends_debian.default
/etc/apt-cacher-ng/backends_ubuntu.default
/etc/apt-cacher-ng/cygwin_mirrors
/etc/apt-cacher-ng/deb_mirrors.gz
/etc/apt-cacher-ng/debvol_mirrors.gz
/etc/apt-cacher-ng/delconfirm.html
/etc/apt-cacher-ng/epel_mirrors
/etc/apt-cacher-ng/fedora_mirrors
/etc/apt-cacher-ng/gentoo_mirrors.gz
/etc/apt-cacher-ng/maint.html
/etc/apt-cacher-ng/report.html
/etc/apt-cacher-ng/security.conf
/etc/apt-cacher-ng/sfnet_mirrors
/etc/apt-cacher-ng/sl_mirrors
/etc/apt-cacher-ng/style.css
/etc/apt-cacher-ng/ubuntu_mirrors
/etc/apt-cacher-ng/userinfo.html
/etc/cron.daily/apt-cacher-ng
/etc/default/apt-cacher-ng
/etc/logrotate.d/apt-cacher-ng
/usr/lib/systemd/system/apt-cacher-ng.service
/usr/libexec/apt-cacher-ng
/usr/libexec/apt-cacher-ng/acngfs
/usr/libexec/apt-cacher-ng/archlx_mirrors
/usr/libexec/apt-cacher-ng/cygwin_mirrors
/usr/libexec/apt-cacher-ng/deb_mirrors.gz
/usr/libexec/apt-cacher-ng/debvol_mirrors.gz
/usr/libexec/apt-cacher-ng/delconfirm.html
/usr/libexec/apt-cacher-ng/distkill.pl
/usr/libexec/apt-cacher-ng/epel_mirrors
/usr/libexec/apt-cacher-ng/expire-caller.pl
/usr/libexec/apt-cacher-ng/fedora_mirrors
/usr/libexec/apt-cacher-ng/gentoo_mirrors.gz
/usr/libexec/apt-cacher-ng/in.acng
/usr/libexec/apt-cacher-ng/maint.html
/usr/libexec/apt-cacher-ng/report.html
/usr/libexec/apt-cacher-ng/sfnet_mirrors
/usr/libexec/apt-cacher-ng/sl_mirrors
/usr/libexec/apt-cacher-ng/style.css
/usr/libexec/apt-cacher-ng/ubuntu_mirrors
/usr/libexec/apt-cacher-ng/urlencode-fixer.pl
/usr/libexec/apt-cacher-ng/userinfo.html
/usr/sbin/apt-cacher-ng
/usr/share/doc/apt-cacher-ng-3
/usr/share/doc/apt-cacher-ng-3/README
/usr/share/doc/apt-cacher-ng-3/TODO
/usr/share/man/man8/apt-cacher-ng.8.gz
/var/cache/apt-cacher-ng
/var/lib/apt-cacher-ng
/var/log/apt-cacher-ng
Don't know why is a -ng in the end as it was another package. Maybe I was confused whit another machine logged via ssh too and I finally came mixing them.Right now I have a lot of work and no time for this issue.
I typed "systemctl start apt-cacher-ng.service" and returns no error, so I assume it works ok. Just need to adjust configuration files. Thanks a lot about pointing my in the right direction (-ng)
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »