Scapdata feed update going in loop

I updated nvt feed using this: sudo greenbone-nvt-sync. After this I tried updating scapdata: sudo greenbone-scapdata-sync

This is giving me the following error and is going in a loop:

Running as root. Switching to user ‘_gvm’ and group ‘_gvm’.
Trying to acquire lock on /var/lib/gvm/feed-update.lock
/var/lib/gvm/feed-update.lock is locked by another process. Waiting 5 seconds
before next try.
Trying to acquire lock on /var/lib/gvm/feed-update.lock
/var/lib/gvm/feed-update.lock is locked by another process. Waiting 5 seconds
before next try.

I have tried multiple solutions for this but nothing works. Please I appreciate the help.

I’m not sure why the lock did not release. You can log out and back in to release the lock, or restart your system.

Personally, I would simply use the sudo greenbone-feed-sync to process all the feeds at once, rather than running each feed specific script.

Also, please take a look at Start Here for existing troubleshooting guidelines and how to post messages in this forum. Screenshots are difficult to read so we kindly request that you post the terminal output in the proper format using backticks ``` {output} ``` before and after the stdout or code content.

Thank you for your response. The problem was resolved when I left the feed to update by itself instead of manually updating the feed status.