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

Bug#2452: ncurses problem is related to "dpkg" bug



On Fri, 1 Mar 1996, Bruce Perens wrote:

> [...]
> > The shared library packages shouldn't install to xxx.so.1.new and then
> > move that to xxx.so.1, correct?  They should just install stuff in the
> > "correct" place, right?
>
> This is a dpkg detail I'm not too clear on - you may still have to install
> it to xxx.so.1.new and then "mv" it into place - but that's not the problem.
> The problem is that you can't have an interval during which xxx.so.1 does
> not exist. Thus, do not "mv" the old version out of the way first as you
> currently do in your prerm and preinst scripts, just use "mv" to overwrite
> it.

Mike, ignore this if I've got the wrong end of the stick (quite possibly
true :-) ), but if for some reason you need to still have the old version
around after the new one is mv'ed into place, you could just create a new
hard link for it in /lib ...

Nikhil.


Reply to: