Results 1 to 5 of 5

Thread: Problems setting up apt-cacher

  1. #1
    Join Date
    Feb 2007
    Beans
    239
    Distro
    Ubuntu

    Problems setting up apt-cacher

    I followed these instructions.

    While the Apache server works, http://server/apt-cacher does not. I restarted apt-cacher on the server and verified it was running by calling `ps aux | grep cacher`.

    Is there a particular reason why apt-cacher is failing?

  2. #2
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Problems setting up apt-cacher

    Did you restart apache2 after installing apt-cacher?

    Code:
    sudo /etc/init.d/apache2 restart

  3. #3
    Join Date
    Feb 2007
    Beans
    239
    Distro
    Ubuntu

    Re: Problems setting up apt-cacher

    Yes.

    I found that the documentation is wrong because even though http://server/apt-cacher fails, as long as I point my client to the server apt-cacher is still responding to requests and caching packages locally at /var/cache/apt-cache/packages/.

  4. #4
    Join Date
    May 2008
    Location
    Cape Town, South Africa
    Beans
    Hidden!

    Re: Problems setting up apt-cacher

    Quote Originally Posted by AncientPC View Post
    I followed these instructions.

    While the Apache server works, http://server/apt-cacher does not.
    Try http://server:3142 , just change the number to the port of apt-cacher.
    That works for me. Also adding a /report to the end will give you the usage thus far.

    Hope this helps!

  5. #5
    Join Date
    Feb 2007
    Beans
    239
    Distro
    Ubuntu

    Re: Problems setting up apt-cacher

    Quote Originally Posted by MJWitter View Post
    Try http://server:3142 , just change the number to the port of apt-cacher.
    That works for me. Also adding a /report to the end will give you the usage thus far.

    Hope this helps!
    That works for me, thanks! I guess the documentation needs to be updated.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •