Group 4: When programs go nuts
PackageKit doesn't want to install any more
It may happen every now and then that PackageKit doesn't want to install any updates any more for an unknown reason. When you want to update your system with Apper everything seems to run fine initially, but as soon as PackageKit wants to start downloading any potential updates, it simply states “Waiting on other processes” and the package management hangs … and is waiting … and waiting …
This phenomenon occurs preferredly when a component that is used by another program and therefore locked is supposed to be updated. The consequence: PackageKit hangs. In this case it is necessary to get PackageKit unstuck and then manually install the packages.
- Open a text console and log in as root.
- Execute the command killall -HUP packagekitd.
This causes PackageKit to stop the running process. Since nothing has been downloaded, not to mention installed, no damage could be done to the system. Now proceed as follows:
- Open a text console and log in as root.
- Execute the command zypper update.
- When zypper complains that the package database is still locked, just answer the question with yes.
This installs even those components that cannot be installed by PackageKit for some unknown reason. This notably is the case when you need to confirm a license agreement for a package. In this case Apper refuses to continue its work for some reason.
to the top