Hey!
I have installed CentOS on my desktop and have seen the alert in Application Installer that an important update is available.
When I click "Restart & Install" CentOS restarts with an error that the update failed.
Is there a way to install the update via the terminal or to fix this problem?
I have tried # su -c 'yum upgrade' and sudo yum upgrade but no chance.
Thanks in advance.
OS Update installing failure
Re: OS Update installing failure
You should be able to update with yum. Seeing the error messages that yum outputs would help in diagnosing the problem.
-
- Posts: 7
- Joined: 2016/01/22 15:03:45
Re: OS Update installing failure
This is the message which shows me in the Application Installer:
But when I click "Restart & Install" it just restarts my laptop and shows me an error that the important update couldn't be installed.
From the terminal I get the following result:
But when I click "Restart & Install" it just restarts my laptop and shows me an error that the important update couldn't be installed.
From the terminal I get the following result:
Code: Select all
sudo yum update
[sudo] password for ----:
Loaded plugins: fastestmirror, langpacks
base | 3.6 kB 00:00
epel/x86_64/metalink | 27 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
Loading mirror speeds from cached hostfile
* base: mirror.de.leaseweb.net
* epel: mirror.proserve.nl
* extras: mirror.de.leaseweb.net
* updates: mirror.netcologne.de
No packages marked for update
Re: OS Update installing failure
Unfortunately PackageKit and yum are competitors regarding updates, so if you have updated your CentOS installation with yum successfully PackageKit knows nothing about this and is still trying to update your installation.
So if your system is already up-to-date (using yum), remove the file /var/lib/PackageKit/prepared-update to cleanup the ongoing update process using PackageKit.
So if your system is already up-to-date (using yum), remove the file /var/lib/PackageKit/prepared-update to cleanup the ongoing update process using PackageKit.
German speaking forum for Fedora and CentOS: https://www.fedoraforum.de/
-
- Posts: 7
- Joined: 2016/01/22 15:03:45
Re: OS Update installing failure
Thank you for your more professional solution but I have already reinstalled CentOS and the problem is gone.
Thanks again.
Thanks again.