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

Re: RFC on mysql 4.1 in sarge



Christian Hammers wrote:
> Hello
> 
> [1st issue - dpkg symlink bug workaround]
> 
> On 2005-05-18 Roberto C. Sanchez wrote:
> 
>>Quoting sean finney <seanius@debian.org>:
>><SNIP>
>>
>>>so at this point, we're not sure what to do to cover this last problem,
>>>as we have no guarantee the preinst of mysql-server-4.1 will even run
>>>before mysql-server/woody is removed.  the only fix we can think of is
>>>to remove the two directories from the files.list of the woody package.
>>>
>>>so we've come up with three options, none of which are great:
>>>
>>
>><SNIP>
>>
>>I may be misunderstanding what you are saying.  But, I think that if you
>>create a package called mysql-server-4.1-upgrage (or something else
>>suitable) and then you make you make mysql-server-4.1 predepend on it, then
>>mysql-server-4.1-upgrade can check for the existence of the symlinks.
> 
> 
> No, predepends can be used to ensure that some other package has already
> been completely installed i.e. postinst had been executed before the
> depending package even gets unpackaged.
> But that won't help here. apt-get calculates that mysql-server (3.23) has
> to be removed in order to get mysql-server-4.1 installed so it would first
> completely remove mysql-server (3.23) and *then* maybe install your
> temporary package which would be as useless as our current preinst hack.
> 
OK.  I misunderstood then.  Thanks for the clarification.

-Roberto
-- 
Roberto C. Sanchez
http://familiasanchez.net/~sanchezr

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: