apt error

Colin Law clanlaw at googlemail.com
Thu Apr 11 08:40:28 UTC 2013


On 10 April 2013 11:29, Liam Proven <lproven at gmail.com> wrote:
> On 10 April 2013 08:10, Colin Law <clanlaw at googlemail.com> wrote:
>> On 10 April 2013 04:19, Art Edwards
>> <edwardsa at icantbelieveimdoingthis.com> wrote:
>>> I have the following breakage:
>>>
>>> E:
>>> /var/cache/apt/archives/linux-image-3.5.0-27-generic_3.5.0-27.46_amd64.deb:
>>
>> /var/cache/apt/archives contains the downloaded deb files for
>> installation.  I suggest deleting the above file which will force it
>> to be downloaded again, in case it is corrupted.  So in a terminal
>>
>> sudo rm /var/cache/apt/archives/linux-image-3.5.0-27-generic_3.5.0-27.46_amd64.deb
>
> `apt-get clean` is easier and AFAIK does the same thing.

apt-get clean completely empties the cache.  The OP may have done a
large download of stuff that has not yet been installed and may have a
slow connection and does not want to re-download everything,
Otherwise then yes, apt-get clean would be fine.

Colin




More information about the ubuntu-users mailing list