Stop McAfee on ubuntu station - hgavraham/hgavraham GitHub Wiki

Unable to open '/boot/vmlinuz-5.x.x.x-generic.dpkg-new': Operation not permitted [Need solution without removing antivirus from system]

First of all, I checked the status of the antivirus with the following commands if it is running or not:

# /opt/McAfee/ens/tp/init/mfetpd-control.sh status
# /opt/McAfee/ens/esp/init/mfeespd-control.sh status

If it is running then stop the services with these:

# /opt/McAfee/ens/tp/init/mfetpd-control.sh stop
# /opt/McAfee/ens/esp/init/mfeespd-control.sh stop

Then check the status again if it is stopped or not. If stopped then I started necessary updates and required installations by this:

sudo apt --fix-broken install

Finally, I started the antivirus again by these:

# /opt/McAfee/ens/esp/init/mfeespd-control.sh start
# /opt/McAfee/ens/tp/init/mfetpd-control.sh start

Source