Operating System - Linux
1753768 Members
5669 Online
108799 Solutions
New Discussion юеВ

Re: Linux patches on HP-UX servers

 
Fenglin
Regular Advisor

Linux patches on HP-UX servers

Hi

Is it possible to install linux patches on HP-UX servers? Any way to check?

Thanks
Feng Lin
6 REPLIES 6
Vitaly Karasik_1
Honored Contributor

Re: Linux patches on HP-UX servers

If you mean installing linux packages (for example, RPM packages for CENTOS, Fedora, RHEL,...) on HP-UX - no, it is impossible.

If you mean installing some software from source code with patches - it is doable.

Can you tell us more about your environment and what/why are you trying to do?
Fenglin
Regular Advisor

Re: Linux patches on HP-UX servers

Actually i want to find out whether one of my colleague have accidentally installed some linux patches on one of our HP-UX servers.This is because previously the website hosted does not fail so often on the HP-UX server. Recently,we did linux patching, not sure whether some confusion might have happened.

Would like to know whether there is any way to check. Our environment has both HP-UX and linux servers,fyi.
Matti_Kurkela
Honored Contributor

Re: Linux patches on HP-UX servers

HP-UX patches are packaged into swinstall depot files, which are essentially tar packages whose content must follow certain special rules.

Linux patches are in a distribution-specific package format, usually .rpm. RPM packages are essentially cpio packages, whose content must follow *another* set of special rules.

Basically, the swinstall of HP-UX cannot understand the structure of Linux patch packages and vice versa.

For example, trying to even _list_ the contents of a Linux .rpm using HP-UX swlist command will produce errors like this:

host:/home/username # swlist -s /home/username/hpadu-8.10-4.noarch.rpm
# Initializing...
# Contacting target "host"...
ERROR: tar: /home/username/hpadu-8.10-4.noarch.rpm : This doesn't look like a tar archive
ERROR: tar: /home/username/hpadu-8.10-4.noarch.rpm : Skipping to next file...
ERROR: The INDEX file on the source did not exist or could not be read.
ERROR: "host:/home/username/hpadu-8.10-4.noarch.rpm": An I/O error occurred while performing this task.

Any attempt to run swinstall on a .rpm package will produce similar errors.

Trying to install a HP-UX .depot on Linux will cause a simpler error message:

: not an rpm package (or package manifest)

MK
MK
Vitaly Karasik_1
Honored Contributor

Re: Linux patches on HP-UX servers

>Actually i want to find out whether one of >my colleague have accidentally installed >some linux patches on one of our HP-UX >servers

No, it is not possible.

Of course, it is possible that you or your colleagues changed configuration and/or installed hpux patches/packages on your hpus machines. You can use
- swlist [with sort by install date] for see recently installed software
- "find" utility for see recently modified files [under /etc and so on]
Steven E. Protter
Exalted Contributor

Re: Linux patches on HP-UX servers

Shalom,

Answer: No.

What could you accomplish installing Linux patches on an HP-UX server? Nothing.

I'm going to liberally interpret your post.

If you wanted to use an HP-UX server as an NFS, httpd, or FTP server and use these to do RHEL installs or as patch repositories? This would work for external Linux systems.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Fenglin
Regular Advisor

Re: Linux patches on HP-UX servers

Thanks for the answers.