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

Bug#349616: lintian: wrongly states that there is no dependency for debconf using settitle



Bartosz Fenski aka fEnIo <fenio@debian.org> writes:

> Package: lintian
> Version: 1.23.15
> Severity: normal

> Hello.

> (fenio@lapik)~/test/dibbler$lintian -i dibbler_0.4.1-8_i386.changes
> E: dibbler-server: settitle-requires-versioned-depends config
> N:
> N:   Debconf only supports the SETTITLE command as of version 1.3.22. To
> N:   ensure upgrades work correctly, packages that use this new command
> N:   should declare a dependency on that version of debconf.
> N:
> E: dibbler-relay: settitle-requires-versioned-depends config
> E: dibbler-client: settitle-requires-versioned-depends config
> E: dibbler-client: settitle-requires-versioned-depends postinst
> (fenio@lapik)~/test/dibbler$

> Lintian states that there should be dependency information when someone
> uses settitle command which is good. But:

> (fenio@lapik)~/test/dibbler$dpkg --info dibbler-client_0.4.1-8_i386.deb | grep Depends
>  Depends: libc6 (>= 2.3.5-1), libgcc1 (>= 1:4.0.2), libstdc++6 (>= 4.0.2-4), debconf (>= 1.3.22) | debconf-2.0
> (fenio@lapik)~/test/dibbler$

> As you can see there is correct dependency for debconf, so I suppose
> that lintian complains due to lack of dependency for debconf-2.0. Seems
> that debconf-2.0 has settitle feature since always, at least that's what
> I think after fast look at its changelog.

I believe lintian is correct here.  SETTITLE was added in 1.3.22, but
debconf-2.0 was added as a Provides in 1.2.30.  If you are useing
SETTITLE, you have to explicitly depend on:

    debconf (>= 1.3.22) | cdebconf (>= 0.43)

See:

    <http://lists.debian.org/debian-mentors/2005/12/msg00305.html>
    <http://lists.debian.org/debian-mentors/2005/12/msg00340.html>
    <http://lists.debian.org/debian-mentors/2005/12/msg00341.html>

for more information.

The lintian text should mention cdebconf and the problem with debconf-2.0
explicitly, though.  I'll look at making that change.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: