Skip to content

Carve Code

A blog about coding

Tag: Linux

Solution to “Another app is currently holding the yum lock; waiting for it to exit”

cat /var/run/yum.pid
<pid>

kill -9 <pid>

To get more details, use

ps -p <pid>

or

ps -ef | grep <pid>
Author pashanhuPosted on April 2, 2022Categories LinuxTags Linux

Check and enable firewalld in Linux

Firewalld is a firewall management solution provided by Linux.

Check if firewalld is running:

sudo firewall-cmd --state
running

Disable firewalld:

sudo systemctl disable --now firewalld

Check its state again:

sudo firewall-cmd --state
not running

Enable firewalld:

sudo systemctl disable --now firewalld
or
sudo /usr/sbin/firewalld
Author pashanhuPosted on August 31, 2019August 31, 2019Categories LinuxTags firewall, firewalld, Linux

Recent Posts

  • Traits and Template Partial Specialisation – 2
  • Traits and Template Partial Specialisation – 1
  • Assert exception during python unit test
  • Resize VirtualBox hard disk capacity
  • Solution to “Another app is currently holding the yum lock; waiting for it to exit”

Recent Comments

    Archives

    • September 2022
    • July 2022
    • June 2022
    • April 2022
    • August 2021
    • November 2020
    • October 2020
    • June 2020
    • May 2020
    • February 2020
    • October 2019
    • September 2019
    • August 2019

    Categories

    • Algorithm
    • Boost
    • C/C++
    • Debug
    • git
    • GitHub
    • Image/Graphics
    • Java
    • Linux
    • Node.js
    • Other
    • Python
    • Qt
    • Swift
    Carve Code Proudly powered by WordPress