LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   /var out of room when installing new kernel image? Help? (https://www.linuxquestions.org/questions/debian-26/var-out-of-room-when-installing-new-kernel-image-help-605419/)

BigVig 12-08-2007 12:20 PM

/var out of room when installing new kernel image? Help?
 
Code:

:/# apt-get install linux-image-2.6.23-1-amd64
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Suggested packages:
  linux-doc-2.6.23
The following NEW packages will be installed:
  linux-image-2.6.23-1-amd64
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 18.7MB of archives.
After unpacking 74.7MB of additional disk space will be used.
Get:1 ftp://debian.uchicago.edu sid/main linux-image-2.6.23-1-amd64 2.6.23-1 [18.7MB]
Fetched 18.7MB in 1m56s (161kB/s)                                                                                         
Preconfiguring packages ...
(Reading database ... 113653 files and directories currently installed.)
Unpacking linux-image-2.6.23-1-amd64 (from .../linux-image-2.6.23-1-amd64_2.6.23-1_amd64.deb) ...
Done.
dpkg: error processing /var/cache/apt/archives/linux-image-2.6.23-1-amd64_2.6.23-1_amd64.deb (--unpack):
 failed in buffer_write(fd) (9, ret=-1): backend dpkg-deb during
`./lib/modules/2.6.23-1-amd64/kernel/drivers/char/synclink_gt.ko': No space left on device
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Running postrm hook script /usr/sbin/update-grub.
Updating /boot/grub/grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.18-5-amd64
Found initrd image: /boot/initrd.img-2.6.18-5-amd64
done
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-2.6.23-1-amd64_2.6.23-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
/#:

I am attempting to install the 2.6.23 kernel and the above is what happens when I type "apt-get install linux-image-2.6.23-1-amd64". I am currently using the 2.6.18-5-amd64 kernel.

When it says no space left on device, does that mean my /var partition is full? Because my /var partition is 2.8 GB and reads as 2.3 GB unused.

Could someone give me a clue as to what I might be doing wrong?

tagno25 12-08-2007 03:20 PM

`./lib/modules/2.6.23-1-amd64/kernel/drivers/char/synclink_gt.ko': No space left on device


no space available on /lib

uros09 12-17-2007 02:15 PM

You know when Debian installs packets with apt-get install packagename it stores a .deb package in /var/cache/apt/archives/ . You can check disk status with df -h ("no space left on device" is what it says no more space on device) and see if your /var partition is full.If it is full you can try apt-get autoclean or apt-get clean (will clean more) to remove unnecessary .deb packages from /var/cache/apt/archives/.


All times are GMT -5. The time now is 01:26 PM.