[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: lintian error



This one time, at band camp, Rene Engelhard said:
> Stephen Gran wrote:
> > Hello all,
> > 
> > I am sorry to write a question that I think has been answered recently,
> > but I can't find it now.  I am getting a lintian error,
> > package-has-a-duplicate-relation xlibs (>> 4.1.0), xlibs (>> 4.2.0)
> > on one of my packages.  I believe this is because of a dependency on
> > both xlibs-dev and kdelibs4, but I'm not sure that removing the dependency
> > on xlibs-dev is the Right Thing to do.  I guess I'm just looking for a
> 
> /var/lib/dpkg/info/xlibs.shlibs:
> 
> ibICE      6 xlibs (>> 4.1.0)
> libSM       6 xlibs (>> 4.1.0)
> libX11      6 xlibs (>> 4.1.0)
> libXext     6 xlibs (>> 4.1.0)
> libXft      1 xlibs (>> 4.1.0)
> libXi       6 xlibs (>> 4.1.0)
> libXmu      6 xlibs (>> 4.1.0)
> libXmuu     1 xlibs (>> 4.1.0)
> libXp       6 xlibs (>> 4.1.0)
> libXpm      4 xlibs (>> 4.1.0)
> libXrender  1 xlibs (>> 4.2.0)
> libXt       6 xlibs (>> 4.1.0)
> libXtst     6 xlibs (>> 4.1.0)
> libXTrap    6 xlibs (>> 4.2.0)
> libXrandr   1 xlibs (>> 4.2.0)
> 
> I just did the following in my rules:
> 
> 	[...]
>         dh_shlibdeps
> 	# xlibs (>> 4.1.0), xlibs (>> 4.2.0) is senseless....
>         cp debian/kover.substvars debian/kover.substvars.tmp
>         cat debian/kover.substvars.tmp | sed -e s/"xlibs (>> 4.1.0), "// \
>                 > debian/kover.substvars
>         rm debian/kover.substvars.tmp
> 	dh_gencontrol
> 	[...]

Cool.  Tht was the kind of thing I was considering doing, but I didn't
want to accidentally break something.  That'll work for now.

Thanks again,

-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | We'll try to cooperate fully with the   |
|  steve@lobefin.net             | IRS, because, as citizens, we feel a    |
|  http://www.lobefin.net/~steve | strong patriotic duty not to go to      |
|  			         | jail.   -- Dave Barry                   |
 --------------------------------------------------------------------------

Attachment: pgpllQ9aIpCqX.pgp
Description: PGP signature


Reply to: