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

Re: code reuse in debian/package.config



I've tried to - that not helped at all

Package: abc
Version: 1.0-10
Architecture: all
Maintainer: root <root@unknown>
Installed-Size: 35
Pre-Depends: libxyz-common-tools
Depends: debconf (>= 0.5) | debconf-2.0
Homepage: <insert the upstream URL, if relevant>
Priority: optional
Section: unknown
Filename: pool/me/a/abc/abc_1.0-10_all.deb
Description: abc

Package: libxyz-common-tools
Source: xxx
Version: 1.0-1
Architecture: all
Maintainer: root <root@unknown>
Installed-Size: 30
Homepage: <insert the upstream URL, if relevant>
Priority: optional
Section: unknown
Filename: pool/me/x/xxx/libxyz-common-tools_1.0-1_all.deb



2014-12-29 0:58 GMT+02:00 Russ Allbery <rra@debian.org>:
"Yuri Oleynikov (יורי אולייניקוב" <yurkao@gmail.com> writes:

> But, when installing packageA without libxyz-common-tools is
> preinstalled - packageA.config script won' run?

> Is there any way to solve the problem?

The config script runs during a preinstall stage, before the package
dependencies are installed.  I think that you can work around this by
having your internal packages use Pre-Depends for the package that
provides your script library (instead of Depends).

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


--
To UNSUBSCRIBE, email to debian-mentors-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 87a927fkke.fsf@hope.eyrie.org" target="_blank">https://lists.debian.org/[🔎] 87a927fkke.fsf@hope.eyrie.org



Reply to: