On 07/11/2011 05:53 PM, Jakub Wilk wrote:
> found 633484 0.8.4-4
> thanks
> 
> * Thomas Goirand <[email protected]>, 2011-07-11, 12:45:
>>> Errors were encountered while processing:
>>> libdbi-dev_0.8.4-3_amd64.deb
>>
>> Hi,
>>
>> Sorry for that, I was to write the Breaks: statement to avoid the
>> issue, but someone in IRC told me that it wasn't needed, considering
>> that I had a versioned Depends: on the libdbi1 binary in my libdbi-dev
>> package.
> 
> That was me.
> 
>> Seems he was wrong.
> 
> No. Breaks on libdbi1 _is_ redundant. It was Replaces that was missing. 
> Well, it still is:
> 
> # dpkg -i libdbi-dev_0.8.4-4_amd64.deb libdbi1_0.8.4-4_amd64.deb
> tar: ./control: time stamp 2011-07-11 12:07:56 is 8199.724699417 s in
> the future
> tar: ./md5sums: time stamp 2011-07-11 12:07:56 is 8199.724518177 s in
> the future
> tar: .: time stamp 2011-07-11 12:07:56 is 8199.724440938 s in the future
> (Reading database ... 11499 files and directories currently installed.)
> Preparing to replace libdbi-dev 0.8.4-1 (using
> libdbi-dev_0.8.4-4_amd64.deb) ...
> Unpacking replacement libdbi-dev ...
> dpkg: error processing libdbi-dev_0.8.4-4_amd64.deb (--install):
>  trying to overwrite '/usr/lib/libdbi.a', which is also in package
> libdbi1 0.8.4-1
> tar: ./control: time stamp 2011-07-11 12:07:56 is 8199.6987872 s in the
> future
> tar: ./md5sums: time stamp 2011-07-11 12:07:56 is 8199.69860336 s in the
> future
> tar: ./postrm: time stamp 2011-07-11 12:07:55 is 8198.6985094 s in the
> future
> tar: ./postinst: time stamp 2011-07-11 12:07:55 is 8198.6983742 s in the
> future
> tar: ./symbols: time stamp 2011-07-11 12:07:55 is 8198.69826984 s in the
> future
> tar: .: time stamp 2011-07-11 12:07:56 is 8199.69820852 s in the future
> Preparing to replace libdbi1 0.8.4-1 (using libdbi1_0.8.4-4_amd64.deb) ...
> Unpacking replacement libdbi1 ...
> Setting up libdbi1 (0.8.4-4) ...
> Errors were encountered while processing:
>  libdbi-dev_0.8.4-4_amd64.deb

Hi Jakub, and thanks for your email.

Well, if you look at the debian/control, you can see this:

Package: libdbi-dev
Section: libdevel
Architecture: any
Depends: libdbi1 (= ${binary:Version}), ${misc:Depends}
Breaks: libdbi0, libdbi1 (<= 0.8.2-2)
Replaces: libdbi0-dev, libdbi0, libdbi1 (<= 0.8.2-2)

So the Replaces: is already there!!!

Any suggestion?

Thomas



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to