Estou usando
Estou usando o registro de log para manter os próprios registros.
man logsave
NAME
logsave - save the output of a command in a logfile
SYNOPSIS
logsave [ -asv ] logfile cmd_prog [ ... ]
DESCRIPTION
The logsave program will execute cmd_prog with the specified argument(s),
and save a copy of its output to logfile. If the containing directory for
logfile does not exist, logsave will accumulate the output in memory until
it can be written out. A copy of the output will also be written to
standard output.
Exemplo
Ao instalar o planejador:
logsave 2011110800_Install_planner.txt sudo apt-get install planner
O 2011110800_Install_planner.txt tem:
Log of sudo apt-get install planner
Tue Nov 8 17:51:19 2011
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
gconf2 gconf2-common libart-2.0-2 libgconf2-4 libglade2-0 libgnomecanvas2-0
libgnomecanvas2-common libgtk-3-0 libgtk-3-bin libgtk-3-common librarian0
rarian-compat scrollkeeper
Suggested packages:
gconf-defaults-service librsvg2-common gvfs
The following NEW packages will be installed:
gconf2 gconf2-common libart-2.0-2 libgconf2-4 libglade2-0 libgnomecanvas2-0
libgnomecanvas2-common libgtk-3-0 libgtk-3-bin libgtk-3-common librarian0
planner rarian-compat scrollkeeper
0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 6,385 kB of archives.
After this operation, 18.2 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Removendo (copiando e colando os pacotes instalados do 2011110800_Install_planner.txt)
logsave 2011110800_Remove_planner.txt sudo apt-get purge gconf2 gconf2-common libart-2.0-2 libgconf2-4 libglade2-0 libgnomecanvas2-0 libgnomecanvas2-common libgtk-3-0 libgtk-3-bin libgtk-3-common librarian0 planner rarian-compat scrollkeeper
2011110800_Remove_planner.txt tem:
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
gconf2* gconf2-common* libart-2.0-2* libgconf2-4* libglade2-0*
libgnomecanvas2-0* libgnomecanvas2-common* libgtk-3-0* libgtk-3-bin*
libgtk-3-common* librarian0* planner* rarian-compat* scrollkeeper*
0 upgraded, 0 newly installed, 14 to remove and 0 not upgraded.
After this operation, 18.2 MB disk space will be freed.
Do you want to continue [Y/n]?
Com gui
Os gerenciadores de pacotes do Synaptic e do Muon estão mantendo logs do histórico ou analisando o log do apt / dpkg.
Registros
Verificando pacotes instalados / atualizados / removidos do log do dpkg (linha de comando):
Registro de status recente:
grep "status installed" /var/log/dpkg.log
grep upgrade /var/log/dpkg.log
grep remove /var/log/dpkg.log
Mais cedo / mais: Como remover completamente o desktop?