[CentOS] Yum loses memory when kernel is upgraded

Jim Perrin jperrin at gmail.com
Mon Nov 3 14:18:01 UTC 2008


On Mon, Nov 3, 2008 at 7:51 AM, Jussi Hirvi <greenspot at greenspot.fi> wrote:
> Centos 5.x
>
> Why could this be? After I loaded a xen kernel (by mistake), yum seemed to
> lose its knowledge of my CentOS version. I had that fixed by "yum install
> centos-release" (I had first to fix the repo addresses for this to succeed).
>
> But after that, I noticed that yum did not remember anymore, what packages
> were already installed. It seems that the something happens to the rpm
> databases. I think this is connected to kernel upgrades - that is, every
> time I update the kernel, the rpm databases are spoiled... (or something).
>
> Right now both of these commands:
>    yum list installed
>    rpm --query -a

Never seen this sort of 'forgetfulness'. Could you provide a bit more
detail as to which version of centos5 you're running, and the full
output of 'rpm -V yum centos-release' and the outpuf of 'uname -a'

-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell



More information about the CentOS mailing list