Debian Developers - Apt, custom packages, and package dependencies

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > October 2005 > Apt, custom packages, and package dependencies





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Apt, custom packages, and package dependencies
Michael S. Peek

2005-09-30, 5:57 pm


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

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.

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.

Anybody have any idea where I would go about finding out what's wrong?

Thanks for your help,

Michael Peek


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Michael S. Peek

2005-09-30, 5:57 pm


I knew I would figure it out as soon as I sent this... I forgot to put commas
between the package names in Depends and Pre-Depends.

Oops.

Nevermind, but thanks anyway.

Michael

> 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
>
> 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.
>
> 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.
>
> Anybody have any idea where I would go about finding out what's wrong?
>
> Thanks for your help,
>
> Michael Peek
>



--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Thomas Bushnell BSG

2005-09-30, 8:48 pm

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

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


You need to separate the dependencies with commas.

Thomas


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Goswin von Brederlow

2005-10-01, 8:48 pm

"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
depends.

> 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


Nope.

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


Nope.

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


MfG
Goswin


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com