Community Forum

ivanjn
ivanjn
Offline
Resolved
0 votes
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.
Thursday, December 07 2017, 07:50 PM
Share this post:
Responses (6)
  • Accepted Answer

    Saturday, December 09 2017, 07:38 PM - #Permalink
    Resolved
    0 votes
    Trying to follow what you've done, if you have installed apt-cacher-ng from one of the epel mirrors, then, looking at the rpm, the command to start it is:
    systemctl start apt-cacher-ng.service
    Note the addition of the "-ng" to the service name.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, December 09 2017, 07:27 PM - #Permalink
    Resolved
    0 votes
    What is the output of:
    updatedb && locate apt-cacher
    The reply is currently minimized Show
  • Accepted Answer

    ivanjn
    ivanjn
    Offline
    Saturday, December 09 2017, 07:10 PM - #Permalink
    Resolved
    0 votes
    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.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, December 08 2017, 02:12 PM - #Permalink
    Resolved
    0 votes
    Have you searched out Centos instructions. I would expect them to work.
    The reply is currently minimized Show
  • Accepted Answer

    ivanjn
    ivanjn
    Offline
    Thursday, December 07 2017, 11:04 PM - #Permalink
    Resolved
    0 votes
    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
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, December 07 2017, 09:01 PM - #Permalink
    Resolved
    0 votes
    Can I ask why you'd want apt-cacher? ClearOS uses yum rather than apt as a package manager.
    The reply is currently minimized Show
Your Reply