[Pkg-samba-maint] Bug#763762: Bug#763762: Bug#763762: samba-libs depends on libcups2 (>= 1.6.0) which makes it hard to install cups 1.5

Jeroen Dekkers jeroen at dekkers.ch
Mon Oct 6 09:30:34 UTC 2014


At Mon, 6 Oct 2014 10:33:45 +0200,
Michal Hocko wrote:
> 
> On Sat, Oct 04, 2014 at 04:08:37AM +0200, Jelmer Vernooij wrote:
> > On Thu, Oct 02, 2014 at 03:41:56PM +0200, Michal Hocko wrote:
> > > after having serious problems with the current cups 1.7 version
> > > I have decided to go back to 1.5 version. The downgrade stumbled
> > > over samba-libs dependency, though, which in turn requires a lot of
> > > downgrades including the whole kde stack from 4.14 to 4.8 resulting in
> > > an unpleasant:
> > > --- Packages being removed because they are no longer used (66)
> > > --- Packages being automatically held in their current state (14)
> > > --- Packages being automatically installed to satisfy dependencies (39)
> > > --- Packages to be downgraded (90)
> > > --- Packages being held back (12)
> > > --- Packages to be removed (14)
> > > 
> > > This looks like a major pain just because of a single dependency. So I
> > > was curious whether samba-libs really needs libcups >= 1.6 or it would
> > > work with older versions as well.
> > > I cannot seem to find anything in the changelog that would mentioned
> > > bump up of the dependency because of a bug or feature. The previous
> > > libsmbclient which seems to be behind most of the dependency hell didn't
> > > depend on samba at all
> > > Version: 2:3.6.6-6+deb7u4
> > > Depends: libc6 (>= 2.10), libcap2 (>= 2.10), libcomerr2 (>= 1.01), libgssapi-krb5-2 (>= 1.10+dfsg~), libk5crypto3 (>= 1.6.dfsg.2), libkrb5-3 (>= 1.10+dfsg~), libldap-2.4-2 (>= 2.4.7), libtalloc2 (>= 2.0.4~git20101213), libtdb1 (>= 1.2.7+git20101214), libwbclient0 (>= 2:3.6.0~pre3), zlib1g (>= 1:1.1.4)
> > > 
> > > This leaves a hope that 1.6 dependency came with the new samba-libs
> > > which used the current up-to-date libcups version. But I might be
> > > completely wrong here of course.
> > 
> > I'd be open to changing this to libcups2 >= 1.5; I'm not aware of a specific reason we need 1.6.
> 
> That would be really great! I wanted to try to rebuild the package with
> the changed dependency but I couldn't find it in the control file
> because it seems to be auto-generated. Then I failed to understand
> how to sneak the right version in.
> 
> Is there anything more I can help you with?

As far as I can see, the dependency is indeed auto-generated and that
means it depends on libcups2 >= 1.6.0 because it uses symbols that
don't exist in earlier versions of the library. Given that packages in
unstable are always build against packages from unstable there isn't
much we can do about that.

If you want a samba package that uses an older version of libcups2 you
can try using the packages from wheezy-backports which are build
against the wheezy libcups2. You can also try to build the package
yourself with an older version of libcups2-dev installed.


Jeroen Dekkers



More information about the Pkg-samba-maint mailing list