Wednesday, November 14, 2012

apt-cacher

root@dara:/home/tun# apt-get install apt-cacher
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following extra packages will be installed:
  libberkeleydb-perl libfilesys-df-perl libfreezethaw-perl
  libio-interface-perl libsys-syscall-perl libwww-curl-perl
Suggested packages:
  libcurl4-gnutls-dev
The following NEW packages will be installed:
  apt-cacher libberkeleydb-perl libfilesys-df-perl libfreezethaw-perl
  libio-interface-perl libsys-syscall-perl libwww-curl-perl
0 upgraded, 7 newly installed, 0 to remove and 69 not upgraded.
Need to get 364 kB of archives.
After this operation, 1,331 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://in.archive.ubuntu.com/ubuntu/ quantal/universe libwww-curl-perl amd64 4.15-1build2 [56.0 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu/ quantal/universe libfreezethaw-perl all 0.5001-1 [18.2 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu/ quantal/universe libio-interface-perl amd64 1.06-1build1 [24.9 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu/ quantal/universe libfilesys-df-perl amd64 0.92-4build1 [13.6 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu/ quantal/universe libsys-syscall-perl all 0.23-1 [9,700 B]
Get:6 http://in.archive.ubuntu.com/ubuntu/ quantal/universe apt-cacher all 1.7.4 [88.6 kB]
Get:7 http://in.archive.ubuntu.com/ubuntu/ quantal/main libberkeleydb-perl amd64 0.51-1 [153 kB]
Fetched 364 kB in 7s (51.2 kB/s)                                              
Preconfiguring packages ...
Selecting previously unselected package libwww-curl-perl.
(Reading database ... 226499 files and directories currently installed.)
Unpacking libwww-curl-perl (from .../libwww-curl-perl_4.15-1build2_amd64.deb) ...
Selecting previously unselected package libfreezethaw-perl.
Unpacking libfreezethaw-perl (from .../libfreezethaw-perl_0.5001-1_all.deb) ...
Selecting previously unselected package libio-interface-perl.
Unpacking libio-interface-perl (from .../libio-interface-perl_1.06-1build1_amd64.deb) ...
Selecting previously unselected package libfilesys-df-perl.
Unpacking libfilesys-df-perl (from .../libfilesys-df-perl_0.92-4build1_amd64.deb) ...
Selecting previously unselected package libsys-syscall-perl.
Unpacking libsys-syscall-perl (from .../libsys-syscall-perl_0.23-1_all.deb) ...
Selecting previously unselected package apt-cacher.
Unpacking apt-cacher (from .../apt-cacher_1.7.4_all.deb) ...
Selecting previously unselected package libberkeleydb-perl.
Unpacking libberkeleydb-perl (from .../libberkeleydb-perl_0.51-1_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up libwww-curl-perl (4.15-1build2) ...
Setting up libfreezethaw-perl (0.5001-1) ...
Setting up libio-interface-perl (1.06-1build1) ...
Setting up libfilesys-df-perl (0.92-4build1) ...
Setting up libsys-syscall-perl (0.23-1) ...
Setting up apt-cacher (1.7.4) ...
Running apt-cacher's install script...
Doing mkdir(/var/cache/apt-cacher, 0755)
Doing mkdir(/var/log/apt-cacher, 0755)
Info: /var/cache/apt-cacher/private missing. Doing mkdir(/var/cache/apt-cacher/private, 0755)
Warning: /var/cache/apt-cacher/private -- setting ownership to 33:33
Info: /var/cache/apt-cacher/import missing. Doing mkdir(/var/cache/apt-cacher/import, 0755)
Warning: /var/cache/apt-cacher/import -- setting ownership to 33:33
Info: /var/cache/apt-cacher/packages missing. Doing mkdir(/var/cache/apt-cacher/packages, 0755)
Warning: /var/cache/apt-cacher/packages -- setting ownership to 33:33
Info: /var/cache/apt-cacher/headers missing. Doing mkdir(/var/cache/apt-cacher/headers, 0755)
Warning: /var/cache/apt-cacher/headers -- setting ownership to 33:33
Warning: /var/log/apt-cacher/access.log missing. Creating.
Warning: /var/log/apt-cacher/access.log -- setting ownership to 33:33
Warning: /var/log/apt-cacher/error.log missing. Creating.
Warning: /var/log/apt-cacher/error.log -- setting ownership to 33:33
Manual configuration of apt-cacher startup selected. No changes made.

If you are operating legacy CGI mode, this is deprecated and you really should
consider changing to one of the daemon modes. See cgi_advise_to_use and
cgi_redirect in man apt-cacher(8) for help in redirecting your clients.

To change your choice, run

  dpkg-reconfigure apt-cacher

Starting Apt-Cacher: Not started (AUTOSTART not enabled in /etc/default/apt-cacher)
Setting up libberkeleydb-perl (0.51-1) ...
Processing triggers for ureadahead ...

No comments:

Post a Comment