apt-get upgrade error

Bob Nielsen nielsen at oz.net
Sun May 1 15:53:21 UTC 2005


On Sun, 2005-05-01 at 08:07 +0200, Ildefonzo Arocha wrote:
> Hello
> 
> I am trying to do a apt-get upgrade under Hoary but I keep getting this
> error:
> 
> Preparing to replace kdelibs-data 4:3.4.0-0ubuntu3
> (using .../kdelibs-data_4%3a3.4.0-0ubuntu3.1_all.deb) ...
> Unpacking replacement kdelibs-data ...
> dpkg: error
> processing /var/cache/apt/archives/kdelibs-data_4%3a3.4.0-0ubuntu3.1_all.deb
> (--unpack):
>  trying to overwrite `/usr/share/icons/default.kde', which is also in
> package knetworkconf
> Errors were encountered while processing:
>  /var/cache/apt/archives/kdelibs-data_4%3a3.4.0-0ubuntu3.1_all.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> Anyone what is this and how to fix it?
> 

Try 'dpkg --force-overwrite -i /var/cache/apt/archives/kdelibs-data_4%
3a3.4.0-0ubuntu3.1_all.deb'  (this should be all on one line).

> hmm, one final question ... what is that /var/cache directory for?
> 

For one thing, this is where new packages are downloaded.






More information about the ubuntu-users mailing list