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

Bug#2828: have to install xosview twice to work



On Tue, 30 Apr 1996, Ian Jackson wrote:

> joost witteveen writes ("Bug#2828: have to install xosview twice to work"):
> > Package: dpkg
> > Version: 1.1.5elf
> >
> > I noticed I made mistake with my xosview package: I put the executable
> > in /usr/bin/X11/xosview. Now I've made a new xosview release, with
> > the executable in /usr/X11R6/bin/xosview. If I now install the
> > new xosview-1.3.2-3.deb, there's nothing in /usr/X11R6/bin/xosview. However,
> > if I repeat the same dpkg -i command, xosview suddenly turns up!
>
> Where can I find this -3 package ?  I'd like to try to reproduce the
> problem.

Maybe something like this happens when upgrading from -2 to -3:

dpkg installs the new binary, /usr/X11R6/bin/xosview
dpkg removes the old binary, because it isn't in the new package. The old
binary is /usr/bin/X11/xosview

When it does this it's actually removing /usr/X11R6/bin/xosview, because
/usr/bin/X11 is a symlink.

Am I right about the order in which dpkg does things, and it following
symlinks?

Steve Early
sde1000@cam.ac.uk


Reply to: