[Linux-bruxelles] Historique apt/dpkg?

Olivier Laurent oli at aragne.com
Jeu 8 Avr 11:35:08 CEST 2004


On mer, 07 avr 2004, at 13:49, Gaëtan Frenoy wrote:
> Bonjour,
> 
> Existe-t-il un moyen de retrouver l'historique des "apt-get install/remove"
> réalisés sur une machine?
> 
> J'ai fouillé les options de dpkg mais sans succès jusqu'à présent.
> Et mon ami Google n'a pas dû bien comprendre la question :(

cat .bash_history | grep 'apt-get'

Où .history, çà dépend si tu utilises bash ou un autre shell.

Le 'grep' peut être adapté selon les besoins. Par exemple:
cat .bash_history | grep 'apt-get' | grep -v 'cat .history'

-- 
Olivier Laurent.
P3B    : Club Python(-Zope) Belge ---------- http://www.p3b.org
OS3B   : Club Open-Software(-Linux) Carolo   http://www.os3b.org
Aragne : Python-Zope Solutions & Formations  http://www.aragne.com




Plus d'informations sur la liste de diffusion Linux-bruxelles