Category Archives: Debian

Spostare la cache di apt

Può capitare che il mount point di “/var” sia troppo piccolo e non si riesca più a scaricare i pacchetti debian.

Una soluzione è quella di spostare la directory su un altro mount-point.

Verificare l’attuale configurazione:

[root] apt-config dump | grep “^Dir::Cache”

Dir::Cache “var/cache/apt/”;
Dir::Cache::archives “archives/”;
Dir::Cache::srcpkgcache “srcpkgcache.bin”;
Dir::Cache::pkgcache “pkgcache.bin”;

Cancellare i pacchetti installati più vecchi:
[root] apt-get autoclean

Spostare il repository:
[root] mv /var/cache/apt /usr/local/
[root] mkdir /usr/local/apt/partial

Cambiare la configurazione di apt:

[root] echo “Dir::Cache “/usr/local/apt”;” >> /etc/apt/apt.conf
[root] echo “Dir::Cache::Archives “/usr/local/apt/archives”;” >> /etc/apt/apt.conf

Verificare la configurazione:
[root] cat /etc/apt/apt.conf
Dir::Cache “/usr/local/apt”;
Dir::Cache::Archives “/usr/local/apt/archives”;

[root] apt-config dump | grep “^Dir::Cache”

Aggiornare la cache:
[root] apt-get update

Installare gli aggiornamenti:
[root] apt-get upgrade

WebHarvest – Debian Package

WebHarvest is a Web data extraction (web data mining, web scraping) tool developed in Java. It leverages well proved XML and text processing techologies in order to easely extract useful data from arbitrary web pages.

I have created the debian package for installing it more simply on Linux system. You can download the debian package webharvest-1.0_all.deb on filehosting.org.

PowerISO Debian Package

PowerISO is a powerful CD/DVD image file processing tool, which allows you to open, extract, create, edit, compress, encrypt, split and convert ISO files, and mount these files with internal virtual drive. It can process almost all CD-ROM image files including ISO and BIN. It supports almost all CD/DVD-ROM image file formats(ISO, BIN, NRG, CDI,  DAA, etc.).

Note: DAA (Direct-Access-Archive) is an advanced format for image file, which supports some advanced features, such as compression, password protection, and splitting to multiple volumes. It can be handled directly just like other formats, such as ISO, BIN, etc.

You can download the Debian package poweriso-1.3_i386.deb from filehosting.org.