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 ...produce identical results (for practical purposes). Neither list contains for example amavisd-new, which I'm sure I have installed. Does someone know a way to prevent the "memory loss" from happening again? - Jussi -- Jussi Hirvi * Green Spot Topeliuksenkatu 15 C * 00250 Helsinki * Finland Tel. & fax +358 9 493 981 * Mobile +358 40 771 2098 (only sms) jussi.hirvi at greenspot.fi * http://www.greenspot.fi
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 -aNever 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