As i mentioned in "YUM and RPM dose not do any thing!", i have the same problem with rpm.
And nothing happened Code:
[root@armansoft ~]# wget http://mirror.vit.com.tr/mirror/CentOS/6.2/os/x86_64/Packages/yum-3.2.29-22.el6.centos.noarch.rpm |
Quote:
|
Try the following commands and reply (via attachment) the strace files in /tmp. There are a couple of common shared dependencies in each app.
Quote:
|
before you do that, try this.
Quote:
|
Can you run other commands?
Does the terminal behave normally except for this command? |
At this point with both yum and rpm not even errorring
but giving no output I would reinstall but with CentOS 6.3 ( centOS 6.2 is End of life) something is royally messed up |
i don't know what happened but the result is here:
Code:
[root@armansoft apache-tomcat-7.0.25]# tar cvf /tmp/rpmdb.tar /var/lib/rpm/__db.00* Quote:
|
1 Attachment(s)
i attached the result. please remove '.log' from the end of filename.
Quote:
|
Quote:
also, what is the contents of /root/.rpmrc ? |
1 Attachment(s)
I attached both.
Quote:
|
what is the last entry in your yum log?
Quote:
|
A question???
Why are you even trying to back up the rpm database when the program "rpm" is not working ?? if it is not working you can NOT update the rpm database IF yum and rpm ever worked ( i do not know if they ever did ) if they DID in the past work then you did "something" most likely installed something that was VERY incompatible ( rpmforge and random rpms from the net can do this ) if they NEVER worked something is VERY VERY WRONG with the install and the TWO programs needed to fix it are NOT WORKING i would reinstall with CentOS 6.3 seeing as you would have HAD to upgrade cent anyway , with 6.2 now past it's END OF LIFE one thing you can try is this but it is NOT going to fix it Code:
strace rpm at the beginning though will be something that looks like this Code:
execve("/bin/rpm", ["rpm"], [/* 97 vars */]) = 0 |
Code:
[root@armansoft ~]# tail /var/log/yum.log Quote:
|
Yes,they worked in the past. is there any way to upgrade to 6.3 without losing installed program like cvs, tomcat, postgres , ...?
Quote:
|
Quote:
Yeah, I'd upgrade as suggested above. |
All times are GMT -5. The time now is 02:14 AM. |