VMware Cloud Community
ValenciaVMer
Contributor
Contributor
Jump to solution

How to manually remove VIB if "esxcli software vib remove ..." fails?

On a vmware ESXi 6.7.0 Update 1 (Build 10302608):

# esxcli software vib remove --vibname vibpacketname

[LiveInstallationError]

Error in running ['/etc/init.d/vibpacketname', 'stop', 'remove']:

Return code: 1

Output: Service not running

This vib-package isn't working anymore, that's why we want to remove it, but since esxcli tries to stop a non-running process it fails.

(adding -f parameter makes no difference)

Is there any way to remove the package manually?

Tags (2)
Reply
0 Kudos
1 Solution

Accepted Solutions
a_p_
Leadership
Leadership
Jump to solution

Welcome to the Community,

which vib are you trying to remove?

Did you already try to run the command with --force --no-live-install appended to the command line?

André

View solution in original post

2 Replies
a_p_
Leadership
Leadership
Jump to solution

Welcome to the Community,

which vib are you trying to remove?

Did you already try to run the command with --force --no-live-install appended to the command line?

André

Nawals
Expert
Expert
Jump to solution

Follow with below command:

esxcli software vib remove -n vibname

NKS Please Mark Helpful/correct if my answer resolve your query.
Reply
0 Kudos