If after entering a dnf command into your terminal window you receive the message "Waiting for process to finish" it may be because dnf is locked. To find out if there is a lock enter the command shown in the box.
ls /var/cache/dnf/*pid
If the previous command shows the file metadata_lock.pid then it should be removed using the following command.
sudo rm /var/cache/dnf/metadata_lock.pid
Hopefully, you now have access to dnf without having to wait for the process to finish. Please remember dnf may have been doing something important whereby it would be more advisable to let it finish rather than simply unlocking the process prematurely.
This Website uses cookies to improve Your experience. Feel free to accept or decline Our use of cookies. If You decline We will still use cookies essential to the workings of this Website but there may be somethings that no longer function correctly for You as the User of the Website. If You object to Us using absolutely essential cookies then Our advice would be to leave this Website now to avoid this continuing to happen. If you continue to use this Website for more than about 30 seconds We will take it to mean You have accepted Our use of cookies and the consent box will disappear automatically. Click to read Our full Privacy Policy.
Name | Domain | Purpose | Expiry | Type |
---|---|---|---|---|
wpl_user_preference | hostingorservers.com | WP GDPR Cookie Consent Preferences | 3 months | HTTP |
Name | Domain | Purpose | Expiry | Type |
---|---|---|---|---|
CLID | www.clarity.ms | --- | 1 year | --- |
_clck | hostingorservers.com | --- | 1 year | --- |
_clsk | hostingorservers.com | --- | 1 days | --- |