[maemo-developers] [maemo-developers] Missing library in the 2006 beta version?

From: Andrew Flegg andrew at bleb.org
Date: Mon Jul 17 16:51:44 EEST 2006
On 7/17/06, Antonio Gomes <tonikitoo at gmail.com> wrote:
>
> So, I have packed these X dependencies mentioned above (libXt,
> libICE and libSM) into my .deb file , and they install fine if *and
> only if* they have not been installed before by another application
> or whatever. In the case when they are already installed my .deb
> installation hangs when it tries to replace them with the following
> message:
[snip]
>
> I'd like to be able to verify if they are already available in the
> system before trying to install them , how could I do ? preinst ?

They should be separate libraries which your control file says your
package depends on (using the `Depends' line).

Then, when they're all put into a repository (with the libraries
having a `Section' of something like `lib'), the user only sees the
Minimo application. Installing Minimo will then also pull in any
dependencies the user hasn't already got.

HTH,

Andrew

-- 
Andrew Flegg -- mailto:andrew at bleb.org  |  http://www.bleb.org/

More information about the maemo-developers mailing list