Hello,
i've just bootstrapped a debian into one of the VE's on my hostnode (as described in the howto on this forum). However, i seem to be unable to install any software in the bootstrapped debian, apt exits with the following error:
root@xeon238:/# apt-get install traceroute
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
traceroute
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 22.5kB of archives.
After unpacking 106kB of additional disk space will be used.
E: You don't have enough free space in /var/cache/apt/archives/.
I've played with the quota settings a bit, raised them, even turned disk quota off.
An strace shows me the following output, i assume its somehow picking up a wrong f_bfree value.
[...]
kill(10220, SIGINT) = 0
waitpid(10220, [{WIFEXITED(s) && WEXITSTATUS(s) == 100}], 0) = 10220
write(1, "Need to get 22.5kB of archives.\n", 32) = 32
write(1, "After unpacking 106kB of additio"..., 61) = 61
statfs("/var/cache/apt/archives/", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=46817909, f_bfree=0, f_bavail=46766569,
f_files=0, f_ffree=46290925, f_fsid={0, 23789568}, f_namelen=0, f_frsize=23781453}) = 0
stat64("/var/cache/apt/archives/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/proc/mounts", O_RDONLY) = 13
fstat64(13, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x408bc000
read(13, "simfs / simfs rw 0 0\nproc /proc "..., 1024) = 137
read(13, "", 1024) = 0
_llseek(13, 0, [0], SEEK_SET) = 0
read(13, "simfs / simfs rw 0 0\nproc /proc "..., 1024) = 137
read(13, "", 1024) = 0
_llseek(13, 0, [0], SEEK_SET) = 0
read(13, "simfs / simfs rw 0 0\nproc /proc "..., 1024) = 137
stat64("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
close(13) = 0
munmap(0x408bc000, 4096) = 0
[...]
Any ideas?
Edit: I should mention that there actually IS enough free diskspace:
root@xeon238:/# df -h
Filesystem Size Used Avail Use% Mounted on
simfs 179G 201M 177G 1% /
tmpfs 1.5G 0 1.5G 0% /dev/shm
root@xeon238:/# df
Filesystem 1K-blocks Used Available Use% Mounted on
simfs 187271636 205368 185163692 1% /
tmpfs 1539280 0 1539280 0% /dev/shm
-Torsten
[Updated on: Mon, 02 January 2006 16:10] Report message to a moderator
|