use case of db_input 30 return value

2015-08-10 Thread יורי אולייניקוב
Hello mentors, >From the debconf-devel(7) manual: If the question will not be displayed, debconf replies with code 30. What is a use case if db_input 30 return value? If question is skipped (will not be displayed) by db_input: * Should I also skip db_go? * Or should I safely ignore 30 retur

Re: R: Validating user input with debconf

2015-08-10 Thread יורי אולייניקוב
Thanks Paul, it was really helpful 2015-08-10 11:02 GMT+03:00 Paul Gevers : > You can also check how I solved this in dbconfig-common in the > dbc_get_app_pass function that is called during configure of any package > that depends on dbconfig-common: > https://sources.debian.net/src/dbconfig-comm

Incorrect order of debian/config and debian/postinst run

2015-01-01 Thread יורי אולייניקוב
​​ Hello all I have problem with creating deb package. As i known debian/config is called before the deb is unpacked, however my debian/config is called during debian/postinst. Since debian/config supposed to be run twice - my debian/postinst runs with no param on second time, as a re sult - exi

Re: code reuse in debian/package.config

2014-12-28 Thread יורי אולייניקוב
-12-29 0:58 GMT+02:00 Russ Allbery : > "Yuri Oleynikov (יורי אולייניקוב" writes: > > > But, when installing packageA without libxyz-common-tools is > > preinstalled - packageA.config script won' run? > > > Is there any way to solve the problem? > &g

Re: code reuse in debian/package.config

2014-12-28 Thread יורי אולייניקוב
Sorry for possible confusing: abc below is my packageA in this case. 2014-12-29 0:59 GMT+02:00 Yuri Oleynikov (יורי אולייניקוב : > When i do install 'apt-get packageA', the flow is like following: > > apt-get tries to pre-configure packageA (fails) > Preparing to

Re: code reuse in debian/package.config

2014-12-28 Thread יורי אולייניקוב
cription: abc Package: libxyz-common-tools Source: xxx Version: 1.0-1 Architecture: all Maintainer: root Installed-Size: 30 Homepage: 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 : > "Yuri

Re: code reuse in debian/package.config

2014-12-28 Thread יורי אולייניקוב
because 'apt-get install packageA' should pick up and install all its dependencies automatically 2014-12-29 0:32 GMT+02:00 Riley Baird < bm-2cvqnduybau5do2dfjtrn7zbaj246s4...@bitmessage.ch>: > On 29/12/14 09:08, Yuri Oleynikov (יורי אולייניקוב wrote: > > Hello al

code reuse in debian/package.config

2014-12-28 Thread יורי אולייניקוב
Hello all So happened i'm maintainer of debian packages in my company. And i have the following situation: There're several deb packages that using debconf to ask user input during installation, apply initial configuration, etc with: * debian/package.config * debian/package.preinst * debian/pac