I moved /var to another partition, and now I can't install any packages. The error I get:
Code:
# apt-get install quota
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
quota
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/419kB of archives.
After unpacking 1122kB of additional disk space will be used.
Preconfiguring packages ...
dpkg: error processing /var/cache/apt/archives/quota_3.12-3_i386.deb (--unpack):
failed to open package info file `/var/lib/dpkg/tmp.ci/control' for reading: No such file or directory
Errors were encountered while processing:
/var/cache/apt/archives/quota_3.12-3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I copied the /var directory with cp -a, and everything else seems to work besides that.