OpenSSH-sparc-3.0.2p1.pkg: /usr/local conflicting file
Dost, Alexander
Alexander.Dost at drkw.com
Fri Dec 21 19:38:06 EST 2001
That won't really help you. The second field in the pkgmap file points to
the type of the file to install. If it tells pkgadd that /usr/local is a
directory it will install a directory and kill your link. You would have to
change it to a symbolic link if this should work. There is no way to tell
pkgadd not to overwrite a link with a directory... The best way (as someone
stated before) is not to install conflicting files and continue without
creating /usr/local anyway.
Alex
> -----Original Message-----
> From: Tim McGarry [SMTP:tim at mcgarry.ch]
> Sent: Thursday, December 20, 2001 19:19
> To: Nicolas Williams; Dominique Frise; openssh-unix-dev at mindrot.org
> Subject: Re: OpenSSH-sparc-3.0.2p1.pkg: /usr/local conflicting file
>
> These types of errors can usually be fixed by replacing the fields in the
> package map that set the owner group permissions to be
> ? ? ?, that way the Solaris packaging system sees no conflict.
>
>
> Tim
> ----- Original Message -----
> From: "Nicolas Williams" <Nicolas.Williams at ubsw.com>
> To: "Dominique Frise" <Dominique.Frise at ci.unil.ch>;
> <openssh-unix-dev at mindrot.org>
> Sent: Thursday, December 20, 2001 5:54 PM
> Subject: Re: OpenSSH-sparc-3.0.2p1.pkg: /usr/local conflicting file
>
>
> > On Thu, Dec 20, 2001 at 11:24:13AM +0100, Dominique Frise wrote:
> > > Hi,
> > >
> > > Trying to install the Solaris package I made after
> configure/compilation
> > > under Solaris 8.
> >
> > [...]
> >
> > > Log of the package installation
> > > -------------------------------
> > > # pkgadd -d OpenSSH-sparc-3.0.2p1.pkg
> > >
> > > The following packages are available:
> > > 1 OpenSSH OpenSSH Portable for Solaris
> > > (sparc) 3.0.2p1
> > >
> > > Select package(s) you wish to process (or 'all' to process
> > > all packages). (default: all) [?,??,q]:
> > >
> > > Processing package instance <OpenSSH> from
> > >
> </local/soft/pub/openssh-3.0.2p1/contrib/solaris/OpenSSH-sparc-3.0.2p1.pkg
> >
> >
> > [...]
> >
> > > 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
> >
> > Here's the problem. Whether a package should include an entry for
> > BASEDIR, I'm not sure(*), but certainly you didn't have to install
> > "conflicting" files, particularly when the only conflict was
> > /usr/local/ and it already existed.
> >
> > [...]
> >
> > > Installation of <OpenSSH> was successful.
> > >
> > > 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 :-(
> >
> > See above.
> >
> > > Thanks for help,
> > >
> > > Dominique
> > > ____________________UNIL - University of Lausanne____________________
> > > Dominique Frise E-mail: Dominique.Frise at ci.unil.ch
> > > UNIL, Centre Informatique Phone: +41 21 692 22 21
> > > Rte de Chavannes 33 Fax: +41 21 692 22 05
> > > CH-1007 Lausanne, Switzerland URL: http://www.unil.ch/ci
> >
> >
> > (*) Actually, packages should not include pkgmap entries for BASEDIR and
> > other relocatable directories - those should either be created by the
> > preinstall script if they did not exist or should be in pkgmap but
> > conditional on particular classes enabled by a checkinstall script.
> >
> > Cheers,
> >
> > Nico
> > --
> > -DISCLAIMER: an automatically appended disclaimer may follow. By
> posting-
> > -to a public e-mail mailing list I hereby grant permission to
> distribute-
> > -and copy this message.-
> >
> > Visit our website at http://www.ubswarburg.com
> >
> > This message contains confidential information and is intended only
> > for the individual named. If you are not the named addressee you
> > should not disseminate, distribute or copy this e-mail. Please
> > notify the sender immediately by e-mail if you have received this
> > e-mail by mistake and delete this e-mail from your system.
> >
> > E-mail transmission cannot be guaranteed to be secure or error-free
> > as information could be intercepted, corrupted, lost, destroyed,
> > arrive late or incomplete, or contain viruses. The sender therefore
> > does not accept liability for any errors or omissions in the contents
> > of this message which arise as a result of e-mail transmission. If
> > verification is required please request a hard-copy version. This
> > message is provided for informational purposes and should not be
> > construed as a solicitation or offer to buy or sell any securities or
> > related financial instruments.
> >
More information about the openssh-unix-dev
mailing list