Posts tagged ‘pacman’

Appello agli arcieri: usiamo i mirror!

Approfitto del fatto di essere aggregato su archlinux.it e su archers.netsons.org per ribadire un piccolo ma importante appello.

Non sarà certamente passata inosservata la limitazione applicata a ftp.archlinux.org, specialmente a chi usa questo come indirizzo per i repository di pacman.

A causa di un aumento sconsiderato del traffico in uscita è stato infatti imposto un limite di download a chi si collega a questo mirror: attualmente questa limitazione è pari a 50kB/s.

Il comportamento corretto consiste nell’usare uno dei numerosi mirror sparsi in giro per il globo: i mirror servono proprio a non “affaticare” il server centrale.

Su archlinux.org ieri è apparsa una news che invita gli utenti a controllare il proprio /etc/pacman.conf per verificare che venga utilizzato un mirror e non il server ufficiale.

Una lista dei mirror disponibili e le istruzioni per cambiare mirror si trovano a questa pagina nel wiki.

(ri)compilazioni più veloci con ccache

Di recente ho reinstallato arch e mi è venuto in mente di pubblicizzare un po’ ccache.

Come riportato nella pagina del wiki, ccache è una cache per gcc.

In pratica ogni volta che si compila un programma vengono salvati i passaggi intermedi della compilazione: dalle ricompilazioni sucessive ccache attinge dalla cache.

Per chi compila abbastanza (magari con aurbuild/makepkg) è una vera manna, visto che in questo modo le ricompilazioni sono molto più veloci.

makepkg integra già il supporto a ccache, per utilizzarlo basta installare ccache con pacman:

pacman -S ccache

Pactools

pactools is a set of tools written by archlinux users to improve pacman.

I collected them in one single package, now including:

Tools installed:

 *  pt-pacman-cage
       by: ody
       A script to keep the pacman db in a contiguous as possible
       place on your hd to make reading it quicker.
       WEB: http://bbs.archlinux.org/viewtopic.php?t=20385

 *   pt-pacman-uncage
       by: ody
       To uncage your pacman db, after pt-pacman-cage.
       Use only if you have problem with pt-pacman-cage and you
       want to come back to standard db system
       WEB: http://bbs.archlinux.org/viewtopic.php?t=20385

 *   pt-orphans
       by: Speek
       This script checks for packages that were installed
       as a dependency for another package, but are not
       required by other packages anymore. Orphan packages
       can be removed without breaking anything.
       NOTE: pacman -Qe shows only "explicitly" installed,
       this script shows only packages installed as deps.
       WEB: http://bbs.archlinux.org/viewtopic.php?t=22360

 *   pt-pacsize
       by: hads
       How much disk space do my installed packages use?
       This script answers to the question.
       WEB: http://bbs.archlinux.org/viewtopic.php?t=20971

 *   pt-deptree
       by: skoal
       A visual representation of packages dependencies
       WEB: http://bbs.archlinux.org/viewtopic.php?t=10283

 *   pt-pacman-info
       by: Pável Varela Rodríguez [aka NeOnsKuLL]
       List the names of configured repos in your pacman.conf
       Calculates the total number of available packages
       in each repo
       Calculates the number of installed packages
       WEB: http://bbs.archlinux.org/viewtopic.php?t=23124

 *   pt-repolist
       by: dtw
       Shows installed packages from a certain repo.
       USAGE: pt-repolist  [all]
        is the repository name
       [all] to include also NOT installed packages.
       WEB: http://bbs.archlinux.org/viewtopic.php?t=12369

 *  pt-pacfix
       by: pierluigi
       A script to list all the packages currently installed, according to /var/log/pacman.log
       WEB: http://bbs.archlinux.org/viewtopic.php?pid=227510

Please remember: pactools comes with NO WARRANTY, use at your own risk