3 ms·
Dpkg already has a "--root" option to use a different path for both installing packages and storing the dpkg info. I think the biggest issue would be having it
by stephenr 12y ago
Dpkg already has a "--root" option to use a different path for both installing packages and storing the dpkg info.
I think the biggest issue would be having it recognise packages already installed in the system when it's using a different info directory - it's possible a lot of packages would get re-installed "locally".
Other than that, I believe your concept should work on Debian.