[Wylug-help] Apt without /var
Philip Wyett
philwyett at gmx.com
Fri Apr 17 02:27:11 UTC 2009
On Fri, 2009-04-17 at 01:44 +0100, Dave Fisher wrote:
> Hi,
>
> Anyone that's been following this list will know that I currently have a
> file server running without /home /tmp and /var filesystems.
>
> This is a bit of an issue, since one potential solution to my RAID
> problem is to install a newer or older kernel, but apt relies on /var
> for cacheing, package lists, locking, etc.
>
> I'm fairly sure that I could install a kernel, intrd and update grub,
> the old fashioned way (by-passing the normal debian infrastructure), but
> I'd rather not do that, if I can avoid it.
>
> 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.
>
> Dave
If my brain serves you can use dpkg and specify a new --admindir which
is normally /var/lib/dpkg i.e.
dpkg --admindir=/wherever/you/wish -i whatever.deb
Regards
Phil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mailman.lug.org.uk/pipermail/wylug-help/attachments/20090417/9bd49178/attachment.pgp
More information about the Wylug-help
mailing list