Operating System - HP-UX
1830899 Members
2681 Online
110017 Solutions
New Discussion

Packages installed by Depothelper has errors when checked with swinstall

 
SOLVED
Go to solution
sjjung
Occasional Contributor

Packages installed by Depothelper has errors when checked with swinstall

Question
- Are the packages being installed correctly?(uncorrupted, dependencies resolved, Apache runnable)

Purpose
- install Apache

Used software
- depothelper, swverify

Issue
- On checking packages installed by depothelper with swverify, the output shows that installed packages has errors.

Output Messages
- The session which is running depothelper

depothelper -a ia64 -o 11.31 -f apache
==========================================================================================
Package-version Comment Download Install
==========================================================================================
ia64_64-11.31 Package list OK OK
apr-1.7.4 Dependency (01/46) OK OK
apr_util-1.6.3 Dependency (02/46) OK OK
bison-3.8.2 Dependency (03/46) OK OK
bzip2-1.0.8 Dependency (04/46) OK OK
curl-8.2.1 Dependency (05/46) Downloading...


- The other session checking packages with swverify

swverify apr

=======  08/23/23 16:27:50 KST  BEGIN swverify SESSION
         (non-interactive) (jobid=utgis1-0179)

       * Session started for user "root@utgis1".

       * Beginning Selection
       * Target connection succeeded for "utgis1:/".
       * Software selections:
             apr.apr-INC,l=/usr/local/apr,r=1.7.4,a=HP-UX_B.11.31_64
             apr.apr-RUN,l=/usr/local/apr,r=1.7.4,a=HP-UX_B.11.31_64
       * Selection succeeded.


       * Beginning Analysis
       * Session selections have been saved in the file
         "/.sw/sessions/swverify.last".
ERROR:   "utgis1:/":  4 files had errors during this operation.
       * The analysis phase failed for "utgis1:/".
       * Verification had errors.


NOTE:    More information may be found in the agent logfile using the
         command "swjob -a log utgis1-0179 @ utgis1:/".

=======  08/23/23 16:27:52 KST  END swverify SESSION (non-interactive)
         (jobid=utgis1-0179)

 

Troubleshooting
- Downloaded all dependencies of Apache from HP-UX Porting and Archive Center then install 46 packages one by one with swinstall -s [path]
result → former installed packages become corrupted when other packages are installed
- checked log with suggested command "swjob -a log ~~~"

swjob -a log utgis1-0179 @ utgis1:/
=======  08/23/23 16:27:51 KST  BEGIN verify AGENT SESSION (pid=7459)
         (jobid=utgis1-0179)

       * Agent session started for user "root@utgis1". (pid=7459)

       * Beginning Analysis Phase.
       * Target:           utgis1:/
       * Target logfile:   utgis1:/var/adm/sw/swagent.log
       * Reading source for file information.
       *     Configured    apr.apr-INC,l=/usr/local/apr,r=1.7.4
       *     Configured    apr.apr-RUN,l=/usr/local/apr,r=1.7.4
ERROR:   File "/usr/local/apr/doc/CHANGES" should have mtime
         "1681996680" but the actual mtime is "1676913303".
ERROR:   File "/usr/local/apr/doc/CHANGES" should have size "8193"
         bytes but the actual size is "3965" bytes.
ERROR:   File "/usr/local/apr/doc/HPUX.Install" should have mtime
         "1681996680" but the actual mtime is "1676913303".
ERROR:   File "/usr/local/apr/doc/HPUX.Install" should have size "2695"
         bytes but the actual size is "2660" bytes.
ERROR:   File "/usr/local/apr/doc/LICENSE" should have mtime
         "1681996680" but the actual mtime is "1676913303".
ERROR:   File "/usr/local/apr/doc/LICENSE" should have size "17979"
         bytes but the actual size is "21854" bytes.
ERROR:   File "/usr/local/apr/doc/README" should have mtime
         "1681996680" but the actual mtime is "1676913303".
ERROR:   File "/usr/local/apr/doc/README" should have size "5633" bytes
         but the actual size is "4732" bytes.
ERROR:   Fileset "apr.apr-RUN,l=/usr/local/apr,r=1.7.4" had file
         errors.

       * Summary of Analysis Phase:
             Verified      apr.apr-INC,l=/usr/local/apr,r=1.7.4
ERROR:       Verify failed apr.apr-RUN,l=/usr/local/apr,r=1.7.4
ERROR:   1 of 2 filesets had Errors.
       * 1 of 2 filesets had no Errors or Warnings.
ERROR:   The Analysis Phase had errors.  See the above output for
         details.


=======  08/23/23 16:27:52 KST  END verify AGENT SESSION (pid=7459)
         (jobid=utgis1-0179)
1 REPLY 1
pkbin
HPE Pro
Solution

Re: Packages installed by Depothelper has errors when checked with swinstall

Hi @sjjung 

I understand, you would like to install HPUX apache Webserver.

This can be obtained  from below URL ( you need to login to this portal using HPE passport account )
https://myenterpriselicense.hpe.com/cwp-ui/product-download-info/HPUXWSATW512/5.12/sw_free?& 

Kindly note:  depothelper and/or any product downloading from 'hpux.connect.org.uk' portal  is non-hpe supported product and HPE wouldn't provide any techical support on error/issues on these products.

Regarding swverify error, you could try the below command and check if that fixes.
#swverify -F -x fix=true apr

Hope this information has helped you, Please click on the "Thumbs Up/Kudo" icon as a token of appreciation. Also, if this post has helped to solve your issue, consider marking this as an "Accepted Solution".

Thanks,

- I am an HPE Employee
Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo