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

Re: Apt, custom packages, and package dependencies

"Michael S. Peek" <peek@tiem.utk.edu> writes:

> Hello developers, I'm a n00b.
> I've got my own little http debian package repository.  It shows up with apt
> and dselect.
> In this repository I've got a custom package that I'm working on that depends
> on a bunch of ldap stuff, and contains configuration files and installation
> scripts to install and configure ldap for me.
> In this package's control file are the following lines:
>   Package: tiem.ldap-server-config
>   Architecture: all
>   Depends: slapd ldap-utils libnss-ldap libpam-ldap
>   Pre-Depends: slapd ldap-utils libnss-ldap libpam-ldap

Why repeat each package? Pick one line or the other.

> My problem is, according to dselect, there are no dependencies or
> pre-dependencies listed, and apt won't try to install any of the depencies
> before installing my package.

What is listed in the Packages file? That is the only thing dselect
looks at. On the other hand dpkg should complain about missing

> Other custom packages that I have built have their dependencies listed in
> dselect, but not this one.  And I have both completely erased and rebuilt my
> repository on the server and run "apt update" on the client several times.
> I figure the problem is in one of two places.  Either:
> a) There's a cache file somewhere that apt isn't updating when I type "apt
> update", or


> b) There's a file that needs to be updated on my repository -- even though
> I've totally deleted and rebuilt the repository several times.


c) The Packages file gets misgenerated. :)

> Anybody have any idea where I would go about finding out what's wrong?
> Thanks for your help,
> Michael Peek


Reply to: