Re: installing a package from "Config-files" state earlier than the most recent stable release
On 16 Jun 2006, Frank Küster uttered the following:
> Manoj Srivastava <firstname.lastname@example.org> wrote:
>> On 16 Jun 2006, Frank Küster told this:
>>> Manoj Srivastava <email@example.com> wrote:
>>>> On 14 Jun 2006, Steve Langasek outgrape:
>>>>> Just like there's no guarantee that saying "no" to a conffile
>>>>> prompt when upgrading across stable releases will give you a
>>>>> usable package.
>>>> I prefer in that case not to install the new version of the
>>>> package; since questions can be missed in a dist-upgrade. Some
>>>> of my packages default to not upgrading unless some questions are
>>>> answered affirmatively -- so the end result is still a working
>>>> package (as long as the dependencies still exist).
>>> How do you achieve this? The conffile questions are displayed
>>> after the new package is unpacked, so isn't a failing postinst all
>>> you can get? How do you get back to the old version?
>> I ask the questions in preinst.
> So you aren't talking about dpkg's conffile questions, right? Or is
> there a trick?
You are quite correct. I translated conffile into
configuration file in my head. I don't know how to do this if dpkg is
the entity asking the question.
Great acts are made up of small deeds. Lao Tsu
Manoj Srivastava <firstname.lastname@example.org> <http://www.debian.org/%7Esrivasta/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C