http://qa.mandrakesoft.com/show_bug.cgi?id=5077


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




------- Additional Comments From [EMAIL PROTECTED]  2003-10-09 03:10 -------
This is a problem of our library policy which probably applies also to many
other libary packages. Always when a library gets a new API the major number of
it is increased. The library packages themselves contain only files whose names
or pths contain the major number and so can be installed in parallel. The -devel
packages contain mainly non-versioned files and therefore they conflict. And
because their names contain the major number, the packages of the new and the
old library version have different names which leads to the old package not
being automatically removed. To avoid this, the following has to be added to the
library policy:

A -devel package must contain a "Conflicts" telling that the package conflicts
with all earlier versions of this -devel package. This can easily be done as
every devel package provides <name without major>-devel. So one sets in the
devel package of the library with the version <X>-<Y>mdk:

Conflicts: <name without major>-devel < <X>-<Y>mdk

In the case of libexif9-devel-0.5.12-2mdk the line should read:

Conflicts: libexif-devel < 0.5.12-2mdk

This is a suggestion how to solve the problem described in this bug report. It
is not tested yet. As we are already in deep freeze this will not be done before
release of Mandrake 9.2.

THIS BUG WILL NOT BE FIXED BEFORE 9.2.

 

-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: ASSIGNED
creation_date: 
description: 
When doing a complete upgrade from Mandrake 9.1 to Cooker,
libexif9-devel-0.5.12-1mdk cannot be installed because it conflicts with
files from package libexif8-devel-0.5.9-1mdk:

      file /usr/include/libexif/exif-tag.h from install of
libexif9-devel-0.5.12-1mdk conflicts with file from package
libexif8-devel-0.5.9-1mdk
        file /usr/include/libexif/exif-utils.h from install of
libexif9-devel-0.5.12-1mdk conflicts with file from package
libexif8-devel-0.5.9-1mdk
        file /usr/lib/libexif.a from install of libexif9-devel-0.5.12-1mdk
conflicts with file from package libexif8-devel-0.5.9-1mdk
        file /usr/lib/libexif.la from install of libexif9-devel-0.5.12-1mdk
conflicts with file from package libexif8-devel-0.5.9-1mdk
        file /usr/lib/libexif.so from install of libexif9-devel-0.5.12-1mdk
conflicts with file from package libexif8-devel-0.5.9-1mdk
        file /usr/lib/pkgconfig/libexif.pc from install of
libexif9-devel-0.5.12-1mdk conflicts with file from package
libexif8-devel-0.5.9-1mdk

I guess there is missing a conflicts or something like that so that urpmi tries
to install them next to each other instead of removing libexif8-devel-0.5.9-1mdk
first.

Reply via email to