关闭PackageKit服务:使用以下命令停止PackageKit服务: sudo systemctl stop packagekit.service 运行上述命令后,再次尝试运行安装命令 sudo 杀死PackageKit进程:如果关闭PackageKit服务不起作用,你可以尝试使用以下命令杀死PackageKit进程: sudo killall -9 packagekitd 运行上述命令后,再次尝试运行安装命令 PackageKit的主要功能包括: 软件包搜索:PackageKit可以根据用户提供的关键字搜索可用的软件包,并提供相应的搜索结果。 软件包安装和卸载:PackageKit可以处理软件包的安装和卸载操作,用户可以通过PackageKit接口进行软件包管理,而无需使用特定的软件包管理工具。 在某些情况下,如果PackageKit未能释放锁定文件,可能会导致其他软件包管理操作无法执行。
The other application is: PackageKit Memory : 37 M RSS ( 82 MB VSZ) Started: Sun Jan 24 16:11:53 2010 - 14:44 ago State : Sleeping, pid: 3053 后来才发现只要把/etc/yum/pluginconf.d/refresh-packagekit.conf改为如下
另一个应用程序是:PackageKit 内存: 28 M RSS (444 MB VSZ) 已启动: Tue Aug 20 15:43:54 2019 - 00:18之前 状态 :睡眠中,进程ID:13189 重点就是 PackageKit 解决问题 三种办法,三选一,不行就换另一种 重启机器 reboot 删除文件再安装 sudo rm -f /var/run/yum.pid 永久禁用 PackageKit 是一个离线更新服务,基本没啥用途,应该永久禁用。
可以看看都安装了哪些具体内容 [root@kvm-demo ~]# yum groupinfo Virtualization Loaded plugins: fastestmirror, refresh-packagekit vios-proxy [root@kvm-demo ~]# yum groupinfo 'Virtualization Tools' Loaded plugins: fastestmirror, refresh-packagekit virt-v2v [root@kvm-demo ~]# yum groupinfo 'Virtualization Client' Loaded plugins: fastestmirror, refresh-packagekit
. ** Found 5 pre-existing rpmdb problem(s), 'yum check' output follows: PackageKit-0.5.8-13.el6.x86_ 64 has missing requires of PackageKit-yum = ('0', '0.5.8', '13.el6') PackageKit-0.5.8-13.el6.x86_64 has missing requires of PackageKit-yum-plugin = ('0', '0.5.8', '13.el6') abrt-addon-ccpp-1.1.13-4.el6
可以看看都安装了哪些具体内容 [root@kvm-demo ~]# yum groupinfo Virtualization Loaded plugins: fastestmirror, refresh-packagekit vios-proxy [root@kvm-demo ~]# yum groupinfo 'Virtualization Tools' Loaded plugins: fastestmirror, refresh-packagekit virt-v2v [root@kvm-demo ~]# yum groupinfo 'Virtualization Client' Loaded plugins: fastestmirror, refresh-packagekit
clean all # yum makecache ##错误原因,没有找到repodata目录,定位repodata Loaded plugins: fastestmirror, refresh-packagekit release=releasever&arch= # yum clean all # yum makecache Loaded plugins: fastestmirror, refresh-packagekit Metadata Cache Created 1.4.2、安装vnc # yum list tiger* Loaded plugins: fastestmirror, refresh-packagekit install tigervnc.i686 tigervnc-server.i686 # yum list tiger* Loaded plugins: fastestmirror, refresh-packagekit
packagekit-backend-aptcc partitionmanager phonon phonon-backend-gstreamer pinentry-gtk2 pinentry-qt4 plymouth-theme-kubuntu-logo plymouth-theme-kubuntu-text polkit-kde-1 printer-applet python-kde4 python-packagekit packagekit-backend-aptcc partitionmanager phonon phonon-backend-gstreamer pinentry-gtk2 pinentry-qt4 packagekit-backend-aptcc partitionmanager phonon phonon-backend-gstreamer pinentry-gtk2 pinentry-qt4 packagekit-backend-aptcc partitionmanager phonon phonon-backend-gstreamer pinentry-gtk2 pinentry-qt4
最后搜了半天,却是没有搜到,点击"more information",却是提示音乐插件默认fedora并未包含(看是因为license的原因): https://fedoraproject.org/wiki/PackageKit_Items_Not_Found and Red Hat Enterprise Linux 5 and 6; you can use the RPM Fusion repositories with tools like yum and PackageKit
[root@h105 ~]# yum clean all Loaded plugins: fastestmirror, refresh-packagekit, security Repository up list of fastest mirrors [root@h105 ~]# yum install php-gd Loaded plugins: fastestmirror, refresh-packagekit
config 修改为SELINUX=disabled C)、分发文件 # sh sync.sh op -r "/etc/selinux/config /etc/selinux/config" 1-12)、关闭PackageKit A)、修改 # vi /etc/yum/pluginconf.d/refresh-packagekit.conf 添加enabled=0 B)、分发 sh sync.sh op -r "/etc/ yum/pluginconf.d/refresh-packagekit.conf /etc/yum/pluginconf.d/refresh-packagekit.conf" 1-13)、设置umask
4 Another app is currently holding the yum lock; waiting for it to exit... 5 另一个应用程序是:PackageKit ID:78607 9 Another app is currently holding the yum lock; waiting for it to exit... 10 另一个应用程序是:PackageKit ID:78607 14 Another app is currently holding the yum lock; waiting for it to exit... 15 另一个应用程序是:PackageKit ID:78607 19 Another app is currently holding the yum lock; waiting for it to exit... 20 另一个应用程序是:PackageKit ID:78607 24 Another app is currently holding the yum lock; waiting for it to exit... 25 另一个应用程序是:PackageKit
php-mysql 的过程 [root@h105 loganalyzer-3.6.6]# yum clean all Loaded plugins: fastestmirror, refresh-packagekit mirrors [root@h105 loganalyzer-3.6.6]# yum install php-mysql Loaded plugins: fastestmirror, refresh-packagekit
解决办法就是运行以下命令:rpm --import /etc/pki/rpm-gpg/RPM* 还有可能你会报这个错: Loaded plugins: fastestmirror, refresh-packagekit The other application is: PackageKit Memory : 56 M RSS (364 MB VSZ) Started: Thu Aug 31 09:46 The other application is: PackageKit Memory : 56 M RSS (364 MB VSZ) Started: Thu Aug 31 09:46
安装中文支持 [root@localhost software]# yum grouplist chinese-support Loaded plugins: fastestmirror, refresh-packagekit
PackageKit 插件:当用户尝试运行一个包含在尚未安装的软件包中的命令时,PackageKit 可以自动提示安装相应软件包。 按需蓝牙服务:蓝牙服务会根据需要自动启动和停止。
Percona-Server-server-56.x86_64 Percona-Server-shared-56.x86_64 Loaded plugins: fastestmirror, refresh-packagekit | 2.1 MB 00:12 Loaded plugins: fastestmirror, refresh-packagekit
daq-2.0.6]# yum install flex-devel.x86_64 bison-devel.x86_64 Loaded plugins: fastestmirror, refresh-packagekit 2.0.6]# [root@h101 daq-2.0.6]# yum -y install bison.x86_64 Loaded plugins: fastestmirror, refresh-packagekit
Client Virtualization Tools [root@kvm-demo ~]# yum grouplist Loaded plugins: fastestmirror, refresh-packagekit
安装keepalivedroot@temp ~# yum -y install keepalived.x86_64 Loaded plugins: fastestmirror, refresh-packagekit