rpm isnt working
[root@server ~]# rpm
-bash: /bin/rpm: cannot execute binary file [root@server ~]# how can I solve it ? Thank you for your help. |
[root@server ~]# yum install rpm*
Loading "fastestmirror" plugin Setting up Install Process Setting up repositories Loading mirror speeds from cached hostfile Reading repository metadata in from local files Excluding Packages in global exclude list Finished Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for rpm-devel to pack into transaction set. rpm-devel-4.3.3-23_nonptl 100% |=========================| 85 kB 00:00 ---> Package rpm-devel.i386 0:4.3.3-23_nonptl set to be updated --> Running transaction check Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: rpm-devel i386 4.3.3-23_nonptl base 3.2 M Transaction Summary ============================================================================= Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 3.2 M Is this ok [y/N]: y Downloading Packages: (1/1): rpm-devel-4.3.3-23 100% |=========================| 3.2 MB 00:00 Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: rpm-devel ######################### [1/1] Installed: rpm-devel.i386 0:4.3.3-23_nonptl Complete! [root@server ~]# rpm -bash: /bin/rpm: cannot execute binary file [root@server ~]# |
Some thing has broken on your system what is the output of
Code:
ldd /bin/rpm |
[root@server ~]# ldd /bin/rpm
not a dynamic executable [root@server ~]# |
Then your rpm file has been replace by something else check using
Code:
file /bin/rpm |
[root@server ~]# file /bin/rpm
/bin/rpm: RPM v3 bin i386 floodkoruma-2.0-1 [root@server ~]# server has internet connection |
All times are GMT -5. The time now is 07:16 AM. |