Package: etckeeper
Severity: wishlist

I use the following on a server to track the list of installed packages
along with the rest of /etc:

/etc$ cat etckeeper/post-install.d/00local-package-list
#!/bin/sh
dpkg-query -W -f '${Status}\t${Package} ${Version}\n' | grep 'ok installed' | 
cut -f2,3 > /etc/packages
sort-dctrl < /var/lib/apt/extended_states > /etc/package-extended-states


You might consider adding it as an example in documentation, or even
better, using it by default with an option in etckeeper.conf to turn it
off.

Thanks,
Josh Triplett

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages etckeeper depends on:
ii  bzr                          2.2.0-1     easy to use distributed version co
ii  darcs                        2.4.4-2     a distributed, interactive, smart 
ii  debconf [debconf-2.0]        1.5.34      Debian configuration management sy
ii  git [git-core]               1:1.7.1-1.1 fast, scalable, distributed revisi
ii  mercurial                    1.6-2       scalable distributed version contr

Versions of packages etckeeper recommends:
ii  cron                          3.0pl1-113 process scheduling daemon

etckeeper suggests no packages.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to