Re: [OpenIndiana-discuss] Upgrade failed

2012-07-18 Thread Milan Jurik
Hi,

CJ Keist píše v st 18. 07. 2012 v 15:10 -0600:
 All,
I was trying upgrade from oi_148 to oi_151a and it failed with message 
 below:
 
 Update Phase 10094/33221 The running system has 
 not been modified. Modifications were only made to a clone of the running 
 system.  This clone is mounted at /tmp/tmp9vJXh7 should you wish to inspect 
 it.
 
 pkg: The requested operation cannot be completed due to invalid package 
 metadata.  Details follow:
 
 The action 'file 2ff6ea65a68bd74b3557ffc6c90cedb08b6255b4 
 chash=815df70d5140e8e8516e7f97fe06472f833f0f20 elfarch=i386 elfbits=32 
 elfhash=41b25b80976e1fbf3cd52d18971a19adf7d77b9c group=smmsp mode=2555 
 owner=root path=usr/lib/sendmail pkg.csize=482068 pkg.size=1068700' in 
 package 
 'pkg://openindiana.org/service/network/smtp/sendmail@8.14.4,5.11-0.151.1.5:20120630T193733Z'
  has invalid attribute(s):
   '/tmp/tmp9vJXh7/usr/lib/sendmail' cannot be installed; 'smmsp' is an 
 unknown or invalid group.
 
 Anyway I think I made the fix and, but it will not let me re-run the update 
 command:
 
 pfexec pkg image-update -v --be-name oi_151a
 
 Saying that oi_151a already exists. How do I remove the be environment so I 
 can re-runt he command?
 

pfexec beadm list

if it is among the listed BEs:

pfexec beadm destroy oi_151a


Also you should look why you have not smmsp group on your system, did
you remove it manually? I believe smmsp (25) is in group by default.

Best regards,

Milan




___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Upgrade failed

2012-07-18 Thread CJ Keist
Milan,
   Thank you! It worked.  Not sure how smmsp got removed, but I added it back 
in and now re-running the upgrade command.  



C. J. Keist Email: 
cj.ke...@colostate.edu
Systems Group Manager  Solaris 10 OS (SAI)
Engineering Network ServicesPhone: 970-491-0630
College of Engineering, CSU  Fax:   970-491-5569
Ft. Collins, CO 80523-1301

All I want is a chance to prove 'Money can't buy happiness'

On Jul 18, 2012, at 3:22 PM, Milan Jurik wrote:

 Hi,
 
 CJ Keist píše v st 18. 07. 2012 v 15:10 -0600:
 All,
   I was trying upgrade from oi_148 to oi_151a and it failed with message 
 below:
 
 Update Phase 10094/33221 The running system has 
 not been modified. Modifications were only made to a clone of the running 
 system.  This clone is mounted at /tmp/tmp9vJXh7 should you wish to inspect 
 it.
 
 pkg: The requested operation cannot be completed due to invalid package 
 metadata.  Details follow:
 
 The action 'file 2ff6ea65a68bd74b3557ffc6c90cedb08b6255b4 
 chash=815df70d5140e8e8516e7f97fe06472f833f0f20 elfarch=i386 elfbits=32 
 elfhash=41b25b80976e1fbf3cd52d18971a19adf7d77b9c group=smmsp mode=2555 
 owner=root path=usr/lib/sendmail pkg.csize=482068 pkg.size=1068700' in 
 package 
 'pkg://openindiana.org/service/network/smtp/sendmail@8.14.4,5.11-0.151.1.5:20120630T193733Z'
  has invalid attribute(s):
  '/tmp/tmp9vJXh7/usr/lib/sendmail' cannot be installed; 'smmsp' is an 
 unknown or invalid group.
 
 Anyway I think I made the fix and, but it will not let me re-run the update 
 command:
 
 pfexec pkg image-update -v --be-name oi_151a
 
 Saying that oi_151a already exists. How do I remove the be environment so I 
 can re-runt he command?
 
 
 pfexec beadm list
 
 if it is among the listed BEs:
 
 pfexec beadm destroy oi_151a
 
 
 Also you should look why you have not smmsp group on your system, did
 you remove it manually? I believe smmsp (25) is in group by default.
 
 Best regards,
 
 Milan
 
 
 
 
 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss