On 2010-04-20 15:27, B. Alexander wrote:
If you are asking what I think you are asking, as in which files would you need to restore your system in the event that you lose your apt and dpkg databases, then I do the following: /var/backups /var/cache/apt (less /var/cache/apt/archives) /var/lib/apt /var/lib/dpkg This will give you enough that apt-get update, etc works. Now the rules have probably changed if you use aptitude as I believe it creates/uses a different database.
Honestly, though, how often does that happen?Maybe it's because I "just" run a workstation, or maybe because disks are so huge nowadays, or I'm just a fool, but I leave var/ under / so anything catastrophic as to trash var/ will best be solved by a complete reinstall.
-- Dissent is patriotic, remember?