[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: E: Sub-process /usr/bin/dpkg returned an error code (1)



On 2008-12-23 17:07 +0100, Zaki Akhmad wrote:

> On Mon, Dec 22, 2008 at 5:06 PM, Sven Joachim  wrote:
>> Exactly.  FWIW, I kind of expected that, it's a rather common error
>> when installing linux-image packages because
>>
>> - they are rather large and dump everything into the root partition
>>
>> - old versions are not automatically deleted by apt/aptitude.
>>
>> Also note that during the package upgrades you need to have enough free
>> space for both the old and the new version of the package.
>
> Which partition I should free up?
> I mean, so that I can install new linux-image package.

The root partition, i.e. the one mounted on /.

> Here's my df -h
>
> # df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/hda1             259M  207M   38M  85% /

Here is your problem, official linux-image-* packages do not fit into
that space:

,----
| % aptitude show linux-image-2.6.26-1-686 | grep Size:
| Uncompressed Size: 59.5M
`----

In the short run you can free space by removing old kernels, but if you
plan to have more than two kernels installed concurrently, you probably
have to bite the bullet and repartition.

> tmpfs                 253M     0  253M   0% /lib/init/rw
> udev                   10M   96K   10M   1% /dev
> tmpfs                 253M     0  253M   0% /dev/shm
> /dev/hda9             9.4G  150M  8.8G   2% /home
> /dev/hda8             373M   11M  343M   3% /tmp
> /dev/hda5             4.6G  541M  3.9G  13% /usr
> /dev/hda6             2.8G  771M  1.9G  29% /var

Sven


Reply to: