You are not logged in.
Pages: 1
I was trying to completely remove another failed VMWare 4 installation, when I saw some lingering vm* files in /usr/bin. So I did "rm vm*". Now I see that "vmstat" is an actual linux file, and not VMWare debris. Is there an easy way to get a binary file back? Or maybe I can use pacman to get another copy of it?
Here is what I did:
[root@arch23 bin]# ls vm*
vmstat vmware-config.pl.old.1 vmware-config.pl~
vmware-config.pl.old.0 vmware-config.pl.rej
[root@arch23 bin]# rm vm*
oops!
Offline
pacman -Qo /usr/bin/vmstat
That should also work on your machine with vmstat deleted.
And now just reinstall procps :
pacman -S procps
Offline
I forgot a general tip : if you install software outside pacman (like vmware), I would suggest putting it into /usr/local or in its own /opt/SOMETHING
Offline
Hi Andy,
I get an error when I run pacman:
[root@arch23 root]# pacman -Qo /usr/bin/vmstat
error: /usr/bin/vmstat is not a file.
Do I ignore that error and run the 2nd command, or I am doing something wrong?
vmstat is the file I deleted.
thx
Offline
ree helped me fix this, he had me enter (via IRC):
pacman -R procps
pacman -S procps
Offline
Just an explanation, the first one should tell you to which package vmstat belongs/belonged. I thought pacman does not consult the actual file for that. It seems I was wrong. You could have just issued the pacman -S command. Just read up on the options in pacman's man page ;-)
Offline
Yep, I need to read more.
I found the package by entering this command ree gave me:
"pacman -Ql |grep vmstat"
Thats a little "L" after the "Q".
thx!
Offline
Pages: 1