DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I installed Kernel-2.6.14 from unstable. That seems to have worked fine.
Code:
$ uname -r
2.6.14-2-amd64-k8
But ... now when I do an apt-get dist-upgrade, it comes up telling me that the kernel will be replaced (presumably to rebuild driver modules.) I say OK to that, and this happens:
Code:
The following packages will be upgraded:
linux-image-2.6.14-2-amd64-k8
1 upgraded, 0 newly installed, 0 to remove.
Need to get 0B/16.1MB of archives.
After unpacking 69.6kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Preconfiguring packages ...
(Reading database ... 103079 files and directories currently installed.)
Preparing to replace linux-image-2.6.14-2-amd64-k8 2.6.14-4 (using .../linux-image-2.6.14-2-amd64-k8_2.6.14-5_amd64.deb) ...
The directory /lib/modules/2.6.14-2-amd64-k8 still exists. Continuing as directed.
Unpacking replacement linux-image-2.6.14-2-amd64-k8 ...
dpkg: error processing /var/cache/apt/archives/linux-image-2.6.14-2-amd64-k8_2.6.14-5_amd64.deb (--unpack):
failed in buffer_write(fd) (9, ret=-1): backend dpkg-deb during `./lib/modules/2.6.14-2-amd64-k8/kernel/drivers/block/umem.ko': No space left on device
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Searching for GRUB installation directory ... found: /boot/grub .
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-2.6.14-2-amd64-k8_2.6.14-5_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I do appear to have an issue with available drive space:
I suspect that I need to clean up the / directory rather than increase it's size, but ls -al doesn't suggest anything obvious to me that should be deleted.
Suggestions for my next step would be appreciated.
to find out how much the subdirectorytrees of the root directory contains and see if you have some junk lying around... And a tip, use
Code:
df -h
and you'll get a bit more readable values, it is quite annoying sifting through those long bloody kilobyte values.
I'd say you have misdimensioned your root partition quite a bit. Sure you have put lots of stuff on different partitions but you still have underestimated the use of the root partition or its subdirectories that are not among those you have put on separate partitions.
Not to be encouraged but I've been 100% redlining,I only have a / partition, and a home partition. 93% don't sound too bad on /. You could always try running.
apt-get clean , which will get rid of all the update archives which you should not need anymore. That should clear up a bit of space in /var . Personally I only go for a / partition, and a /home partition. It's not easy to know sometimes how full various directories are going to get. At least having just a / partition for the system stuff allows the various directories a bit of freedom. Incidentally I'm just as bad in cleaning the archives.I've just looked in the Sarge/Etch install. Oops. There's 2.3GB in there, and mostly no longer needed. Nigel. aka farpoint.
I bit the bullet and reinstalled. I divide the /, /var, /usr, and /home directories into different partitions because that seems to be Debian's recommendation for a multi-user setup. I also like to have a clear separation between OS and data files ... That has saved my butt several times in Windows when the hard drive crashed, but I could still access the data partition.
My original space (280 MB) for /, was the default from Debian's installer. This time I increased that to 1 GB, and increased the space for /usr, and /var a little bit. I think I'm taken care of in that regard now. Evidently Debian does not really expect root to be an active user on a 'multi-user workstation', so they didn't allocate with that in mind.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.