List Info

Thread: Re: dpkg: serious warning: files list .......




Re: dpkg: serious warning: files list .......
user name
2007-02-20 04:58:20
ext Marius Vollmer wrote:
> "ext Guillem Jover" <guillem.jovernokia.com> writes:
> 
>> * Why are you using a Pre-Depends?
> 
> He is using this pre-depends:
> 
>     Pre-Depends: maemo-select-menu-location
> 
> This one ultimately comes from the "How to make a
package for the
> Application Manager" document here:
> 
>     http://maemo.org/pl
atform/docs/howtos/howto_making_an_application_package_bora.
html#utilities
> 
> The maemo-select-menu-location utility is supposed to
be used from
> maintainer scripts, and I thought that you should
pre-depend on
> packages providing these utilities in this case.  Not
true?

Hm. Debian policy states following:
---------------
Sometimes, a package requires another package to be
installed and 
configured before it can be installed. In this case, you
must specify a 
Pre-Depends entry for the package.

You should not specify a Pre-Depends entry for a package
before this has 
been discussed on the debian-devel mailing list and a
consensus about 
doing that has been reached.
---------------

I guess in our case things like this should be discussed on

maemo-developers. 


	- Eero
_______________________________________________
maemo-developers mailing list
maemo-developersmaemo.org
h
ttps://maemo.org/mailman/listinfo/maemo-developers

Re: bug in howto_making_an_application_package_bora instructions (was: dpkg: serious warning: files
user name
2007-02-20 09:15:00
Hi,

ext Eero Tamminen wrote:
> ext Marius Vollmer wrote:
>> "ext Guillem Jover" <guillem.jovernokia.com> writes:
>>
>>> * Why are you using a Pre-Depends?
>>
>> He is using this pre-depends:
>>
>>     Pre-Depends: maemo-select-menu-location
>>
>> This one ultimately comes from the "How to
make a package for the
>> Application Manager" document here:
>>
>> http://maemo.org/pl
atform/docs/howtos/howto_making_an_application_package_bora.
html#utilities 
>>
>>
>> The maemo-select-menu-location utility is supposed
to be used from
>> maintainer scripts, and I thought that you should
pre-depend on
>> packages providing these utilities in this case. 
Not true?
> 
> Hm. Debian policy states following:

Even better:
http://www.debian.org/doc/debian-polic
y/ch-relationships.html#s-binarydeps
--------------------
The Depends field should also be used if the postinst, prerm
or postrm 
scripts require the package to be present in order to run.
Note, 
however, that the postrm cannot rely on any non-essential
packages to be 
present during the purge phase.
...
Pre-Depends should be used sparingly, preferably only by
packages whose 
premature upgrade or installation would hamper the ability
of the system 
to continue with any upgrade that might be in progress.
--------------------

I think this fairly clearly states that Depends should be
used
for maemo-select-menu-location as it's (AFAIK) used only at
the
postinst phase.  Who does a bug on the howto?


	- Eero
_______________________________________________
maemo-developers mailing list
maemo-developersmaemo.org
h
ttps://maemo.org/mailman/listinfo/maemo-developers

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )