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.
When I try 'apt-get --reinstall install kde' I get:
'The following packages have unmet dependencies:
kde: Depends: kde-full (>=5:66) but it is not going to be installed
linux-image-2.6-amd64: Depends: linux-image-2.6.32-5-amd64 but it is not going to be installed
Try 'apt-get -f install''
I tried the 'apt-get -f install' and got:
dpkg:error processing /var/cache/apt/archives/linux-image-2.6.32-5-amd64_2.6.32-31_amd64.deb (--unpack):
failed in write on buffer copy for backend dpkg-deb during './lib/modules/2.6.32-5-amd64/kernel/drivers/usb/atm/ueagle-atm.ko': No space left on device
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-2.6.32-5=amd64_2.6.32-31_amd64.deb
Start aptitude (no args, it'll start in interactive mode) and clean the package cache. That should clear up space to re-install stuff. Next, you're advised to reconsider the disk layout, 20 and 16GB for /usr and /var respectively is quite overkill. Ideally /var should be a bit bigger then /usr as the latter holds primarily static stuff whereas /var holds variable amounts of data. (log-files!!) On my system, /usr is 4GB where /var is 5GB and so is /tmp. (to have room for the data of a DVD) The root (/) partition is about 10GB, allowing for the rest (there's a /boot partition too) except /home and swap.
I cleaned the package cache. I still get the same error messages; and was still forced to try 'apt-get -f install'
I dramatically increased the sizes of my partitions because /usr was at 90% use. I will consider your suggestion, though; especially about /tmp.
I acted on aptitudes suggestions (delete, mark automatic, upgrade, install) There was some 'A' files that I applied '-' to, to see if there was any dependencies; and if so I did Control-T. The ones that changed to 'd' as a result of my '-', I was not able to undo.
When using gparted I am blocked from changing the size of /.
You cannot resize a partition while it is mounted. If you boot to a rescue or live CD/USB, you will be allowed to change it. Just a reminder though, resizing partitions can lead to data corruption. I would encourage you to backup anything that may be important to you before you do any more partitioning.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
Your root partition is too small and has too little space. Size 327M, filled 86% leaves... hmmm... 45MB. You need at least 70 MB for the /lib/modules/kernel-version.
So it is not /tmp or anything else.
If you have more obsolete kernels installed, you might remove them to free up space. I am not very fond of resizing partitions, especially when it is the root partition. If you have a second hard disk, you could partition it properly and copy over all your files to that one. Install a new boot loader and use that disk.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.