Subject: Re: xosview_1.3.2-6 uploaded

From: Maarten Boekhold <[email-masked]>
Date: Mon, 22 Jul 1996 19:44:13 +0200 (MET DST)

> Changes: 
>  * moved binary to /usr/X11R6/bin/xosview-1.3.2, and the post{inst,rm} now      
>    setup/delete a symlink from xosview-1.3.2 to xosview. This way,
>    dpkg doesn't delete the binary after upgrading.

What do you mean by this? I don't understand. Doesn't dpkg remove the old 
package first when upgrading? If not, why would you want several binaries on 
your system of which you use only one? I for one sure wouldn't want there 
to be 10 xosview-versions hanging around on my system after 9 upgrades....

Maarten

_____________________________________________________________________________
|     Maarten Boekhold, Faculty of Electrical Engineering TU Delft,   NL    |
|      [email-masked]   [email-masked]     |
|		          Rave or Die!!!!!!                                 |
-----------------------------------------------------------------------------

---

From: [email-masked] (joost witteveen)
Date: Wed, 24 Jul 1996 12:48:57 +0200 (MET DST)

> package first when upgrading? 

Please take a look at the guidelines, node  Maintainer script arguments and how dpkg does things.

In short, it doesn't delete the old package before upgrading, but
only removes the files that were in the old package, and not any
more in the new packagre _after_ upgrading.

> If not, why would you want several binaries on 
> your system of which you use only one? 

Indeed, you don't understand what is happening here.

> I for one sure wouldn't want there 
 
You should try upgrading from xosview-1.3.2-3 to xosview-1.3.2-4.1, while
you still can. You'll see what I mean.

In fact, Steve first noticed xosview was in the wrong dir (/usr/bin/X11),
and I created immedeately after he reported the problem a new package,
(with xosview in /usr/X11R6/bin) only to see that I had to install
xosview twice now, after an upgrade. I reported a bug against dpkg,
and Ian quickly saw the real problem, but saw it was so deep that
it was difficult to solve in dpkg. I then suggested a way to correct
this (in several emails), and this is where the delay of several
months comes in. Ian didn't read the emails, and after a few months
thought I didn't care about the bug (xosview being in the wrong dir),
and uploaded xosview-1.3.2-4.1. This package you need to install
twice if you upgrade from an older xosview version.
Seeing is believing.

Groetjes,

-- 
joost witteveen
            [email-masked]
          [email-masked]
--
Use Debian/GNU Linux!