Yum thinks updates are installed however were not

James Antill james at fedoraproject.org
Tue Jan 6 16:35:15 UTC 2015


On Thu, 2014-12-25 at 12:54 -0500, Roger Pushor wrote:
> Hello
> 
>  
> 
> I'm working with Centos 6.5 - 2.6.32-431.20.3.el6.x86_64 and yum version:
> 
>  
> 
> 3.2.29
> 
>   Installed: rpm-4.8.0-38.el6_6.x86_64 at 2014-12-25 08:21
>   Built    : CentOS BuildSystem <http://bugs.centos.org> at 2014-12-09 18:24
>   Committed: Florian Festi <ffesti at redhat.com> at 2014-11-13
> 
>   Installed: yum-3.2.29-60.el6.centos.noarch at 2014-12-25 08:21
>   Built    : CentOS BuildSystem <http://bugs.centos.org> at 2014-10-16 15:15
>   Committed: Johnny Hughes <johnny at centos.org> at 2014-10-15
[...]
> 
> When I do a yum history I get this:
> 
>  
> 
> Loaded plugins: fastestmirror, security
> 
> ID     | Login user               | Date and time    | Action(s)      |
> Altered
> 
> ----------------------------------------------------------------------------
> ---
> 
>     29 | root <root>              | 2014-12-25 03:19 | E, I, O, U     |  344
> EE
[...] 
> 
> Which seems to indicate the last yum update failed which it did - I was
> running it via ssh and it got to the point where is said "Is this ok [y/N]:"
> and lost my connection with the server before I could respond "y" or "n"

 That wouldn't affect history/etc. ... something else must have gone
wrong. If yum dies before it prints "starting transaction" it's
completely harmless.

> When I do yum history undo 29 I get:

 CentOS doesn't keep old packages, so downgrades will often not work.

> Which would indicate to me yum thinks it installed
> kernel-2.6.32-504.3.3.el6.x86_64 however when I do uname -r I get
> 2.6.32-431.20.3.el6.x86_64

 What does "yum list kernel" say?

> None of the updates got applied, I just used the kernel as the example
> because it was the easiest example I could find.

 You can try one of (in a rough order of preference):

yum distro-sync full
yum history redo reinstall remove 29
yum reinstall '*'
yum-complete-transaction




More information about the Yum-devel mailing list