[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg database rebuild

Hi there, Ritesh.

On Sep 12 2005, Ritesh Raj Sarraf wrote:
> If I copy the whole filesystem to another hard drive and rebuild the
> dpkg database, will it work ?

Well, if you copy the whole filesystem tree (from root, but possibly
ommitting /proc /tmp and /mnt or /media), then everything should work
fine (just remember to create these points, in case you ommit them from
your copy process).

> Will dpkg be able to understand all the packages installed ?

There will be no need to "rebuild the dpkg database" and everything will
work fine.

Hope this helps, Rogério.

Rogério Brito : rbrito@ime.usp.br : http://www.ime.usp.br/~rbrito
Homepage of the algorithms package : http://algorithms.berlios.de
Homepage on freshmeat:  http://freshmeat.net/projects/algorithms/

Reply to: