vCenter

 View Only
  • 1.  command not found

    Posted May 27, 2021 07:05 PM

    Hello, 

    I just recently upgraded my VCSA from 6.5 to 6.7 U 3m, I am trying to patch it to U 3n because security issue.

    i log into the shell with root and whatever command i try it alwasy fail stating that command not found.

    i did the su ~ to no avail

    it probably is a super easy think but i am not very versed in shell command so any help sould be apreciated.

    here is the command tried and the output for reference

    root@xxxxxxxxx [ ~ ]# software-packages stage --iso
    bash: software-packages: command not found



  • 2.  RE: command not found

    Posted Jun 02, 2021 01:18 PM

    Seconding this. I'm working with a system administrator who is having a similar problem, and I'm not entirely sure what's causing it. It doesn't help that I can't touch or log into the server myself, I can only see screenshots he shares with me.

    Can anyone think of what might be causing this?



  • 3.  RE: command not found

    Posted Jun 02, 2021 07:51 PM

    The software packages command failed for me, too. I had already run the shell.set and shell commands to enable the bash shell.



  • 4.  RE: command not found

    Posted Jun 02, 2021 07:59 PM

    The update commands have to be entered in the appliance shell, not in a bash shell (https://kb.vmware.com/s/article/2100508).

    André



  • 5.  RE: command not found

    Posted Jun 03, 2021 12:41 PM

    Thanks. Switching back to the appliance shell worked.



  • 6.  RE: command not found

    Broadcom Employee
    Posted Jun 03, 2021 01:13 AM

    Run them in the appliance shell and not in a bash shell.
    Run this from bash : chsh -s /bin/appliancesh root
    Restart the SSH session to VCSA. You will reach the Appliance Shell.
    Run software-packages from here.



  • 7.  RE: command not found

    Posted Jun 03, 2021 12:39 PM

    Thanks, Ajay. Switching back to the appliance shell fixed the command.