(newbie) apt-get failure to install eclipse

I'm new to having my own Linux box, but I know my way around the *nix env somewhat as a user (developer).

I try to install eclipse and it appears that I'm running out of space, but I'm not sure how to remedy the situation. Here is the log:

Quote:
# apt-get -f install eclipse
Reading package lists... Done
Building dependency tree... Done
eclipse is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up linux-image-2.6.18-6-686 (2.6.18.dfsg.1-18etch3) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.

gzip: stdout: No space left on device
mkinitramfs-kpkg failed to create initrd image.
Failed to create initrd image.
dpkg: error processing linux-image-2.6.18-6-686 (--configure):
subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
linux-image-2.6.18-6-686
E: Sub-process /usr/bin/dpkg returned an error code (1)

I did run "apt-get update" (successful) and "apt-get upgrade" (failure) with the following results:

Quote:
# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the download directory
# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up linux-image-2.6.18-6-686 (2.6.18.dfsg.1-18etch3) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.

gzip: stdout: No space left on device
mkinitramfs-kpkg failed to create initrd image.
Failed to create initrd image.
dpkg: error processing linux-image-2.6.18-6-686 (--configure):
subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
linux-image-2.6.18-6-686
E: Sub-process /usr/bin/dpkg returned an error code (1)

Guidance for a newbie is much appreciated here.

No votes yet

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: (newbie) apt-get failure to install eclipse

When I try to install sun-java5-jdk via Synaptic, I see:

Quote:
E: linux-image-2.6.18-6-686: subprocess post-installation script returned error exit status 9

and in the details log I see the same types of "gzip: stdout: No space left on device" errors.

Re: (newbie) apt-get failure to install eclipse

Looks like the partition on which you install the packages (/ or /usr) is full. No space is left. Remove unwanted files and packages. Then you shall be able to install newer packages. have you kept its side too low or lots of files are there on that partition.
If you run a df -h you will find that there is no space left on that partition.(or right click on that partition. It doesn't have space).
The failure of apt (not getting lock) happens when another program (maybe apt-get on another console or synaptic package manger being open) hold the lock. At one time only one system should be running apt-get.
Regards
Hildebrand

Syndicate content