[Wylug-help] Apt without /var

j.lander at leeds.ac.uk j.lander at leeds.ac.uk
Fri Apr 17 08:48:58 UTC 2009


Dave,

> Anyone got any ideas about how I might rig up some temporary method of
> using apt (or at least dpkg) to do the job?  e.g. using wget to download
> the relevant .debs and dpkg to install.

Do you have much disk space available on the surviving partition(s).

If so, you can create a suitable /var directory structure elsewhere on the 
disk and either

* temporarily replace /var with a symlink
or
* use mount --bind to map the temporary /var where the real /var should
   be.

As long as there is sufficent space, apt-get should do the right 
thing.

- Jason



More information about the Wylug-help mailing list