Apache Housekeeping

Discussion in 'Server Operation' started by chillifire, Dec 21, 2008.

  1. chillifire

    chillifire New Member

    Hi,

    I found that a directory called
    Code:
    /var/cache/apt/archives#
    is taking up over 1GB. It appears to contain mostly olf versions of application libraries, which may have become obsolete through upgrades. Can I safely delete them?
    Please advise anyone.

    Here an extract of the directory
    Code:
    5-snmp_5.2.4-2ubuntu5.1_i386.deb
    12K php5-snmp_5.2.4-2ubuntu5.3_i386.deb
    12K php5-snmp_5.2.4-2ubuntu5_i386.deb
    12K php5-snmp_5.2.6-2ubuntu4_i386.deb
    36K php5-sqlite_5.2.3-1ubuntu6.2_i386.deb
    36K php5-sqlite_5.2.3-1ubuntu6.3_i386.deb
    36K php5-sqlite_5.2.4-2ubuntu5.1_i386.deb
    36K php5-sqlite_5.2.4-2ubuntu5.3_i386.deb
    36K php5-sqlite_5.2.4-2ubuntu5_i386.deb
    36K php5-sqlite_5.2.6-2ubuntu4_i386.deb
    16K php5-tidy_5.2.3-1ubuntu6.2_i386.deb
    16K php5-tidy_5.2.3-1ubuntu6.3_i386.deb
    16K php5-tidy_5.2.4-2ubuntu5.1_i386.deb
    16K php5-tidy_5.2.4-2ubuntu5.3_i386.deb
    16K php5-tidy_5.2.4-2ubuntu5_i386.deb
    20K php5-tidy_5.2.6-2ubuntu4_i386.deb
    40K php5-xmlrpc_5.2.3-1ubuntu6.2_i386.deb
    40K php5-xmlrpc_5.2.3-1ubuntu6.3_i386.deb
    36K php5-xmlrpc_5.2.4-2ubuntu5.1_i386.deb
    36K php5-xmlrpc_5.2.4-2ubuntu5.3_i386.deb
    36K php5-xmlrpc_5.2.4-2ubuntu5_i386.deb
    36K php5-xmlrpc_5.2.6-2ubuntu4_i386.deb
    16K php5-xsl_5.2.3-1ubuntu6.2_i386.deb
    16K php5-xsl_5.2.3-1ubuntu6.3_i386.deb
    16K php5-xsl_5.2.4-2ubuntu5.1_i386.deb
    16K php5-xsl_5.2.4-2ubuntu5.3_i386.deb
    16K php5-xsl_5.2.4-2ubuntu5_i386.deb
    16K php5-xsl_5.2.6-2ubuntu4_i386.deb
    4.0K    php5_5.2.3-1ubuntu6.2_all.deb
    4.0K    php5_5.2.3-1ubuntu6.3_all.deb
    4.0K    php5_5.2.4-2ubuntu5.1_all.deb
    4.0K    php5_5.2.4-2ubuntu5.3_all.deb
    4.0K    php5_5.2.4-2ubuntu5_all.deb
    4.0K    php5_5.2.6-2ubuntu4_all.deb
    56K pkg-config_0.22-1_i386.deb
    1.1M    postfix_2.4.5-3ubuntu1_i386.deb
    1.2M    postfix_2.5.1-2ubuntu1.1_i386.deb
    1.2M    postfix_2.5.1-2ubuntu1.2_i386.deb
    1.2M    postfix_2.5.1-2ubuntu1_i386.deb
    1.2M    postfix_2.5.5-1_i386.deb
    136K    prelude-lml_0.9.10-1_i386.deb
    136K    prelude-lml_0.9.10.1-1_i386.deb
    144K    prelude-lml_0.9.12.2-2_i386.deb
    160K    prelude-manager_0.9.10-1_i386.deb
    192K    prelude-manager_0.9.13-1_i386.deb
    156K    prelude-manager_0.9.8-3_i386.deb
    212K    prewikka_0.9.11.4-1_all.deb
    236K    prewikka_0.9.13-1_all.deb
    248K    prewikka_0.9.14-2_all.deb
    144K    procmail_3.22-16ubuntu3_i386.deb
    228K    procps_1%3a3.2.7-5ubuntu2_i386.deb
    228K    procps_1%3a3.2.7-5ubuntu3_i386.deb
    228K    procps_1%3a3.2.7-9ubuntu2.1_i386.deb
    684K    proftpd-basic_1.3.1-12ubuntu1_i386.deb
    212K    proftpd-mod-ldap_1.3.1-12ubuntu1_i386.deb
    204K    proftpd-mod-mysql_1.3.1-12ubuntu1_i386.deb
    204K    proftpd-mod-pgsql_1.3.1-12ubuntu1_i386.deb
    772K    proftpd_1.3.0-24ubuntu1_i386.deb
    196K    proftpd_1.3.1-12ubuntu1_all.deb
    908K    proftpd_1.3.1-6ubuntu1_i386.deb
    96K pslib1_0.3.0-1_i386.deb
    96K pslib1_0.4.1-1ubuntu1_i386.deb
    60K psmisc_22.5-1_i386.deb
    60K psmisc_22.6-1_i386.deb
    200K    python-apt_0.7.3.1ubuntu4_i386.deb
    196K    python-apt_0.7.4ubuntu7_i386.deb
    192K    python-apt_0.7.7.1ubuntu4_i386.deb
    36K python-central_0.5.15ubuntu2_all.deb
    40K python-central_0.6.5ubuntu1_all.deb
    44K python-central_0.6.7ubuntu0.1_all.deb
    44K python-central_0.6.7ubuntu1_all.deb
    200K    python-cheetah_2.0.1-1_i386.deb
    200K    python-cheetah_2.0.1-2_i386.deb
    224K    python-cheetah_2.0~rc8-1_i386.deb
    24K python-gnupginterface_0.3.2-9ubuntu1_all.deb
    16K python-minimal_2.5.2-0ubuntu1_all.deb
    16K python-minimal_2.5.2-1ubuntu1_all.deb
    92K python-openssl_0.7-2_i386.deb
    16K python-pam_0.4.2-12ubuntu2_i386.deb
    192K    python-prelude_0.9.14-2_i386.deb
    368K    python-prelude_0.9.16.2-2_i386.deb
    368K    python-prelude_0.9.17.2-1ubuntu1_i386.deb
    48K python-preludedb_0.9.12-2_i386.deb
    80K python-preludedb_0.9.13-2_i386.deb
    80K python-preludedb_0.9.14.1-2_i386.deb
    12K python-pyopenssl_0.7-2_all.deb
    44K python-serial_2.3-1_all.deb
    28K python-support_0.6.4ubuntu1_all.deb
    28K python-support_0.7.5ubuntu1_all.deb
    28K python-support_0.8.4_all.deb
    32K python-twisted-bin_8.1.0-4_i386.deb
    904K    python-twisted-core_8.1.0-4_all.deb
    56K python-twisted-names_8.1.0-1_all.deb
    136K    python-zopeinterface_3.3.1-7build1_i386.deb
    1.2M    python2.5-minimal_2.5.1-5ubuntu5.1_i386.deb
    1.2M    python2.5-minimal_2.5.2-11.1ubuntu1_i386.deb
    1.2M    python2.5-minimal_2.5.2-2ubuntu4.1_i386.deb
    1.2M    python2.5-minimal_2.5.2-2ubuntu4_i386.deb
    2.8M    python2.5_2.5.1-5ubuntu5.1_i386.deb
    2.8M    python2.5_2.5.2-11.1ubuntu1_i386.deb
    2.8M    python2.5_2.5.2-2ubuntu4.1_i386.deb
    2.8M    python2.5_2.5.2-2ubuntu4_i386.deb
    144K    python_2.5.2-0ubuntu1_all.deb
    144K    python_2.5.2-1ubuntu1_all.deb
    420K    quota_3.14-8_i386.deb
    452K    quota_3.15-6_i386.deb
    460K    quota_3.16-2_i386.deb
    208K    refblas3-dev_1.2-8ubuntu2_i386.deb
    212K    refblas3_1.2-8ubuntu2_i386.deb
    3.4M    samba-common_2%3a3.2.3-1ubuntu3.3_i386.deb
    2.8M    samba-common_3.0.28a-1ubuntu4.5_i386.deb
    2.8M    samba-common_3.0.28a-1ubuntu4_i386.deb
    148K    sasl2-bin_2.1.22.dfsg1-18ubuntu2_i386.deb
    152K    sasl2-bin_2.1.22.dfsg1-21ubuntu2_i386.deb
    128K    sasl2-bin_2.1.22.dfsg1-9ubuntu2_i386.deb
    204K    sed_4.1.5-5_i386.deb
    204K    sed_4.1.5-8_i386.deb
    112K    sharutils_1%3a4.6.3-1build1_i386.deb
    160K    shtool_2.0.7-1_all.deb
    160K    shtool_2.0.7-3_all.deb
    200K    smarty_2.6.18-1ubuntu2.1_all.deb
    200K    smarty_2.6.18-1ubuntu2_all.deb
    200K    smarty_2.6.18-1ubuntu3_all.deb
    204K    smarty_2.6.19-1ubuntu1_all.deb
    256K    snort-common-libraries_2.7.0-14_i386.deb
    244K    snort-common-libraries_2.7.0-19ubuntu1_i386.deb
    256K    snort-common-libraries_2.7.0-6_i386.deb
    136K    snort-common_2.7.0-14_all.deb
    148K    snort-common_2.7.0-19ubuntu1_all.deb
    136K    snort-common_2.7.0-6_all.deb
    392K    snort-rules-default_2.7.0-14_all.deb
    396K    snort-rules-default_2.7.0-19ubuntu1_all.deb
    388K    snort-rules-default_2.7.0-6_all.deb
    456K    snort_2.7.0-14_i386.deb
    460K    snort_2.7.0-19ubuntu1_i386.deb
    460K    snort_2.7.0-6_i386.deb
    4.0K    ssh_1%3a4.6p1-5ubuntu0.1_all.deb
    4.0K    ssh_1%3a4.6p1-5ubuntu0.2_all.deb
    4.0K    ssh_1%3a4.7p1-8ubuntu1.2_all.deb
    4.0K    ssh_1%3a4.7p1-8ubuntu1_all.deb
    4.0K    ssh_1%3a5.1p1-3ubuntu1_all.deb
    12K ssl-cert_1.0.14-0ubuntu2_all.deb
    12K ssl-cert_1.0.14_all.deb
    16K ssl-cert_1.0.23_all.deb
    4.0K    startup-tasks_0.3.9-2_i386.deb
    4.0K    startup-tasks_0.3.9-8_i386.deb
    244K    subversion_1.4.6dfsg1-2ubuntu1_i386.deb
    340K    subversion_1.5.1dfsg1-1ubuntu2_i386.deb
    176K    sudo_1.6.9p10-1ubuntu3.1_i386.deb
    176K    sudo_1.6.9p10-1ubuntu3.2_i386.deb
    176K    sudo_1.6.9p10-1ubuntu3.3_i386.deb
    180K    sudo_1.6.9p17-1ubuntu2_i386.deb
    72K sysklogd_1.5-1ubuntu1_i386.deb
    72K sysklogd_1.5-2ubuntu6_i386.deb
    4.0K    system-services_0.3.9-2_i386.deb
    4.0K    system-services_0.3.9-8_i386.deb
    64K sysv-rc_2.86.ds1-14.1ubuntu45_all.deb
    72K sysv-rc_2.86.ds1-59ubuntu13_all.deb
    80K sysvinit-utils_2.86.ds1-59ubuntu13_i386.deb
    72K sysvutils_2.86.ds1-14.1ubuntu45_i386.deb
    4.0K    sysvutils_2.86.ds1-59ubuntu13_all.deb
    328K    tar_1.19-3_i386.deb
    336K    tar_1.20-1_i386.deb
    40K tasksel-data_2.70ubuntu5_all.deb
    44K tasksel-data_2.73ubuntu11_all.deb
    68K tasksel_2.70ubuntu5_all.deb
    68K tasksel_2.73ubuntu11_all.deb
    1.2M    tcl8.4_8.4.15-1build1_i386.deb
    1.2M    tcl8.4_8.4.16-4ubuntu1_i386.deb
    1.2M    tcl8.4_8.4.19-2_i386.deb
    80K tcpd_7.6.q-15_i386.deb
    304K    tcpdump_3.9.8-2_i386.deb
    308K    tcpdump_3.9.8-4_i386.deb
    72K telnet_0.17-35ubuntu1_i386.deb
    6.7M    tikiwiki_1.9.7+dfsg-2ubuntu1.1_all.deb
    1.3M    ttf-dejavu-core_2.19-1ubuntu3_all.deb
    1.3M    ttf-dejavu-core_2.23-1_all.deb
    1.4M    ttf-dejavu-core_2.25-1_all.deb
    2.6M    ttf-dejavu-extra_2.19-1ubuntu3_all.deb
    2.8M    ttf-dejavu-extra_2.23-1_all.deb
    2.8M    ttf-dejavu-extra_2.25-1_all.deb
    24K ttf-dejavu_2.19-1ubuntu3_all.deb
    4.0K    ttf-dejavu_2.23-1_all.deb
    4.0K    ttf-dejavu_2.25-1_all.deb
    640K    tzdata_2007j-0ubuntu0.7.10_all.deb
    644K    tzdata_2007k-0ubuntu0.7.10.1_all.deb
    640K    tzdata_2007k-0ubuntu0.7.10_all.deb
    644K    tzdata_2008a-0ubuntu0.7.10_all.deb
    648K    tzdata_2008b-1ubuntu1_all.deb
    648K    tzdata_2008e-1ubuntu0.8.04_all.deb
    648K    tzdata_2008g-0ubuntu0.8.04_all.deb
    656K    tzdata_2008h-2ubuntu1_all.deb
    12K ubuntu-keyring_2008.03.04_all.deb
    68K ucf_3.0010_all.deb
    64K ucf_3.001_all.deb
    68K ucf_3.005_all.deb
    288K    udev_113-0ubuntu17_i386.deb
    260K    udev_117-8_i386.deb
    264K    udev_124-9_i386.deb
    156K    unzip_5.52-10ubuntu1.1_i386.deb
    156K    unzip_5.52-10ubuntu1_i386.deb
    156K    unzip_5.52-10ubuntu2_i386.deb
    156K    unzip_5.52-11ubuntu1_i386.deb
    12K update-inetd_4.27-0.6_all.deb
    16K update-inetd_4.30_all.deb
    32K update-manager-core_1%3a0.81.3_i386.deb
    36K update-manager-core_1%3a0.87.24_i386.deb
    40K update-manager-core_1%3a0.87.27_i386.deb
    40K update-manager-core_1%3a0.87.30_i386.deb
    228K    update-manager-core_1%3a0.93.34_i386.deb
    88K upstart-compat-sysv_0.3.9-2_i386.deb
    96K upstart-compat-sysv_0.3.9-8_i386.deb
    20K upstart-logd_0.3.9-2_i386.deb
    24K upstart-logd_0.3.9-8_i386.deb
    168K    upstart_0.3.9-2_i386.deb
    176K    upstart_0.3.9-8_i386.deb
    112K    usbutils_0.73-5ubuntu2_i386.deb
    164K    usbutils_0.73-8ubuntu3_i386.deb
    36K util-linux-locales_2.13.1-5ubuntu2_all.deb
    36K util-linux-locales_2.14-1ubuntu2_all.deb
    436K    util-linux_2.13.1-5ubuntu2_i386.deb
    444K    util-linux_2.14-1ubuntu2_i386.deb
    44K uuid-runtime_1.40.8-2ubuntu2_i386.deb
    48K uuid-runtime_1.41.3-1ubuntu1_i386.deb
    192K    vim-common_1%3a7.1-138+1ubuntu3_i386.deb
    200K    vim-common_1%3a7.1.314-3ubuntu3_i386.deb
    5.3M    vim-runtime_1%3a7.1-138+1ubuntu3_all.deb
    5.2M    vim-runtime_1%3a7.1.314-3ubuntu3_all.deb
    320K    vim-tiny_1%3a7.1-138+1ubuntu3_i386.deb
    336K    vim-tiny_1%3a7.1.314-3ubuntu3_i386.deb
    796K    vim_1%3a7.1-138+1ubuntu3_i386.deb
    832K    vim_1%3a7.1.314-3ubuntu3_i386.deb
    80K volumeid_113-0ubuntu17_i386.deb
    340K    webalizer_2.01.10-32.1_i386.deb
    344K    webalizer_2.01.10-32.2_i386.deb
    340K    webalizer_2.01.10-32_i386.deb
    240K    wget_1.10.2-3ubuntu1_i386.deb
    240K    wget_1.11.4-1ubuntu1_i386.deb
    36K whiptail_0.52.2-11.2ubuntu1_i386.deb
    36K whiptail_0.52.2-11.3ubuntu1_i386.deb
    116K    wireless-tools_29-1ubuntu2_i386.deb
    244K    wpasupplicant_0.6.0+0.5.8-0ubuntu2_i386.deb
    308K    wpasupplicant_0.6.4-2_i386.deb
    356K    x11-common_1%3a7.2-5ubuntu13_i386.deb
    360K    x11-common_1%3a7.3+10ubuntu10.2_i386.deb
    360K    x11-common_1%3a7.3+10ubuntu10_i386.deb
    360K    x11-common_1%3a7.4~5ubuntu3_all.deb
    56K xdg-utils_1.0.2-2_all.deb
    60K xdg-utils_1.0.2-6_all.deb
    340K    xkb-data_1.1~cvs.20080104.1-1ubuntu6_all.deb
    360K    xkb-data_1.3-2ubuntu4.4_all.deb
    4.0K    zend-framework_1.5.1-0ubuntu1_all.deb
    108K    zip_2.32-1_i386.deb
    164K    zlib1g-dev_1%3a1.2.3.3.dfsg-12ubuntu1_i386.deb
    164K    zlib1g-dev_1%3a1.2.3.3.dfsg-5ubuntu2_i386.deb
    164K    zlib1g-dev_1%3a1.2.3.3.dfsg-7ubuntu1_i386.deb
    80K zlib1g_1%3a1.2.3.3.dfsg-12ubuntu1_i386.deb
    80K zlib1g_1%3a1.2.3.3.dfsg-7ubuntu1_i386.deb
    
     
  2. Norman

    Norman Member

    Run "apt-get clean" to remove all old deb files safely.
     

Share This Page