Mantis - puppet
Viewing Issue Advanced Details
3786 packaging major always 2009-07-29 20:17 2011-04-18 12:34
ktyopencsw  
markp  
normal  
closed  
fixed  
none    
none  
0003786: Can't install CSWpuppet using pkgutil/-y due to file conflict
If I try to install CSWpuppet using "-y", pkgutil 1.5, Solaris 10, I get a message about a file conflict. I can install it manually, but without -y I can't script the installation.
# /opt/csw/bin/pkgutil -y -W /tmp/puppet_installer_working_directory -i CSWpuppet

<..trimmed..>

Installing CSWpuppet-0.24.7,REV=2009.02.25

The following files are already installed on the system and are being
used by another package:
  /etc/opt <attribute change only>
  /var/opt <attribute change only>

Installation of <CSWpuppet> was suspended (interaction required).
Issue History
2009-07-29 20:17 ktyopencsw New Issue
2009-08-11 12:46 glaw Status new => assigned
2009-08-11 12:46 glaw Assigned To => glaw
2009-08-11 12:47 glaw Status assigned => acknowledged
2009-08-11 13:54 glaw Note Added: 0006553
2009-08-11 15:10 ktyopencsw Note Added: 0006555
2010-03-19 11:00 bonivart Note Added: 0007681
2011-03-13 19:59 markp Note Added: 0008896
2011-03-13 20:52 markp Issue Monitored: markp
2011-03-14 12:10 markp Status acknowledged => assigned
2011-03-14 12:10 markp Assigned To glaw => markp
2011-03-14 12:19 markp Status assigned => resolved
2011-03-14 12:19 markp Resolution open => fixed
2011-04-18 12:34 markp Note Added: 0008965
2011-04-18 12:34 markp Status resolved => closed

Notes
(0006553)
glaw   
2009-08-11 13:54   
Hi

I cannot reproduce this. Can you provide more information on the version of Solaris you are using, and what permissions /etc/opt and /var/opt have before the installation of CSWpuppet?

Thanks
(0006555)
ktyopencsw   
2009-08-11 15:10   
I have since devised a workaround, so I don't have the original environments anymore. From memory, it was happening inconsistently: sometimes the packages would install automatically, and sometimes they would require a manual installation. If it happens again, I will look for the specifics you requested.
(0007681)
bonivart   
2010-03-19 11:00   
Since /etc/opt and /var/opt are there from the installation of Solaris it's best to leave them out of our CSW packages to avoid trouble. :-)
(0008896)
markp   
2011-03-13 19:59   
I'm not experiencing this on the last builds by me, if you want to reassign the ticket to me I'll happily close it :)
(0008965)
markp   
2011-04-18 12:34   
Done