LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fedora 21 - system updates? (https://www.linuxquestions.org/questions/linux-newbie-8/fedora-21-system-updates-4175545672/)

LQ_burnsrob 06-17-2015 06:22 PM

Fedora 21 - system updates?
 
Ok there are system updates I have been alerted ready to install on the machine. I can open the new gnome software utility and see what they are. But if they don't install correctly where do you look to see what didn't install? Previous versions of Fedora I had used would display failed packages in the software utility this version asks to install with system restart and I have had messages that something didn't install but not what.

I just had an update set of 32 updates install and it failed there was a popup message of failure for something. The message reads "Failed to Update. The offline update failed in an unexpected way.
Detailed errors from the package manager follow: Failed to load system repo: I/O error."

John VV 06-17-2015 06:50 PM

it sounds you have a few issues that need cleaning up first

Code:

su -
yum clean all

----- then run ---------

rpm --rebuilddb


that should clean things up for a normal everyday update to work
Code:

su -
yum update


LQ_burnsrob 06-17-2015 11:29 PM

The software application is now displaying there are no updates required where before rpm --rebuild there were some 20 items listed as requiring updates now there are none. Does anyone know if the Fedora software update process creates logs? I would be curious.

syg00 06-18-2015 12:08 AM

Of course it does. Not that they are that useful in this case. Read the manpage for yum.
Code:

yum history
yum history info <put-id-number-in-here>

If you leave the id-number out it'll give you the last one - probably suffice for you.

John VV 06-18-2015 12:36 AM

also have a look at
/var/log/yum.log

it is in time/data order
newest at the end


you will find on fedora that the GUI's update / "install and remove software"
is basically worthless

the terminal is your FRIEND

and use yum for updates and installing software
see the manual and help pages
Code:

su -
yum --help
====== and the man page =======
man yum

hit the <q> button to exit the manual




BUT BE WARNED !!!

fedora is dropping support for "yum"
they are moving to DNF as the program to use

so in fedora 22 ( currently out) dnf is used


All times are GMT -5. The time now is 07:30 AM.