LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-14-2011, 04:12 AM   #1
ring0
LQ Newbie
 
Registered: Jul 2011
Distribution: Debian
Posts: 10

Rep: Reputation: Disabled
update problem


hi folks,
i tried to update my system today(Debian Squeeze) and i am facing a strange problem.


Quote:
Preparing to replace linux-image-2.6.32-5-686 2.6.32-35squeeze2 (using .../linux-image-2.6.32-5-686_2.6.32-38_i386.deb) ...
Unpacking replacement linux-image-2.6.32-5-686 ...
dpkg: error processing /var/cache/apt/archives/linux-image-2.6.32-5-686_2.6.32-38_i386.deb (--unpack):
failed in write on buffer copy for backend dpkg-deb during `./lib/modules/2.6.32-5-686/kernel/drivers/net/qlge/qlge.ko': No space left on device
configured to not write apport reports
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.32-5-686 /boot/vmlinuz-2.6.32-5-686
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.32-5-686 /boot/vmlinuz-2.6.32-5-686
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-2.6.32-5-686_2.6.32-38_i386.deb

i can't figure out what is going wrong.I would appreciate if you could help me.
thanks in advance!
 
Old 10-14-2011, 04:21 AM   #2
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,079

Rep: Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135
I suspect you set up a seperate /boot partition? - either way the error message tells you what happened - you've run out of space on / or /boot.

Code:
fdisk -l
 
Old 10-14-2011, 04:23 AM   #3
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 103Reputation: 103
Lightbulb

It looks like either you have a permission issue or the drive you are working with is near capacity.

I would check the capacity of '/' first. Using the the command df -hTl. If that looks ok then I would check the permisions.

Quote:


failed in write on buffer copy for backend dpkg-deb during `./lib/modules/2.6.32-5-686/kernel/drivers/net/qlge/qlge.ko': No space left on device
configured to not write apport reports


 
Old 10-14-2011, 06:54 AM   #4
ring0
LQ Newbie
 
Registered: Jul 2011
Distribution: Debian
Posts: 10

Original Poster
Rep: Reputation: Disabled
yes guys i have run out of space
the capacity of "/" is 90%.Now what i can do???
 
Old 10-14-2011, 07:31 AM   #5
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,079

Rep: Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135
You are probably looking at reinstalling, but it's how you will reinstall which matters, can you post the output of

Code:
fdisk -l
You may be able to hold it off for a while and save some space by removing older kernels and unwanted packages.

Last edited by cynwulf; 10-14-2011 at 07:32 AM.
 
Old 10-14-2011, 11:38 AM   #6
ring0
LQ Newbie
 
Registered: Jul 2011
Distribution: Debian
Posts: 10

Original Poster
Rep: Reputation: Disabled
caravel that's the output of fdisk -l
Quote:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x90909090

Device Boot Start End Blocks Id System
/dev/sda1 * 1 54180 435199936+ 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 54181 54222 337365 83 Linux
/dev/sda3 54223 60801 52845817+ 5 Extended
/dev/sda5 54223 54830 4883728+ 83 Linux
/dev/sda6 54831 55195 2931831 83 Linux
/dev/sda7 55196 55525 2650693+ 82 Linux swap / Solaris
/dev/sda8 55526 55574 393561 83 Linux
/dev/sda9 55575 60801 41985846 83 Linux
 
Old 10-14-2011, 12:52 PM   #7
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,079

Rep: Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135
It's pretty obvious what you have there, jv2112 asked you post the output of this also:

Code:
df -hTl
That should reveal all...
 
Old 10-15-2011, 05:04 PM   #8
ring0
LQ Newbie
 
Registered: Jul 2011
Distribution: Debian
Posts: 10

Original Poster
Rep: Reputation: Disabled
df -hTl
Quote:
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda2 ext3 320M 270M 34M 90% /
tmpfs tmpfs 1013M 8.0K 1013M 1% /lib/init/rw
udev tmpfs 1008M 208K 1008M 1% /dev
tmpfs tmpfs 1013M 1.8M 1012M 1% /dev/shm
/dev/sda9 ext3 40G 5.8G 32G 16% /home
/dev/sda8 ext3 373M 17M 337M 5% /tmp
/dev/sda5 ext3 4.6G 3.6G 774M 83% /usr
/dev/sda6 ext3 2.8G 727M 2.0G 28% /var
/dev/sda1 fuseblk 416G 126G 290G 31% /media/windows
 
Old 10-15-2011, 06:44 PM   #9
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
So shrink sda1 and fill in the space gained with sda2. Looks like you could take at least 40Gb there if not 60.

Use a Live Session on a Live CD and use Gparted. Will take a while, not something you want rushed, but should cause no problems. Backups are, however, to always be recommended as a good idea.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to update NET-SNMP update...problem dashang.trivedi Linux - Networking 2 04-19-2011 11:16 AM
YAST Update problem, won't update anymore sir_shunt SUSE / openSUSE 7 04-11-2006 12:55 PM
I have problem to update with the update function under fedora core 2 babyboss Fedora 4 08-10-2005 07:34 AM
Update Fedora2 using "yum update" problem chinaundead Fedora 9 04-27-2004 09:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration