OpenSSH-sparc-3.0.2p1.pkg: /usr/local conflicting file

Loomis, Rip GILBERT.R.LOOMIS at saic.com
Fri Dec 21 04:05:44 EST 2001


Since I neglected to CC the list, here's what I
sent to Dominique--

-----Original Message-----
From: Loomis, Rip 
Sent: Thursday, 20 December, 2001 10:09
To: 'Dominique Frise'
Subject: RE: OpenSSH-sparc-3.0.2p1.pkg: /usr/local conflicting file


Dominique--
Unfortunately, this is one of those:
  "Hey Doc, it hurts when I do this..."
  "Well, don't do that anymore..."
situations.

You have a non-standard installation method.  The Solaris
pkgadd doesn't do a perfect job of handling such things,
and the only way that the OpenSSH package could handle all
such possible cases would be to have an ugly preinstall
script that checked for things.  Ben's new-and-improved
packaging routines are cleaner than my old-and-ugly
ones in the older OpenSSH portable versions, and work
better for most cases--and I don't think it's likely that
scripts to work around situations like this will be added.

The correct answer, for future reference, is to answer
"No" to the question about installing "conflicting files".
pkgadd will then ask you if you want to continue--say
yes, and the package should install properly.  If it
*doesn't* at that point, then let the list know.

Hope this helps--

--
Rip Loomis
Senior Systems Security Engineer
SAIC Center for Information Security Technology 

> -----Original Message-----
> From: Dominique Frise [mailto:Dominique.Frise at ci.unil.ch]
> Sent: Thursday, 20 December, 2001 05:24
[[SNIP]]
> The following files are already installed on the system and are being
> used by another package:
> * /usr/local
> 
> * - conflict with a file which does not belong to any package.
> 
> Do you want to install these conflicting files [y,n,?,q] y
[[SNIP]]
> Now the problem I got
> ---------------------
> Before pkg install. /usr/local was a soft link to /local (ln -s /local
> /usr/local).
> After installation the link is gone and a new /usr/local directory is
> created containing only openssh stuff :-(
[[SNIP]] 



More information about the openssh-unix-dev mailing list