View Single Post
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#6
Originally Posted by neiljerram
Many thanks, very useful.
Suppose one wanted to install under /var/lib/install as other stuff is: would I work just to chroot before using dpkg -X ?
I haven't tried, but I think this would do it :
dpkg -X package.deb /var/lib/install

And would that also update dpkg's database of installed packages correctly?
Dunno... guess there's only one way to find out :-)