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

Re: Theoretical APT question



On Sat, Nov 15, 2003 at 02:01:42PM -0800, Wm. G. McGrath wrote:
> Is there any way I can reset the directory/partition that apt uses
> to install software? I believe it currently install packages under
> /usr... and /var....

Debian packages aren't relocatable, I'm afraid. Their maintainer scripts
frequently contain absolute paths or call other utilities that expect
certain absolute paths, and changing this would be a ginormous amount of
effort that isn't likely to happen any time soon.

This isn't specific to apt; it's inherent in the structure of our
current packaging scheme (so closer to dpkg than apt). Sorry.

In the special case where you want to move *everything* to a particular
tree, then you could use a chroot.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: