Saturday, October 21, 2017

Stop auto yum package update in RHEL7/CentOS 7

[root@localhost ~]# yum update -y
Loaded plugins: fastestmirror, langpacks
Existing lock /var/run/yum.pid: another copy is running as pid 13905.
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory :  26 M RSS (429 MB VSZ)
    Started: Sat Oct 21 06:42:11 2017 - 00:44 ago
    State  : Sleeping, pid: 13905
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory :  26 M RSS (429 MB VSZ)
    Started: Sat Oct 21 06:42:11 2017 - 00:46 ago
     State  : Sleeping, pid: 13905


[root@localhost ~]# ps -ef|grep 14172
root     14172 11949 19 06:44 ?        00:00:03 /usr/bin/python /usr/share/PackageKit/helpers/yum/yumBackend.py update-packages only-trusted;only-download systemd-sysv;219-42.el7_4.4;x86_64;updates&seabios-<…..>
[root@localhost ~]# systemctl -l|grep package
packagekit.service                                                                       loaded active running   PackageKit Daemon

[root@localhost ~]# systemctl disable packagekit.service
[root@localhost ~]# systemctl stop packagekit.service


[root@localhost ~]# ps -ef|grep 14172
root     14282 13993  0 06:47 pts/1    00:00:00 grep --color=auto 14172

5 comments:

  1. Thanks to you for sharing this useful article with us. Do you know that this Land Rover Defender will get an electric engine from Tesla. Specialists of a foreign studio decided to install a fully electric Tesla electric motor under the hood of the British SUV Land Rover Defender. The company ECD Automotive Design, which for a rather long period of time has been engaged in the modernization of the British SUV Land Rover Defender, has introduced another unusual project. This time, the guys decided to equip the iconic Land Rover model with a fully electric Tesla powertrain. It is reported that on a fully charged battery with a capacity of 100 kilowatts * hours, the carzaamin(.)com/blog/honda-civic-for-sale-in-lahore-pakistan/ car can travel a distance of 354 km. The company claims that their version of the Defender SUV also has a five-hour three-phase charge. Thanks

    ReplyDelete
  2. A significant piece of having a vehicle for a long time and keeping it running is the capacity to locate the appropriate auto parts for it. f&i solutions

    ReplyDelete
  3. This is very useful, although it will be important to help simply click that web page link: 2020 Keystone RV Fuzion 410

    ReplyDelete
  4. pet food varieties and even drugs, an ever increasing number of organizations are moving from unbending packages and compartments to adaptable bundling like pockets and sacks. földmunkagép szállítás Europa-Road Kft.

    ReplyDelete
  5. used auto parts I simply want to tell you that I am new to weblog and definitely liked this blog site. Very likely I’m going to bookmark your blog . You absolutely have wonderful stories. Cheers for sharing with us your blog.

    ReplyDelete