Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Create custom package

From: Sven Joachim <svenjoac(at)gmx.de>
Date: Thu Jan 31 2008 - 11:45:44 EST


On 2008-01-31 15:25 +0100, Kunszt Árpád wrote:

> I want to create an "alternate" package for libmysqlclient15off. It
> means I tried to create an dvrt-libmysqlclient15off package which can
> replace the libmysqlclient15off package in the dependency checks. The
> control files relevant part is now:
>
> Package: dvrt-libmysqlclient15off
> Section: libs
> Architecture: any
> Depends: dvrt-mysql-common (>= ${Source-Version}), ${shlibs:Depends}
> Conflicts: libmysqlclient15, libmysqlclient15off
> Replaces: libmysqlclient15, libmysqlclient15off
> Description: mysql database client library
> MySQL is a fast, stable and true multi-user, multi-threaded SQL database
> server. SQL (Structured Query Language) is the most popular database query
> language in the world. The main goals of MySQL are speed, robustness and
> ease of use.
> .
> This package includes the client library.
> Provides: libmysqlclient15off
>
> But when I try to install a package which depends on
> libmysqlclient15off, I get error like this:
>
> server01-vz16:~/packages/mysql/5.0/work/mysql-dfsg-5.0-5.0.32# apt-get
> install libdbd-mysql-perl dvrt-libmysqlclient15off
> Reading package lists... Done
> Building dependency tree... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
> libdbd-mysql-perl: Depends: libmysqlclient15off (>= 5.0.24-2)
> E: Broken packages
>
> What am I doing wrong?

Nothing, basically. The bad news is that dpkg does currently not allow versioned `Provides'; see http://bugs.debian.org/24934 and its relatives. Until that is resolved¹, you're simply out of luck. :-(

> PS: Sorry for my English.

No need for that, your English seems OK to me (though I'm not a native speaker myself).

> PPS: Changing just the version number of the package and leave it's name
> is not an option now.

Then you probably have to implement versioned `Provides' in dpkg.

Sven

Do you need help?X

¹ Given that the bug is only at `wishlist' severity and dpkg has a   plethora of other open bugs, this will probably not happen any time   soon, if at all.

-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Thu Jan 31 11:44:47 2008

This archive was generated by hypermail 2.1.8 : Thu Mar 06 2008 - 23:25:37 EST


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library