1831670 Members
2570 Online
110029 Solutions
New Discussion

Sudo Install error

 
SOLVED
Go to solution
brian_31
Super Advisor

Sudo Install error

There are the error messages from the sudo install

NOTE: The used disk space on filesystem "/opt" is estimated to
increase by 432 Kbytes.
This will leave 202064 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/var" is estimated to
increase by 16 Kbytes.
This will leave 6462112 Kbytes of available user disk space
after the installation.

* Summary of Analysis Phase:
* 1 of 1 filesets had no Errors or Warnings.
* The Analysis Phase succeeded.


* Beginning the Install Execution Phase.
* Filesets: 1
* Files: 13
* Kbytes: 356
* Installing fileset "sudo.sudo-RUN,r=1.6.6" (1 of 1).
ERROR: Unknown owner and/or group for file "/opt/sudo/bin/sudo".
SUID and/or SGID bit was not set.
ERROR: Failed installing fileset "sudo.sudo-RUN,r=1.6.6". Check the
above output for details.
* Running install clean command /usr/lbin/sw/install_clean.
NOTE: tlinstall is searching filesystem - please be patient
NOTE: Successfully completed

* Beginning the Configure Execution Phase.

* Summary of Execution Phase:
ERROR: Corrupt sudo.sudo-RUN,r=1.6.6
ERROR: 1 of 1 filesets had Errors.
ERROR: The Execution Phase had errors. See the above output for
details.

is there any group i have to create before install?

Pl Help

Thanks

Brian
3 REPLIES 3
Asif Sharif
Honored Contributor

Re: Sudo Install error

Ramaprasad N
Honored Contributor

Re: Sudo Install error

Hope the above solution resolves your problem. As an alternative, you may try installing the latest version, 1.6.8. It will install without any errors.

-Ram
Bill Hassell
Honored Contributor
Solution

Re: Sudo Install error

This error has been around for several years and is a problem with the Liverpool package. Here are the details:

The sudo package does not install correctly from the Liverpool archive. This is a known problem with the package. The installation package from http://hpux.connect.org.uk/ has exposed a bug in swinstall. The sudo binary must be set to 4111 but in the INFO file, the owner and group are both 0, rather than the more customary root and root. This produces the error messages:

...

* Installing fileset "sudo.sudo-RUN,r=1.6.6" (1 of 1).
ERROR: Unknown owner and/or group for file "/opt/sudo/bin/sudo".

SUID and/or SGID bit was not set.
ERROR: Failed installing fileset "sudo.sudo-RUN,r=1.6.6". Check the
above output for details.
...

The fix is to manually edit the depot (must use swcopy of the depot file into a local depot). Using vi, cd into the sudo depot, then:

- cd /catalog (ie, /var/sw/depot/catalog)
- cd sudo/sudo-RUN
- vi INFO


Under path: /opt/sudo/bin/sudo, change both owner and group from 0 to root. Now you can reinstall sudo successfully for 11.xx

---------------

Or alternatively, install sudo from the HP site. Works right out of the box and follows the more conventional product tree in /opt:

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111
or
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1123


Bill Hassell, sysadmin