Skip to main content
Solved

Linux Install cvpkgadd not working

  • 12 February 2021
  • 3 replies
  • 9708 views

Forum|alt.badge.img+4

Hi! 

sometimes we have to install custom packages on Linux VMs because the installation from the CommCell is not working. (idk why). We copy the custom package on the Linux VM and executing the ./cvpkgadd binary. The installation interface starts and everything is fine. Now, I’m trying to do the same thing and only get this message:

root@srv /tmp/cvmedia/unpacked/pkg # ./cvpkgadd
Using update installer /tmp/cvmedia/unpacked/pkg/linux-x8664/LooseUpdates/CU3/linux-glibc2.3-x86_64/installer/newinstall.gz running as /root/.gxsetup/cvpkgadd/newinstall:
root@srv /tmp/cvmedia/unpacked/pkg #

I used 11.20.32 and also 11.20.3 (downloaded from the CV website)

I tried it on three Ubuntu VMs.

Any idea?

Best answer by Gowri Shankar

Use the following permissions on the install binaries and retry the install

 

chmod -R 775 /tmp/cvmedia

chown -R root:root /tmp/cvmedia

 

Rerun ./cvpkgadd as root 

 

The install may also fail if /tmp is mounted with noexec option which would prevent any executables run run on /tmp mount. If this is the case them move the install binaries to any other mount and retry the install.

 

 

View original
Did this answer your question?
80% found this helpful

3 replies

Forum|alt.badge.img+13
  • Vaulter
  • 218 replies
  • Answer
  • February 12, 2021

Use the following permissions on the install binaries and retry the install

 

chmod -R 775 /tmp/cvmedia

chown -R root:root /tmp/cvmedia

 

Rerun ./cvpkgadd as root 

 

The install may also fail if /tmp is mounted with noexec option which would prevent any executables run run on /tmp mount. If this is the case them move the install binaries to any other mount and retry the install.

 

 


Forum|alt.badge.img+4
  • Author
  • Byte
  • 11 replies
  • February 12, 2021

Thanks, chmod did the trick, but I’m not sure why. We used the same installation routine in the past. Anyway, thanks!


Forum|alt.badge.img+1
Dimitri wrote:

Hi! 

sometimes we have to install custom packages on Linux VMs because the installation from the CommCell is not working. (idk why). We copy the custom package on the Linux VM and executing the ./cvpkgadd binary. The installation interface starts and everything is fine. Now, I’m trying to do the same thing and only get this message:

root@srv /tmp/cvmedia/unpacked/pkg # ./cvpkgadd
Using update installer /tmp/cvmedia/unpacked/pkg/linux-x8664/LooseUpdates/CU3/linux-glibc2.3-x86_64/installer/newinstall.gz running as /root/.gxsetup/cvpkgadd/newinstall:
root@srv /tmp/cvmedia/unpacked/pkg #

I used 11.20.32 and also 11.20.3 (downloaded from the CV website)

I tried it on three Ubuntu VMs.

Any idea?

This Resolved my Installation issue, setup worked now, Thanks a lot for your help.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings