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

1 comment:

  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