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.

On Tue, Apr 20, 2010 at 2:49 PM, Liviu Andronic <landronim...@gmail.com>wrote:

> Dear all
> What files contain the information on the current ("now") apt tree? I
> would like to perform backups of these files so that I could restore
> the tree if some package upgrade messed up my Debian testing.
>
> Thank you
> Liviu
>
>
>
> --
> Do you know how to read?
> http://www.alienetworks.com/srtest.cfm
> http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
> Do you know how to write?
> http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail<http://garbl.home.comcast.net/%7Egarbl/stylemanual/e.htm#e-mail>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive:
> http://lists.debian.org/k2z68b1e2611004201149o7450ce70k995ff71346679...@mail.gmail.com
>
>

Reply via email to