Re: [vox-tech] I'm out of space on /

2005-06-26 Thread Rick Moen
Quoting Jay Strauss ([EMAIL PROTECTED]):

> dpkg: error processing 
> /var/cache/apt/archives/kernel-image-2.6.8-2-686_2.6.8-16
> _i386.deb (--unpack):
>  failed in buffer_write(fd) (8, ret=-1): backend dpkg-deb during 
> `./lib/modules/
> 2.6.8-2-686/kernel/sound/pci/trident/snd-trident-synth.ko': No space 
> left on device
> 
> I don't know what's taking up space and what I can delete.

More often than not, it's accumulation of packages in
/var/cache/apt/archives/ .  Try "apt-get autoclean" to sweep out
packages no longer useful to keep there, or "apt-get clean" to
ruthlessly purge the cache.

> I did a
> 
> hydrogen:/# du -hxs *

I suspect that including "x" sabotaged your intent, there, since, if
memory serves, it limits the report to subdirectories on just the one
filesystem you happen to specify, and omits all others.  So, if your
current directory at that time -- which I gather must have been the root
directory -- was on a filesystem didn't include /var, then the report
wouldn't tell you anything about that subtree.

If my guess is correct about the package cache, you might just make a
point of using one of the apt commands to clean out the cache on
occasion.  Note that some of the higher-level tools (that call apt-get)
will take care of that housekeeping for you.
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] I'm out of space on /

2005-06-26 Thread Jay Strauss

Hi,

I was trying to install kernel-image-2.6.8-2-686, on debian sarge.  But 
I'm getting:


dpkg: error processing 
/var/cache/apt/archives/kernel-image-2.6.8-2-686_2.6.8-16

_i386.deb (--unpack):
 failed in buffer_write(fd) (8, ret=-1): backend dpkg-deb during 
`./lib/modules/
2.6.8-2-686/kernel/sound/pci/trident/snd-trident-synth.ko': No space 
left on device


I don't know what's taking up space and what I can delete.  I did a

hydrogen:/# du -hxs *
2.7Mbin
8.3Mboot
0   cdrom
88K dev
6.9Metc
1.0Kinitrd
0   initrd.img
79M lib
12K lost+found
3.0Kmedia
6.0Kmnt
385Mproc
3.3Mroot
3.6Msbin
1.0Ksrv
0   sys
13K tmp
0   vmlinuz

Now I'm a bit afraid to reboot my machine, for fear its been left in a 
damaged state.


Suggestions please
Thanks
Jay
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech