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

Re: lintian error



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
	[...]

Regards,

Rene
-- 
 .''`.  Rene Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  rene@debian.org | GnuPG-Key ID: 248AEB73
   `-   Fingerprint: 41FA F208 28D4 7CA5 19BB  7AD9 F859 90B0 248A EB73

Attachment: pgpNN1qnfWg18.pgp
Description: PGP signature


Reply to: