Upgrade to Breezy errors

Derek Broughton news at pointerstop.ca
Mon Oct 17 15:06:28 UTC 2005


David Strauss wrote:

> On Sat, 2005-10-15 at 16:53 -0400, Michael Beattie wrote:
>> I am getting the following errors trying to go to Breezy from Hoary
>> during the dist-upgrade.  Does anyknow how how to proceed?  i have
>> tried forcing it doesn't go.
>> 
>> Unpacking libofx2 (from .../libofx2_1%3a0.8.0-3ubuntu8_i386.deb) ...
>> dpkg: error processing
>> /var/cache/apt/archives/libofx2_1%3a0.8.0-3ubuntu8_i386.deb
>> (--unpack):
>>  trying to overwrite `/usr/share/libofx/dtd/opensp.dcl', which is also
>> in package libofx0c102
>> dpkg-deb: subprocess paste killed by signal (Broken pipe)
>> Errors were encountered while processing:
>>  /var/cache/apt/archives/libofx2_1%3a0.8.0-3ubuntu8_i386.deb
>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>> 
>> Preparing to replace libopenal0 0.2004090900-1.1 (using
>> .../libopenal0_0.2004090900-1.1build1_i386.deb) ...
>> Unpacking replacement libopenal0 ...
>> Errors were encountered while processing:
>>  /var/cache/apt/archives/libofx2_1%3a0.8.0-3ubuntu8_i386.deb
>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>> 
> 
> Try this:
> 
> sudo apt-get remove libofx2 libofx0c102
> sudo apt-get install ubuntu-desktop
> 
Ow!  Thus removing everything (only kmymoney that I know of, but likely any
other financial package) using libofx.

The cleaner way with any "overwriting" problem is to look at the packages
that collide, and use 

dpkg --force-overwrite -i /var/cache/apt/archives/FILENAME.deb

on the one that seems right.  In this case,libofx0c102 would probably have
been removed, later, anyway.
-- 
derek





More information about the ubuntu-users mailing list